This is the mail archive of the gcc-bugs@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]

[Bug bootstrap/56311] gcc/include-fixed/stdio.h: In function ‘_func’: gcc/include-fixed/stdio.h:135:3: error: expected declaration specifiers before ‘__extension__’


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56311

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to devurandom from comment #4)
> Created attachment 29454 [details]
> gcc-4.7.2-inclhack-hpux10_stdio_declarations.patch
> 
> Attached patch fixes the issue for me. Someone with a HP-UX 10 system should
> probably test it, though!
> 
> I added an $ anchor to the end of the match, to exclude the __iob_func()
> line that MinGW seems to use. If there is anything (e.g. a comment) after
> __iob on HP-UX 10, this will obviously fail! (But then it might have created
> bad code before, too.)

Please send the patch to the gcc-patches mailing list (if it's still needed)
and cc the relevant maintainers. John David Anglin is the HPUX guy.

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