Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2005-08-07 05:08:41


> kept it simple:
> ------------------------
> #include <boost/regex.hpp>
>
> int main(int argc,char argv[])
> {
> return 1;
> }
>
> ---------
> So all it does is try to compile the headers for the regex lib.

I can reproduce that on cygwin but not on other gcc platforms. I'm
convinced it's a bug in gcc, submitted with description and test case here:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23271.

However the good news is that the problem does not occur in Boost-1.33, so I
suggest you either upgrade, or else drop the -pedanic option (in which case
Boost-1.32 compiles without even a warning).

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net