This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57699] Disable empty parameter list misinterpretation in libstdc++ headers when !defined(NO_IMPLICIT_EXTERN_C)
- From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Jul 2013 08:41:18 +0000
- Subject: [Bug c++/57699] Disable empty parameter list misinterpretation in libstdc++ headers when !defined(NO_IMPLICIT_EXTERN_C)
- Auto-submitted: auto-generated
- References: <bug-57699-4 at http dot gcc dot gnu dot org/bugzilla/>
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?