|
Boost : |
From: Paul A Bristow (pbristow_at_[hidden])
Date: 2007-08-08 12:23:49
>-----Original Message-----
>From: boost-bounces_at_[hidden]
>[mailto:boost-bounces_at_[hidden]] On Behalf Of Tobias Schwinger
>Sent: 08 August 2007 11:14
>To: boost_at_[hidden]
>Subject: Re: [boost] BOOST_MSVC versus _MSC_VER
>
>Paul A Bristow wrote:
>> Is there still a reason why we need to use BOOST_MSVC? (rather
>> than always using _MSC_VER?)
>
>Yes: Some compilers (e.g. Intel/Win32) pretend to be MSVC by defining
>_MSC_VER. Boost.Config defines BOOST_MSVC for the real MSVC only.
I thought as much...
But if we are suppressing unwanted warnings, do the pretender MSVCs behave in exactly the same way and all need the same treatment
suppressing unwanted warnings?
If this is really true, we need a way of ensuring that BOOST_MSVC is *always defined*, perhaps by calling boost config - though this
seems a bit OTT?
Paul
--- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk