Subject: Re: __STDC__ usage...
To: None <firstname.lastname@example.org>
From: Anders Magnusson <email@example.com>
Date: 02/20/2002 17:36:18
> On Wed, Feb 20, 2002 at 03:46:37PM +0100, Anders Magnusson wrote:
> > Are there any goal to be able to compile things with non-__STDC__ compilers
> > in userspace? The reason I ask is that the construction:
> > #define __GNUC_PREREQ__(x, y) 0
> > #if !__GNUC_PREREQ__(2, 0)
> > blaha...
> > #endif
> > breaks badly when using reiser cpp (which is almost the only non-__STDC__
> > preprocessor). It doesn't accept a macro with parameters in #if statements.
> I think the last time this was brought up was "no, we should be using
> ANSI now".
I vaguely remember something like that, but wasn't sure. In that case
all __STDC__ tests should be removed from userspace also?
> What are you trying to compile with PCC? :-)
Actually, the problem first came up when I added ANSI C support to
Richie's C compiler for 2.11BSD, which also uses reiser cpp.