Just to follow up, will this be fixed in a future version? I believe
that all boost libaries should compile without warnings or errors with
the -pedantic option (indeed it becomes a PITA for me while building
my own code that uses boost::regex).
Richard
On 11/17/06, Richard Dingwall
Ah it works fine without -pedantic.
powerbook:~ richard$ g++ -v Reading specs from /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/specs Configured with: /private/var/tmp/gcc/gcc-4061.obj~8/src/configure --disable-checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061) powerbook:~ richard$
Hope that helps.
On 11/17/06, John Maddock
wrote: Richard Dingwall wrote:
Ran into a strange problem with boost::regex today. I get this just from including boost/regex.hpp:
That is indeed weird: I'm unable to reproduce this (cygwin g++ 3.4.4), and the error is coming from:
BOOST_ASSERT(rep->next.p != 0);
which is surely legal code!
You could try disabling BOOST_ASSERT I guess, or just comment out the offending line. Which g++ version are you using? Also does this occur without the -pedantic option?
John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users