Subject: Re: [boost] [ratio] Test failing on trunk
From: Vicente Botet (vicente.botet_at_[hidden])
Date: 2011-01-04 10:10:56
Vicente Botet wrote:
> John Maddock-3 wrote:
>>>> Boost.ratio is failing with compiler option -pedantic
>>>> Test output: Sandia-darwin-4.0.1 - ratio - ratio_pass / darwin-4.0.1
>>>> Rev 67644 / Tue, 4 Jan 2011 01:50:26 +0000
>>>> ../libs/ratio/test/ratio_ratio/ratio_pass.cpp:24: error: ISO C++ does
>>>> support 'long long'
>>> Shouldn't it be a warning rather than an error?
>> It's a hard error with -pedantic unless you use -Wno-long-long.
>> You can also use boost::long_long_type and boost::ulong_long_type
>> in config.hpp) to avoid this issue.
> I'm using boost::intmax_t and the command included -Wno-long-long.
> Would boost::long_long_type work better?
Hrr. I was wrong. I added
but I guess that I need also
I will try this.
-- View this message in context: http://boost.2283326.n4.nabble.com/ratio-Test-failing-on-trunk-tp3173130p3173707.html Sent from the Boost - Dev mailing list archive at Nabble.com.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk