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 preprocessor/85211] -isystem automatically adds extern "C" to includes


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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to blastrock from comment #2)
> I think it would be nice to mention it in the documentation as it was in
> version 6. And I was hoping for a way to disable it at runtime, recompiling
> gcc seems quite complex...

That seems like their target arm-vita-eabi should have it disabled anyways. 
For all newlib targets, NO_IMPLICIT_EXTERN_C should be defined.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37727 also.

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

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