|
Boost Users : |
Subject: Re: [Boost-users] Xpressive: Compile Error
From: Eric Niebler (eric_at_[hidden])
Date: 2009-07-29 14:49:27
Etienne Philip Pretorius wrote:
> Hello List,
>
> Code:
>
> boost::xpressive::sregex character =
> +_w;
>
> Dies with compiler error:
>
> /usr/include/boost/xpressive/proto/make_expr.hpp:832: error: expected
> nested-name-specifier before numeric constant
> /usr/include/boost/xpressive/proto/make_expr.hpp:832: error: expected
> > before numeric constant
> /usr/include/boost/xpressive/proto/make_expr.hpp:837: error: type/value
> mismatch at argument 3 in template parameter list for template<class
> Tag, class DomainOrA0, class A0, class A1, class A2, class A3, class A4,
> class Void> struct boost::proto::result_of::make_expr
> /usr/include/boost/xpressive/proto/make_expr.hpp:837: error: expected a
> type, got 0
> /usr/include/boost/xpressive/proto/make_expr.hpp:837: error: expected
> initializer before const
>
> It does not matter what the expression is.
>
> Any idea why xpressive is not working?
Please send a *complete* example, along with what compiler and version
you're using.
-- Eric Niebler BoostPro Computing http://www.boostpro.com
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