Subject: lib/6662: #defines `reg' as `register', against all rules of common sense
To: None <email@example.com>
From: None <firstname.lastname@example.org>
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'.
>Synopsis: <curses.h> #defines `reg' as `register', against all rules of common sense
>Responsible: lib-bug-people (Library Bug People)
>Arrival-Date: Sun Dec 27 16:50:01 1998
>Originator: Jim Wise
>Release: -current of November 23
System: NetBSD hithlum.unicast.com 1.3I NetBSD 1.3I (HITHLUM) #4: Mon Dec 21 15:03:31 EST 1998 email@example.com:/home/src/sys/arch/i386/compile/HITHLUM 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...