Don't handle #pragma in cp_lexer_peek_token

Zack Weinberg zack@codesourcery.com
Wed Sep 22 16:52:00 GMT 2004


David Edelsohn <dje@watson.ibm.com> writes:

>> Bootstrapped amd64-linux with no regressions.
>
> 	This should have been bootstrapped on a non-Linux system.

It was: powerpc-darwin.  

This system doesn't define NO_IMPLICIT_EXTERN_C, but it ought to (the
system headers contain explicit extern "C" markers).  I don't have
access to any target which needs implicit extern "C".

> This patch appears to be causing a massive number of C++ failures on
> AIX because __assert now is being mangled.

The first thing I must ask is that you investigate whether defining
NO_IMPLICIT_EXTERN_C solves the problem.  If not, I will need some
preprocessed source.

zw



More information about the Gcc-patches mailing list