Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2003-05-11 11:03:18


"Guillaume Melquiond" <gmelquio_at_[hidden]> wrote in message
news:Pine.GSO.4.44.0305111618460.3434-100000_at_foehn.ens-lyon.fr...
> Hi,
>
> I found a bug in the interval library. but when I corrected it, I stumbled
> over another problem: this bug was ironically what allowed the library to
> be correctly compiled with my version of the compiler (Intel compiler 7.1
> for Linux). When I remove it, the library no longer works...
>
> The default configuration defines BOOST_NO_STDC_NAMESPACE for this
> compiler. So the library expects to find standard C math functions (the
> ones in <cmath>) in the global namespace. Unfortunately, they are where
> they are supposed to be: in the std namespace. So here is my question: is
> this macro really necessary for this compiler?
>
Intel C++ compiler can be embedded in VC++6 IDE and in this configuration
<cmath> puts functions in global namespace.

It may be different for Intel C++ embedded into VC++7 IDE and yet different
for standalone compiler.

/Pavel


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