
Thanks John I've create bug for gcc team http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44611 Adrian -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of John Maddock Sent: Saturday, June 19, 2010 10:15 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Boost regex is breaking math.h's signbit
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. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users