On Sun, Feb 11, 2007 at 09:51:33PM -0800, Paul Eggert wrote: > > Given that there is still discussion and work on GCC for this topic > > anyway[1], I don't think Autoconf should be doing anything just yet.
Yeah, it is just too early. > Both of the solutions that Bruno suggested seem too drastic to me as > well. I hope we can come up with something less intrusive. > > Once GCC 4.3 settles down, perhaps we can work around any remaining > problems with gnulib's wchar module. When GCC implements -fgnu-extern-inline switch (or -fgnu89-extern-inline?), glibc will likely switch to using that switch when building itself and adding gnu_inline attributes to installed headers. > But for this case I'm > inclined to ask, along with Ralf, why GCC 4.3 doesn't apply > fixincludes to the troublesome include files. fixinclude is applied by gcc 4.3, but incorrectly. It edits a few headers by removing extern keyword for __STDC__ >= 199901L from extern inline and for the biggest part it just disables glibc optimizations. The right fix there is to do nothing if __extern_inline macro is already defined (that means the headers are using gnu_inline attribute as appropriate) and otherwise add gnu_inline attribute to all extern inlines. Jakub