Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-01-06 14:18:42


"John Maddock" <john_at_[hidden]> wrote in message
news:02cd01c3d446$f0298d00$96820252_at_fuji...
> > 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.

I didn't realize that.

>
> > 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!)...
>
> John.
>

Yeah, I know it's broken.

Jonathan


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