Boost logo

Boost :

From: Martin Wille (mw8329_at_[hidden])
Date: 2003-06-19 07:05:31


John Maddock wrote:
>>I found a problem with the intel configuration for Linux.
>>For that compiler the macro BOOST_NO_INTRINSIC_WCHAR_T
>>gets defined although the compiler has an intrinsic wchar_t.
>>
>>Neither _WCHAR_T_DEFINED nor _NATIVE_WCHAR_T_DEFINED is
>>defined on Linux. __WCHAR_TYPE__ is defined to int. Never-
>>theless, wchar_t and int are distinct types.
>>
>>The attached patch to intel.hpp fixes this problem for
>>intel 7.1 on Linux. However, I'm not sure wether the change
>>is acceptable in this form. I'm also not sure wether
>>it causes problems with version 7.0 of the compiler.
>
>
> We have endless problems with this compiler: basically you can turn wchar_t
> support on or off on the command line, but there is no way to detect which
> option is used in code. Is wchar_t supported by default with Intel 7.1 on
> linux? If yes then I guess we should change....

Yes, it seems to be the default. The online help doesn't mention
a flag to turn wchar_t support off. Since Linux' "native"
compiler (gcc) has intrinsic wchar_t, it is unlikely that
users would want to turn wchar_t support off to achieve
compatibility.

Regards,
m


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk