[Bug bootstrap/56311] gcc/include-fixed/stdio.h: In function ‘_func’: gcc/include-fixed/stdio.h:135:3: error: expected declaration specifiers before ‘__extension__’
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jul 22 17:53:00 GMT 2017
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.
More information about the Gcc-bugs
mailing list