This is the mail archive of the gcc-help@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]

Re: C++ name mangling in C


On 9 August 2014 20:50,  <daniel@poradnik-webmastera.com> wrote:
> If there is no such option, I would like to open an enhancement to add it. I
> thought about it for some time and looks that this new option should do 3
> things: enable C++ name mangling, enable extern "C" directive and define the
> __cplusplus macro. Any comments on this proposal is also welcome.

So you want GCC to behave like a C++ compiler. It can already do that.

Just use C++.

If you get errors, fix them.


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