Subject: Re: Compiling NetBSD with another compiler.
To: None <email@example.com>
From: David Laight <firstname.lastname@example.org>
Date: 10/13/2007 11:54:49
On Sat, Oct 13, 2007 at 01:01:09PM +0300, Aleksey Cheusov wrote:
> But I still don't understand one aspect.
> Why non-portable way of doing this renaming is used instead of
> just using macro like
> #define func func_new
> for the example above. This may work for all compilers, not only gcc and pcc.
The problem is that the #define has far too wide a scope.
Names of external functions can also be structure element names, and
that would give massive problems with the order of #includes.
David Laight: email@example.com