This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fixincludes for glibc 'inline' non-C99 conformance


On 11/4/06, Richard Guenther <richard.guenther@gmail.com> wrote:
On 11/3/06, Geoffrey Keating <gkeating@apple.com> wrote:
> I believe, but am not certain, that these fixincludes actually fix
> every non-kernel header on this linux system.  The first fix does
> suppress some 'inline' function definitions in some cases; I do not
> feel that the extensive fixincludes required to avoid this would be
> desirable.  (The problem is that there are many files which use
> 'extern inline' and there's no single macro which could be
> altered to substitute 'inline' instead.  Probably when glibc is
> updated to be C99 conformant such a macro will be introduced.)
>
> They do certainly fix the bootstrap.

This didn't fix bootstrap on sles9 which has glibc 2.3.3.  So our daily
SPEC tester is still broken.

This seems to do the trick. Bootstrapped/tested on a glibc 2.4 and a glibc 2.3.3 host.

Ok for mainline?

Richard.

Attachment: fixinc
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]