Subject: Re: TRUE/FALSE defs
To: None <current-users@NetBSD.ORG>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: current-users
Date: 03/06/1997 16:42:09
>> something should be done about this stuff
>> In file included from /usr/include/vm/vm.h:63,
>> from /usr/include/sys/sysctl.h:51,
>> from maindisp.c:2,
>> from main.c:518:
>> /usr/include/vm/vm_param.h:80: warning: `TRUE' redefined
>> /usr/include/curses.h:55: warning: this is the location of the previous definition
>> /usr/include/vm/vm_param.h:81: warning: `FALSE' redefined
>> /usr/include/curses.h:58: warning: this is the location of the previous definition
Is it really appropriate for _any_ of those headers to hijack names as
common and universally application-useful as TRUE and FALSE? (In the
case of curses I don't really expect it to go away; there,
compatability with existing code is too powerful a force.)
der Mouse
mouse@rodents.montreal.qc.ca
7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B