🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Paul David Fardy Mon, 28 Feb 1994 15:29
nn's global.h conflicts with curses.h
#5522
Author: Paul David Fardy
Date: Mon, 28 Feb 1994 15:29
26 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads