Subject: Re: __STDC__ usage...
To: Anders Magnusson <ragge@ludd.luth.se>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-toolchain
Date: 02/20/2002 08:01:31
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".
What are you trying to compile with PCC? :-)
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>