Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2004-01-06 11:00:56


At 04:56 PM 1/5/2004, Jonathan Turkanis wrote:

> 2.Dinkumware defines a macro _DEPRECATED which apparently expands
>to __declspec(deprecated), which Intel doesn't understance. This
>problem comes up in the header <locale> included by quaternion. One
>way to solve the problem is to do something like this:
>
> #if defined(BOOST_NO_DEPRECATED_MODIFIER) &&
>defined(BOOST_DINKUMWARE_STDLIB)
> #define BOOST_DEPRECATED_TEMP _DEPRECATED
> #define _DEPRECATED
> #endif
> #include <locale>
> #ifdef BOOST_DEPRECATED_TEMP
> #define _DEPRECATED BOOST_DEPRECATED_TEMP
> #undef BOOST_DEPRECATED_TEMP
> #endif
>
>Perhaps there is a less verbose, or more general solution; perhaps
>compiler version and Dinkumware version need to be checked.

AFAIK, this problem has been fixed for Intel 8.0. Several other Boost
libraries which used locales were failing, but they are working OK now with
Intel 8.0.

--Beman


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