On Wed, Feb 22, 2012 at 03:55:34PM +0100, Ulrich Weigand wrote:
> However, the macro HAVE_INITFINI_ARRAY is defined anyway; this
> definition is done by an internal "newlib.h" header that is pulled
> in via the <stdio.h> include in GCC's "tsystem.h".  [ This is clearly
> a violation of C namespace rules, but this has been the situation
> for all newlib releases since about 2005 ... ]

Ugh, clearly newlib bug...

> Any suggestions how to proceed with this welcome!  I'd really
> like to see this fixed for 4.7, otherwise the compiler will be
> seriously broken ...

I guess the easiest would be just to rename the gcc HAVE_INITFINI_ARRAY
macro to something else, HAVE_INITFINI_ARRAY_SUPPORT or whatever.

        Jakub

Reply via email to