Boost logo

Boost-Build :

From: Bojan Resnik (resnikb_at_[hidden])
Date: 2006-03-06 11:48:06


> Thanks, it seems ok now.
> --
> Bojan Resnik
>

  Apologies, my mistake - I accidentally compiled with VC7.1.
  In fact, the problem is still there, and it seems that the flag is
placed in the wrong part of if condition:

--------
    if [ MATCH ^([67]\\.) : $(version) ]
    {
       # ... Stripped

        # Improve floating-point accuracy. Otherwise, some of C++ Boost's
        # "math" tests will fail.
        flags msvc.compile CFLAGS : /Op ;
    }
-------

  This will set the /Op flag when the version does not begin with 6
nor 7. It should be the opposite - MSVC6 and 7 support this flag,
while MSVC8 does not.

--
Bojan Resnik

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk