Boost logo

Boost :

Subject: Re: [boost] [ratio] Test failing on trunk
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-01-04 12:27:26


> 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...

John.


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