Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2004-01-06 06:10:38

> 1. The compiler complains that application of 'abs' to a valarray
> variable is ambiguous (maybe getting confused with 'abs' from
> <math.h>.) This problems goes away if all such uses of abs are
> explicitly namespace qualified: ::std::abs(tr).

That call is deliberately unqualified: it relies on ADL to work correctly.

> 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:

Then Intel is broken with <locale> I guess: you define BOOST_NO_STD_LOCALE
(or we could if it's a general problem), or you can patch dinkumwares
headers :-( (just kidding!)...


Boost list run by bdawes at, gregod at, cpdaniel at, john at