[Bug plugins/65227] Plugin headers are unusable when included after inttypes.h
Bert.Wesarg at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Thu Feb 26 21:03:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65227
--- Comment #2 from Bert Wesarg <Bert.Wesarg at googlemail dot com> ---
(In reply to Andrew Pinski from comment #1)
> You should always include gcc-plugin.h first when compiling plugins.
But the documentation in gcc/doc/plugins.texi only reads:
The header @file{gcc-plugin.h} must be the first gcc header to be included.
Thus it does it not required that gcc-plugin.h is the first header at all to be
included. And this doesn't changed between GCC 4.9.2 and the GCC 5 snapshot.
More information about the Gcc-bugs
mailing list