[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: older Linux wchar.h vs. gcc 4.3.x

From: Bruno Haible
Subject: Re: older Linux wchar.h vs. gcc 4.3.x
Date: Wed, 8 Aug 2007 01:38:49 +0200
User-agent: KMail/1.5.4

Eric Blake wrote:
> Can anyone think of a way to detect broken system 
> headers that were relying on 'extern inline', in such a way that we can make 
> the gnulib wrapper headers nuke those troublesome declarations out of the 
> headers?

[1] contains a test case.

How to modify the glibc headers, see the patch that was committed into the
glibc CVS on 2007-03-16.

> Are we stuck with just 
> telling these users that they shouldn't upgrade gcc without also upgrading 
> their headers, because the old headers are broken with the new gcc?

The traditional place to handle situations like this is gcc's 'fixincludes'.
It's better than putting a workaround into gnulib, because it fixes the problem
for all C source code. Unfortunately this issue appears to be low-priority to
the gcc developers.


[1] http://sourceware.org/bugzilla/show_bug.cgi?id=4022

reply via email to

[Prev in Thread] Current Thread [Next in Thread]