
On 05/19/08 18:51, Eric Niebler wrote:
Larry Evans wrote:
On 05/19/08 18:24, Eric Niebler wrote:
The file you attached compiles fine for me against the proto/v4 branch. What version of proto are you using?
This is a record of svn update: <--- cut here --- -*- mode: compilation; default-directory: "~/prog_dev/boost-svn/ro/branches-proto-v4/" -*- Compilation started at Fri May 16 07:24:21
svn update U configure U status/explicit-failures-markup.xml U status/Jamfile.v2 D boost/intrusive/pointer_plus_bit.hpp ... U tools/jam/src/compile.c U tools/jam/src/builtins.c U tools/jam/src U Jamroot U . Updated to revision 45423.
Compilation finished at Fri May 16 07:24:36
Um, does this mean you're using the proto/v4 branch?
Yes.
Are you still having problems, or have they gone away?
They're still there.
Can you send a compiler error and steps to repro? 'Cause it works over here.
The attachment on 1st post has '#if 1' around line 117. That should produce the error. The 2nd post's attachment has '#if 0' and doesn't produce an error. When you run, do you use '#if 1' or not? The complete bjam output of 2nd post's attachment with '#if 1' is attached as bjam.out. The Jamfile in <boost-root>/sandbox/ is attached as Jamfile. -*- mode: compilation; default-directory: "~/prog_dev/boost-svn/ro/branches-proto-v4/sandbox/lje/libs/proto/experiments3/" -*- Compilation started at Mon May 19 20:28:11 bjam composed_xfrm_failure warning: Graph library does not contain optional GraphML reader. note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the note: directories containing the Expat headers and libraries, respectively. warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam. note: to suppress this message, pass "--without-mpi" to bjam. note: otherwise, you can safely ignore this message. Building Boost.Regex with the optional Unicode/ICU support disabled. Please refer to the Boost.Regex documentation for more information (don't panic: this is a strictly optional feature). ...patience... ...found 719 targets... ...updating 2 targets... gcc.compile.c++ ../../../../../bin.v2/sandbox/lje/libs/proto/experiments3/composed_xfrm_failure.test/gcc-4.1/debug/link-static/composed_xfrm_failure.o composed_xfrm_failure.cpp: In function 'int main()': composed_xfrm_failure.cpp:130: error: no match for call to '(type_xfrm_i1_to_i0) (boost::proto::exprns_::expr<boost::proto::tag::terminal, boost::proto::argsns_::term<type_i<1u> >, 0l>, int&, int&)' ./../../../../boost/proto/transform/impl.hpp:87: note: candidates are: typename boost::proto::apply_transform<PrimitiveTransform, Expr&, State&, Data&>::result_type boost::proto::transform<PrimitiveTransform, Base>::operator()(Expr&, State&, Data&) const [with Expr = boost::proto::exprns_::expr<boost::proto::tag::terminal, boost::proto::argsns_::term<type_i<1u> >, 0l>, State = int, Data = int, PrimitiveTransform = boost::proto::when<boost::proto::op::terminal<type_i<1u> >, boost::proto::exprns_::expr<boost::proto::tag::terminal, boost::proto::argsns_::term<type_i<0u> >, 0l> ()(boost::proto::_value)>, Base = boost::proto::transform_base] ../../../../../boost/proto/transform/impl.hpp:94: note: typename boost::proto::apply_transform<PrimitiveTransform, Expr&, const State&, Data&>::result_type boost::proto::transform<PrimitiveTransform, Base>::operator()(Expr&, const State&, Data&) const [with Expr = boost::proto::exprns_::expr<boost::proto::tag::terminal, boost::proto::argsns_::term<type_i<1u> >, 0l>, State = int, Data = int, PrimitiveTransform = boost::proto::when<boost::proto::op::terminal<type_i<1u> >, boost::proto::exprns_::expr<boost::proto::tag::terminal, boost::proto::argsns_::term<type_i<0u> >, 0l> ()(boost::proto::_value)>, Base = boost::proto::transform_base] "/usr/bin/g++-4.1" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -ftemplate-depth-1024 -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -I"../../../../.." -I"../../../../functional/factory" -I"../../../../functional/forward" -I"../../../../lje" -I"../../../../.." -c -o "../../../../../bin.v2/sandbox/lje/libs/proto/experiments3/composed_xfrm_failure.test/gcc-4.1/debug/link-static/composed_xfrm_failure.o" "composed_xfrm_failure.cpp" ...failed gcc.compile.c++ ../../../../../bin.v2/sandbox/lje/libs/proto/experiments3/composed_xfrm_failure.test/gcc-4.1/debug/link-static/composed_xfrm_failure.o... ...failed updating 1 target... ...skipped 1 target... Compilation exited abnormally with code 1 at Mon May 19 20:28:15 project sandbox : requirements <include>lje&&.. <include>functional/forward <include>functional/factory : usage-requirements <include>lje&&.. <include>functional/forward <include>functional/factory : default-build debug ; rule run-utf ( name : other-sources * : requirements * ) #Purpose: # Short-hand for linking with boost_unit_test_framework { return [ run $(name).cpp $(other-sources) $(BOOST_ROOT)/libs/test/build//boost_unit_test_framework/<link>static : : : $(requirements) <define>CONTAINER_SINGLE_OBJ_ID ] ; } #cpreproc test.cpreproc # : test.cpp # ;