
19 Jun
2010
19 Jun
'10
10:15 a.m.
If I include boost/regex.hpp - the builtin c signbit stops being available. I am using my version of gcc 4.5.0 and my version of boost (built and installed with defaults)
Confirmed: and that's seriously annoying, but not our fault, as just: #include <math.h> #include <cmath> is enough to break ::signbit. This is what's happening in our code BTW - regex includes Boost.Hash which include <cmath> which breaks your code. Sorry, but there's no easy solution to this, other than to use std::signbit from <cmath> I guess. John.