[Bug c++/57699] Disable empty parameter list misinterpretation in libstdc++ headers when !defined(NO_IMPLICIT_EXTERN_C)
bernd.edlinger at hotmail dot de
gcc-bugzilla@gcc.gnu.org
Fri Jul 26 08:41:00 GMT 2013
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?
More information about the Gcc-bugs
mailing list