From owner-freebsd-hackers Sun Mar 31 10:55:17 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by hub.freebsd.org (Postfix) with ESMTP id 4565A37B41A; Sun, 31 Mar 2002 10:55:08 -0800 (PST) Received: from fwd09.sul.t-online.de by mailout07.sul.t-online.com with smtp id 16rkRS-0003PC-09; Sun, 31 Mar 2002 20:52:38 +0200 Received: from Magelan.Leidinger.net (520065502893-0001@[217.83.20.61]) by fmrl09.sul.t-online.com with esmtp id 16rkRM-1Xwh0qC; Sun, 31 Mar 2002 20:52:32 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.2/8.12.2) with ESMTP id g2VHqLFL006965; Sun, 31 Mar 2002 19:52:25 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200203311752.g2VHqLFL006965@Magelan.Leidinger.net> Date: Sun, 31 Mar 2002 19:52:21 +0200 (CEST) From: Alexander Leidinger Subject: Re: lang/icc doesn't compile c++ sources To: tlambert2@mindspring.com Cc: nick-lists@netability.ie, hackers@FreeBSD.ORG, ports@FreeBSD.ORG, cy@FreeBSD.ORG In-Reply-To: <200203311104.g2VB4FFL003781@Magelan.Leidinger.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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... ---snip--- (7) netchild@ttyp1 % LD_PRELOAD= icc -c test.cc test.cc: "/usr/local/intel/compiler50/ia32/include/cwchar", line 16: error: the global scope has no "tm" using ::mbstate_t; using ::size_t; using ::tm; using ::wint_t; ^ "/usr/local/intel/compiler50/ia32/include/cwchar", line 19: error: the global scope has no "btowc" using ::btowc; ^ "/usr/local/intel/compiler50/ia32/include/cwchar", line 22: error: the global scope has no "mbrlen" using ::mbrlen; using ::mbrtowc; using ::mbsrtowcs; ^ "/usr/local/intel/compiler50/ia32/include/cwchar", line 22: error: the global scope has no "mbrtowc" using ::mbrlen; using ::mbrtowc; using ::mbsrtowcs; ^ "/usr/local/intel/compiler50/ia32/include/cwchar", line 22: error: the global scope has no "mbsrtowcs" using ::mbrlen; using ::mbrtowc; using ::mbsrtowcs; ^ ---snip--- > (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. Bye, Alexander. -- Where do you think you're going today? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message