Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2002 19:52:21 +0200 (CEST)
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        tlambert2@mindspring.com
Cc:        nick-lists@netability.ie, hackers@FreeBSD.ORG, ports@FreeBSD.ORG, cy@FreeBSD.ORG
Subject:   Re: lang/icc doesn't compile c++ sources
Message-ID:  <200203311752.g2VHqLFL006965@Magelan.Leidinger.net>
In-Reply-To: <200203311104.g2VB4FFL003781@Magelan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203311752.g2VHqLFL006965>