Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-05-07 12:51:15


At 09:21 AM 5/7/2002, Giovanni Bajo wrote:

>Please, be sure to test Comeau also in Microsoft mode. It's a common
usage
>pattern for this compiler that Boost should support flawlessly.

After we switch 100% to the jam-based regression tests, that will be fairly
painless to do since the jam-based tests don't re-do tests unless something
has changed With the current tests, each additional compiler adds quite a
bit to the time, so I won't add it for this release.

> Also,
>looking at Comeau.hpp, I see:
>
>#if (__COMO_VERSION__ <= 4245) || !defined(BOOST_STRICT_CONFIG)
># if defined(_MSC_VER) && _MSC_VER <= 1300
># define BOOST_NO_STDC_NAMESPACE
># define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
># define BOOST_NO_SWPRINTF
># endif
>#endif
>
>This piece of code was probably meant as workarounds when emulating
>Microsoft mode. Now, Peter Dimov discovered lately that _MSC_VER is
defined
>in strict mode too (where e.g. argument dependent lookup obviously work)
>with value 1. So I propose:
>
>// Notice that 4.3 BETA #1 still defines version 4245
>#if (__COMO_VERSION__ <= 4245) || !defined(BOOST_STRICT_CONFIG)
># if defined(_MSC_VER) && _MSC_VER > 1 && _MSC_VER <= 1300
> ... as above...
># endif

Aren't BOOST_NO_STDC_NAMESPACE and BOOST_NO_SWPRINTF related to Comeau's
use of the MS libraries, and so apply even if in strict mode?

--Beman


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