From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28044 invoked by alias); 8 Apr 2008 17:53:56 -0000 Received: (qmail 28031 invoked by uid 22791); 8 Apr 2008 17:53:55 -0000 X-Spam-Check-By: sourceware.org Received: from gw.ac.upc.edu (HELO gw.ac.upc.edu) (147.83.30.3) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 08 Apr 2008 17:53:27 +0000 Received: from localhost (dync-30-217.ac.upc.es [147.83.30.217]) by gw.ac.upc.edu (Postfix) with ESMTP id 12AF46B023C; Tue, 8 Apr 2008 19:53:24 +0200 (CEST) Date: Tue, 08 Apr 2008 18:33:00 -0000 From: Ramon Bertran Monfort To: Jim Wilson Cc: Ramon Bertran Monfort , gcc-help@gcc.gnu.org Subject: Re: Stricter requirements for function main signature Message-ID: <20080408175324.GA4756@rbertran-workstation> References: <20080407164106.GA11348@rbertran-workstation> <47FB95BC.5010005@tuliptree.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK" Content-Disposition: inline In-Reply-To: <47FB95BC.5010005@tuliptree.org> User-Agent: Mutt 1.5.17+20080114 (2008-01-14) X-Editor: VIM - Vi IMproved 7.1 (2007 May 12, compiled Jan 31 2008 12:25:03) X-Operating-System: Debian GNU/Linux Kernel 2.6.24-15-generic (x86_64) Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-04/txt/msg00105.txt.bz2 --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1380 El Tue, Apr 08, 2008 at 08:56:44AM -0700, Jim Wilson ens deleit=E0 amb les = seg=FCents paraules: > Ramon Bertran Monfort wrote: >> I've seen in http://www.gnu.org/software/gcc/gcc-4.3/porting_to.html=20 >> that C++ from version 4.3.0 has stricter requirements for function main= =20 >> signature. How is supposed to work this on a Cell platform?=20 > > Apparently Cell has unusual programming requirements. You might need to= =20=20 > ask on a Cell related mailing list rather than a gcc related mailing=20 > list. > I'll do it, thanks for the suggestion.=20 > -ffreestanding will turn off the ISO C++ required check for the main=20=20 > 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=20 expected. > Jim Salut! --=20 ---------------------------------------------------------------------------= ---- Ramon Bertran Monfort Departament d'Arquitectura de Computa= dors Telefon (+34) 93 4054033/54055 Universitat Politecnica de Catal= unya Fax (+34) 93 4017055 Despatx C6-103/C6-221-9 Campus = Nord e-mail rbertran@ac.upc.edu C. Jordi Girona 1-3 - 08034 Barce= lona http://rbm.pc.ac.upc.edu ---------------------------------------------------------------------------= ---- Not playing --CE+1k2dSO48ffgeK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH+7ETfBCHHutrsdsRAgG0AJ0TV4NzBX4ICLv2RoIsndN7SaEl5gCdEnQV FyigNFBKvpgi/LhpcWSmDq4= =UwRc -----END PGP SIGNATURE----- --CE+1k2dSO48ffgeK--