Subject: lib/6662: #defines `reg' as `register', against all rules of common sense
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/27/1998 15:26:58
	Note: There was a bad value `mediu' for the field `>Priority:'.
	It was set to the default value of `medium'.

>Number:         6662
>Category:       lib
>Synopsis:       <curses.h> #defines `reg' as `register', against all rules of common sense
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 27 16:50:01 1998
>Originator:     Jim Wise
				Jim Wise
>Release:        -current of November 23
System: NetBSD 1.3I NetBSD 1.3I (HITHLUM) #4: Mon Dec 21 15:03:31 EST 1998 i386

	Against all common sense, <curses.h> includes the line

		#define		reg	register

	This is _not_ used within curses.h itself, and breaks any program which
	uses reg as a variable name, or otherwise.
	Try to build a program with a variable named `reg', in this case xwpe-1.5.13a
	Nuke this line, make sure nothing obscurely depends on it...