https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85211
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |4225 Target| |aix Target Milestone|--- |9.0 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed in GCC 9 by r9-4201. Also fixed in GCC 9 (r9-1648), the default is the opposite in the sense you need to define SYSTEM_IMPLICIT_EXTERN_C in the target if there is implicit extern "C" instead of defining NO_IMPLICIT_EXTERN_C which implied the opposite. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4225 [Bug 4225] documentation about CPLUS_INCLUDE_PATH vs. system headers incomplete