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 c++/57699] Disable empty parameter list misinterpretation in libstdc++ headers when !defined(NO_IMPLICIT_EXTERN_C)


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

--- Comment #7 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Jonathan Wakely from comment #6)
> (In reply to Bernd Edlinger from comment #5)
> > Well, if a portable O/S like eCos would need such special treatment,
> 
> eCos doesn't need it

Of course. In that case, it would be much better, to be able to *disable*
the implicit extern "C" feature for X86 and ARM and whatever architecture,
just because I certainly know it when I call configure.

To my surprise a cross compiler for --target=arm-eabi has a completely
different syntax in the system headers than one for --target=i686-pc-linux-gnu.

In my eyes, configuring that somewhere in gcc/config is awkward in that
use case. Do you see my point?


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