From owner-freebsd-ports Sun Mar 31 12:34:45 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by hub.freebsd.org (Postfix) with ESMTP id 656F437B41D; Sun, 31 Mar 2002 12:34:30 -0800 (PST) Received: from fwd11.sul.t-online.de by mailout04.sul.t-online.com with smtp id 16rlj5-0006gV-03; Sun, 31 Mar 2002 22:14:55 +0200 Received: from spirit.zuhause.stoert.net (320050403952-0001@[80.128.114.220]) by fmrl11.sul.t-online.com with esmtp id 16rlj3-0zE8AKC; Sun, 31 Mar 2002 22:14:53 +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 g2VKEpR09260; Sun, 31 Mar 2002 22:14:52 +0200 (CEST) (envelope-from corecode@corecode.ath.cx) Received: (from corecode@localhost) by elevation.zuhause.stoert.net (8.11.6/8.11.6) id g2VKEkL94063; Sun, 31 Mar 2002 22:14:46 +0200 (CEST) (envelope-from corecode) Date: Sun, 31 Mar 2002 22:14:42 +0200 From: "Simon 'corecode' Schubert" To: Alexander Leidinger Cc: tlambert2@mindspring.com, nick-lists@netability.ie, hackers@FreeBSD.ORG, ports@FreeBSD.ORG, cy@FreeBSD.ORG Subject: Re: lang/icc doesn't compile c++ sources Message-Id: <20020331221442.038bf9ce.corecode@corecode.ath.cx> In-Reply-To: <200203311752.g2VHqLFL006965@Magelan.Leidinger.net> References: <200203311104.g2VB4FFL003781@Magelan.Leidinger.net> <200203311752.g2VHqLFL006965@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="=.uaiGV:E8EK(5n'" 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 --=.uaiGV:E8EK(5n' Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit On Sun, 31 Mar 2002 19:52:21 +0200 (CEST) Alexander Leidinger wrote: > On 31 Mär, I wrote: > > >>> "/usr/include/stdlib.h", line 57: error: invalid combination of type specifiers > >>> typedef _BSD_WCHAR_T_ wchar_t; > >> > >> This seems to be a problem with the wchar_t being intrinsic, > >> and defined anyway for the compiler. > > > > So we just have to "#if !defined(__ICC)" it? Hmm, I have to test this, > > perhaps tomorrow. > > I had time to do it now, and yes, this fixes theses errors > (http://www.leidinger.net/FreeBSD/icc.src:include.diff), but there are > other errors, which seem to be a result of an incomplete wchar > implementation... that's right. but as terry said, it seems to be a bad idea to use some headers that don't fit the libs. i tried to patch the headers coming with 4.4-S and lang/gcc30 (because the one from the base system doesn't provide a proper c++ stl implementation) i've managed to fix several errors but now i'm hanging at this message, and i don't really know how to proceed: icc -I./include -I/usr/include -I/usr/local/lib/gcc-lib/i386-portbld-freebsd5.0/ 3.0.4/include/g++ -I /usr/local/lib/gcc-lib/i386-portbld-freebsd5.0/3.0.4/inclu de/g++/i386-portbld-freebsd5.0 -c e.cc e.cc: "/usr/local/lib/gcc-lib/i386-portbld-freebsd5.0/3.0.4/include/g++/bits/basic_str ing.h", line 860: error: no instance of constructor "std::basic_string<_CharT, _ Traits, _Alloc>::_Alloc_hider::_Alloc_hider [with _CharT=char, _Traits=std::char _traits, _Alloc=std::allocator]" matches the argument list argument types are: (char *, std::allocator) : _M_dataplus(_S_empty_rep()._M_refcopy(), _Alloc()) { } ^ detected during instantiation of "std::basic_string<_CharT, _Traits, _ Alloc>::basic_string() [with _CharT=char, _Traits=std::char_traits, _Alloc =std::allocator]" $ { echo '#include '; echo '#include '; echo 'std::string test;'; } > e.cc my first tries for the patched include files can be found here: just extract and set this include dir before any other, (see above command line). [snipsnap error msgs] > > (I'm waiting a little bit to see if I need to do something for the C++ > > problem). > > I think this is not a problem which should get solved in the port, so I > commit the new portrevision soon. actually i think this should be saved in the port ;] but this will take some time until there is a proper fix, so there is no real reason to hold back this one current patch (not the one for the headers). cheerz simon -- /"\ http://corecode.ath.cx/ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.uaiGV:E8EK(5n' Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) iD8DBQE8p241r5S+dk6z85oRAtnCAJ9ewHZuQJhzHlZcwIGm0kZA/FoupACg4fYb qHxHlVDVFik8J3vwRZ/ILLY= =p/3I -----END PGP SIGNATURE----- --=.uaiGV:E8EK(5n'-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message