Does g++ really need to compile main, if c++ code is involved?
Florian Weimer
fw@deneb.enyo.de
Fri Mar 21 07:48:00 GMT 2014
* Eric Wolf:
> We have a big bunch of C and C++ code in our product and compile
> main with g++, because I read in
>
> http://www.parashift.com/c++-faq/overview-mixing-langs.html
>
> that this is needed.
This is target-dependent. For example, GNU/Linux generally doesn't
have a problem anymore with a C main and C++ code elsewhere.
More information about the Gcc-help
mailing list