Article View: news.software.nn
Article #5522nn's global.h conflicts with curses.h
From: Paul David Fardy
Date: Mon, 28 Feb 1994 15:29
Date: Mon, 28 Feb 1994 15:29
26 lines
1443 bytes
1443 bytes
A conflict between nn's global.h and the system's curses.h produced syntax errors when attempting to build nn on both ULTRIX and OSF/1 platforms. Defines in global.h such as: #define NL '\n' #define BS '\b' conflict with curses.h declarations: extern bool BS; extern char *NL; I found it easier to do global substitutions across the nn sources than to figure out the conditionals that include or exclude the declarations in curses.h. I have found the same problem with other software as well. It appears to me that this namespace conflict must appear on many platforms. What is the correct fix for these syntax errors? Paul Fardy Computing and Communications Memorial University of Newfoundland pdf@morgan.ucs.mun.ca
Technical Details
Message-ID:
<2kt2kj$j7u@coranto.ucs.mun.ca>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!darwin.sura.net!howland.reston.ans.net!torn!csd.unb.ca!coranto.ucs.mun.ca!planchet!pdfShow Full Headers
Complete Article Headers
Message-ID: <2kt2kj$j7u@coranto.ucs.mun.ca> Subject: nn's global.h conflicts with curses.h Date: Mon, 28 Feb 1994 15:29:23 +0000 From: pdf@planchet (Paul David Fardy) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!darwin.sura.net!howland.reston.ans.net!torn!csd.unb.ca!coranto.ucs.mun.ca!planchet!pdf Newsgroups: news.software.nn Organization: Memorial University of Newfoundland Lines: 26 NNTP-Posting-Host: planchet.ucs.mun.ca Keywords: define, include, NL, curses, nn