|
Boost Testing : |
Subject: Re: [Boost-testing] -pedantic and -Wno-long-long
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2011-01-27 02:32:05
----- Original Message -----
From: "John Maddock" <boost.regex_at_[hidden]>
To: "Running Boost regression tests" <boost-testing_at_[hidden]>
Sent: Wednesday, January 26, 2011 10:07 AM
Subject: Re: [Boost-testing] -pedantic and -Wno-long-long
> >Some testers use to add -pedantic to the cxxflags on GCC based compilers as
>>gcc, pathscale and darwin.
>>
>>As a lot of libraries use long long inside his code, shouldn't these
>>testers add also -Wno-lon-long ?
>
> At least in theory as long as you're using boost::long_long_type and
> boost::ulong_long_type in from config.hpp then this shouldn't cause you a
> problem.
Oh, I remember this. The issue was that boost::intmax_t and boost::uintmax_t don't use this workaround on GCC. Can this be changed, that is, can boost::intmax_t uses boost::long_long_type when std::intmax_t is a typedef for long long?
Best,
Vicente