
----- Original Message ----- From: "John Maddock" <boost.regex@virgin.net> To: <boost@lists.boost.org> 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