
4 Jan
2011
4 Jan
'11
12:11 p.m.
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 not 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 (defined in config.hpp) to avoid this issue. HTH, John.