Subject: Re: Compiling NetBSD with another compiler.
To: None <email@example.com>
From: Joerg Sonnenberger <firstname.lastname@example.org>
Date: 10/13/2007 17:10:34
On Sat, Oct 13, 2007 at 06:03:28PM +0300, Aleksey Cheusov wrote:
> find /usr/obj/destdir/usr/include -type f |
> xargs egrep 'define[[:space:]]*[[:lower:]][[:lower:]_]+' |
> wc -l
Most of that are kernel headers. A bunch of other cases are historic
accidents. zlib uses it for symbol renaming. The actual violations
visible to normal programs are a small part of that.
> > Note that the headers are allowed to define a
> > macro for fgetc, but you can undefine it if you really want to use
> > it e.g. as member of a struct.
> fgetc doesn't need renaming.
It doesn't at the moment. That might change. For the ctype macros it
would make sense as they have run out of bits.