|
Boost : |
Subject: Re: [boost] [ratio] Test failing on trunk
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2011-01-04 12:34:01
----- Original Message -----
From: "John Maddock" <boost.regex_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, January 04, 2011 6:27 PM
Subject: Re: [boost] [ratio] Test failing on trunk
>> I'm using boost::intmax_t and the command included -Wno-long-long.
>>
>> Would boost::long_long_type work better?
>
> Ah, if you really need intmax_t then you should use it, just in case it's
> longer than a long long (unlikely, but you never know). The trouble is,
> boost::intmax_t may just be a synonym for std::intmax_t which may or may not
> have the warning suppressed :-(
>
> So maybe -Wno-long-long (on Darwin as well as GCC) may be the correct
> approach...
It works on gcc with
<toolset>gcc:<cxxflags>-Wextra
<toolset>gcc:<cxxflags>-Wno-long-long
<toolset>gcc:<cxxflags>-pedantic
So I will give a try to
<toolset>darwin:<cxxflags>-Wextra
<toolset>darwin:<cxxflags>-Wno-long-long
<toolset>darwin:<cxxflags>-pedantic
Thanks,
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk