|
Boost Users : |
From: Richard Dingwall (rdingwall_at_[hidden])
Date: 2006-11-17 05:09:16
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 <john_at_[hidden]> 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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
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