Stricter requirements for function main signature
Ramon Bertran Monfort
rbertran@ac.upc.edu
Tue Apr 8 18:33:00 GMT 2008
El Tue, Apr 08, 2008 at 08:56:44AM -0700, Jim Wilson ens deleità amb les següents paraules:
> 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.
>
I'll do it, thanks for the suggestion.
> -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.
>
Okz, thanks again. Using this flag I can compile and the program runs as
expected.
> Jim
Salut!
--
-------------------------------------------------------------------------------
Ramon Bertran Monfort Departament d'Arquitectura de Computadors
Telefon (+34) 93 4054033/54055 Universitat Politecnica de Catalunya
Fax (+34) 93 4017055 Despatx C6-103/C6-221-9 Campus Nord
e-mail rbertran@ac.upc.edu C. Jordi Girona 1-3 - 08034 Barcelona
http://rbm.pc.ac.upc.edu
-------------------------------------------------------------------------------
Not playing
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20080408/5aa2ce60/attachment-0001.sig>
More information about the Gcc-help
mailing list