Subject: Re: Fix for PR#23300 (cpp and -Wtraditional)
To: None <>
From: Christos Zoulas <>
List: tech-toolchain
Date: 12/15/2003 22:42:41
In article <>,
James Chacon <> wrote:
>I tend to agree with the logic in the PR as #error was used before C89 as
>a way to stop the pre-processor even though it wasn't a valid token. Doing
>what gcc suggests gives you the opposite behavior which probably isn't
>expected. Therefore #error should probably be excluded from this warning.
>Anyone have a problem with the attached patch?

Yes, this is a slippery slope. What are you planning to do with the #elif
warning for example?