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 [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message