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.