[PATCH] Fix bootstrap issues with C++

Michael Matz matz@suse.de
Tue Jun 1 13:47:00 GMT 2010


Hi,

On Tue, 1 Jun 2010, Richard Guenther wrote:

> Bootstrapped on x86_64-unknown-linux-gnu with C++ and C, applied
> as obvious.

Uhm, and we have decided already to clutter our sources with 
ugly workarounds like this ...

> + #if GCC_VERSION >= 4000 && HAVE_DESIGNATED_INITIALIZERS
>     static bool reinit;
> + #endif

... or this ...

> Index: opts.c
> ===================================================================
>   
>       case OPT_pedantic_errors:
> !       global_dc->pedantic_errors = flag_pedantic_errors = pedantic = 1;
> --- 2182,2189 ----
> !       flag_pedantic_errors = pedantic = 1;
> !       global_dc->pedantic_errors = 1;

?  Somehow I must have missed this decision.


Ciao,
Michael.



More information about the Gcc-patches mailing list