From owner-freebsd-ports Tue Apr 2 6:33: 7 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by hub.freebsd.org (Postfix) with ESMTP id 3E06837B405; Tue, 2 Apr 2002 06:32:55 -0800 (PST) Received: from fwd06.sul.t-online.de by mailout11.sul.t-online.com with smtp id 16sPL9-0003BE-03; Tue, 02 Apr 2002 16:32:51 +0200 Received: from spirit.zuhause.stoert.net (320050403952-0001@[217.82.54.190]) by fmrl06.sul.t-online.com with esmtp id 16sPL2-1By9g0C; Tue, 2 Apr 2002 16:32:44 +0200 Received: from elevation.zuhause.stoert.net (elevation.zuhause.stoert.net [192.168.66.46]) by spirit.zuhause.stoert.net (8.11.6/8.11.6) with ESMTP id g32EWeR26328; Tue, 2 Apr 2002 16:32:40 +0200 (CEST) (envelope-from corecode@corecode.ath.cx) Received: (from corecode@localhost) by elevation.zuhause.stoert.net (8.11.6/8.11.6) id g32EWd830121; Tue, 2 Apr 2002 16:32:39 +0200 (CEST) (envelope-from corecode) Date: Tue, 2 Apr 2002 16:32:36 +0200 From: "Simon 'corecode' Schubert" To: Alexander Leidinger Cc: tlambert2@mindspring.com, nick-lists@netability.ie, hackers@FreeBSD.ORG, ports@FreeBSD.ORG, flynn@energyhq.homeip.net Subject: Re: lang/icc doesn't compile c++ sources Message-Id: <20020402163236.6e8a6705.corecode@corecode.ath.cx> In-Reply-To: <200204021231.g32CV0Rj092795@Magelan.Leidinger.net> References: <20020402115201.4d85ed66.corecode@corecode.ath.cx> <200204021231.g32CV0Rj092795@Magelan.Leidinger.net> X-Mailer: Sylpheed version 0.7.4claws (GTK+ 1.2.10; i386-portbld-freebsd4.5) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=.aPX'7rlR(t(0AE" X-Sender: 320050403952-0001@t-dialin.net Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=.aPX'7rlR(t(0AE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 2 Apr 2002 14:30:59 +0200 (CEST) Alexander Leidinger wrote: > On 2 Apr, Simon 'corecode' Schubert wrote: > > >> Do you have test cases where the removal of icc's includes and the use > >> of "-X -I/usr/include/g++ -I/usr/include" fails? > > > > yes. just as simple as that: > > > > #include > > std::string test; > > > > it also fails after fixing the wchar_t thingy. > > the headers from the base system don't use namespaces correctly... > > "test.cc", line 4: error: name followed by "::" must be a class or namespace name > std::string test ="Hello World"; > ^ > > So we have to fix the base system headers in this regard and discard > Intels C++ headers? > > What about these errors? > ---snip--- > test.cc: > "/usr/include/g++/std/bastring.h", line 142: error: too few arguments for class template "reverse_iterator" > typedef ::reverse_iterator reverse_iterator; > ^ > > "/usr/include/g++/std/bastring.h", line 143: error: too few arguments for class template "reverse_iterator" > typedef ::reverse_iterator const_reverse_iterator; > ---snip--- all these are because the headers from the base system are not standards conformant. i don't think fixing these headers will be an easy task. tomorrow i'll check out if i can somehow patch the icc headers and/or continue to patch the headers coming from gcc 3.0.4 cheerz simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.aPX'7rlR(t(0AE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) iD8DBQE8qcEHr5S+dk6z85oRAtnzAJ48WJufdhILrVtmwwVeg2x3pwNx7ACgxMxQ QLYZOJLBarTEAgMhNV1xnAw= =KGuN -----END PGP SIGNATURE----- --=.aPX'7rlR(t(0AE-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message