Stricter requirements for function main signature

Jim Wilson wilson@tuliptree.org
Tue Apr 8 16:34:00 GMT 2008


Ramon Bertran Monfort wrote:
> I've seen in http://www.gnu.org/software/gcc/gcc-4.3/porting_to.html that 
> C++ from version 4.3.0 has stricter requirements for function main 
> signature. How is supposed to work this on a Cell platform? 

Apparently Cell has unusual programming requirements.  You might need to 
ask on a Cell related mailing list rather than a gcc related mailing list.

-ffreestanding will turn off the ISO C++ required check for the main 
type signature, but it will also do other things that you may not want.

Jim



More information about the Gcc-help mailing list