
On 04/04/2007 02:18 AM, Eric Niebler wrote:
<< Requirements >>
Tested with Boost RC 1.34 and HEAD.
Feedback is most welcome.
This just a headsup. With the attached, I get: gcc.compile.c++ ../../../../../../bin.v2/sandbox/lje/libs/xpressive/proto/example/gcc-4.1/debug/class_var_incomplete_test.o ../../../../../proto/boost/xpressive/proto/expr.hpp: In instantiation of 'boost::proto::expr<boost::proto::tag::terminal, boost::proto::args1<inp<inp_0> >, 1l>': class_var_incomplete_test.cpp:49: instantiated from 'inp<inp_0>' class_var_incomplete_test.cpp:63: instantiated from here ../../../../../proto/boost/xpressive/proto/expr.hpp:105: error: 'boost::proto::expr<Tag, Args, 1l>::arg0' has incomplete type class_var_incomplete_test.cpp:39: error: declaration of 'struct inp<inp_0>' "/usr/bin/g++-4.1" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -DBOOST_ALL_NO_LIB=1 -I"../../../.." -I"../../../../../.." -I"../../../../../proto" -c -o "../../../../../../bin.v2/sandbox/lje/libs/xpressive/proto/example/gcc-4.1/debug/class_var_incomplete_test.o" "class_var_incomplete_test.cpp" What's odd is if proto::terminal is *not* used, it compiles OK *or* if non-nested inp_0_val is declared, it compiles OK.