[Bug preprocessor/85211] -isystem automatically adds extern "C" to includes

2018-04-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85211 Jonathan Wakely changed: What|Removed |Added Keywords||documentation

[Bug preprocessor/85211] -isystem automatically adds extern "C" to includes

2018-04-09 Thread blastrock at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85211 --- Comment #7 from blastrock at free dot fr --- You are right, my bad. I managed to build it by adding the definition in gcc/config/arm/arm.h . My initial suggestion was to mention that behavior in the documentation, but if you think it is not

[Bug preprocessor/85211] -isystem automatically adds extern "C" to includes

2018-04-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85211 --- Comment #6 from Jonathan Wakely --- (In reply to blastrock from comment #5) > So is this a regression since #37727 was fixed? PR 37727 is not fixed, it's still NEW.

[Bug preprocessor/85211] -isystem automatically adds extern "C" to includes

2018-04-05 Thread blastrock at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85211 --- Comment #5 from blastrock at free dot fr --- I tried using their recipe to rebuild gcc. The configure line is the following: $ /media/usb1/vitasdkbuild/build/gcc-final-prefix/src/gcc-final/configure --build=x86_64-linux-gnu

[Bug preprocessor/85211] -isystem automatically adds extern "C" to includes

2018-04-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85211 --- Comment #4 from Jonathan Wakely --- (In reply to blastrock from comment #2) > And I was hoping for a way to disable it at runtime, recompiling > gcc seems quite complex... That's not possible.

[Bug preprocessor/85211] -isystem automatically adds extern "C" to includes

2018-04-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85211 --- Comment #3 from Andrew Pinski --- (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

[Bug preprocessor/85211] -isystem automatically adds extern "C" to includes

2018-04-05 Thread blastrock at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85211 --- Comment #2 from blastrock at free dot fr --- 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...

[Bug preprocessor/85211] -isystem automatically adds extern "C" to includes

2018-04-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85211 --- Comment #1 from Jonathan Wakely --- This behaviour is target-dependent. If the target defines NO_IMPLICIT_EXTERN_C then it doesn't happen.