Boost logo

Boost Users :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-06-17 08:34:02


Was this the first time you compiled boost::tuple with gcc-3.4 ? I
recognise the error from the vacpp port and I added a vacpp specific
workaround. It would surprise me if gcc-3.4 would need the same
workaround. Another possibility is that I broke the gcc-3.4. build but I
verified that all changes are in an #ifdef specific to the vacpp
compiler IMHO.

Jrgen Hunold wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi !
>
> After updating my cvs snapshot at 12.15 , the tuple library is broken
> for gcc 3.4.0.
> My own program stopped compiling and when going to libs/tuple/test and
> running bjam I get:
>
> In file included
> from /ive/hunold/packages/boost/boost/tuple/tuple.hpp:38,
> from ../../../libs/tuple/test/tuple_test_bench.cpp:19:
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp: In
> function `typename boost::tuples::access_traits<typename
> boost::tuples::element<N, boost::tuples::cons<HT, TT>
>
>>::type>::non_const_type boost::tuples::get(boost::tuples::cons<HT,
>
> TT>&)':
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212:
> error: `get_class' undeclared (first use this function)
>
> (full output of failing tests attached)
>
> So I think this is really something which gcc 3.4.0 does no handle.
>
> Yours,
>
> Jrgen
>
> - --
> * Dipl.-Math. Jrgen Hunold ! Institut fr Verkehrswesen, Eisenbahnbau
> * voice: ++49 511 762-2529 ! und -betrieb, Universitt Hannover
> * fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover
> * hunold_at_[hidden] ! www.ive.uni-hannover.de
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFA0ZJ7ljbJ/LLrxrYRAhxCAJ9xnzG7bfPORsLVU9pjhD90RjP5CQCbBgL6
> g154KH2PULNGi8pBFIDsiTM=
> =XvKx
> -----END PGP SIGNATURE-----
>
>
> ------------------------------------------------------------------------
>
> ...found 887 targets...
> ...updating 12 targets...
> gcc-C++-action ../../../bin/boost/libs/tuple/test/tuple_test_bench.test/gcc/debug/tuple_test_bench.o
> In file included from /ive/hunold/packages/boost/boost/tuple/tuple.hpp:38,
> from ../../../libs/tuple/test/tuple_test_bench.cpp:19:
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp: In function `typename boost::tuples::access_traits<typename boost::tuples::element<N, boost::tuples::cons<HT, TT> >::type>::non_const_type boost::tuples::get(boost::tuples::cons<HT, TT>&)':
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: `get_class' undeclared (first use this function)
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: (Each undeclared identifier is reported only once for each function it appears in.)
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: expected id-expression before "template"
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: expected `;' before "template"
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: expected primary-expression before "template"
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: expected `;' before "template"
>
> set -e
> "g++" -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline -I"../../../bin/boost/libs/tuple/test" -I "/ive/hunold/packages/boost" -o "../../../bin/boost/libs/tuple/test/tuple_test_bench.test/gcc/debug/tuple_test_bench.o" "../../../libs/tuple/test/tuple_test_bench.cpp"
> "/usr/bin/objcopy" --set-section-flags .debug_str=contents,debug "../../../bin/boost/libs/tuple/test/tuple_test_bench.test/gcc/debug/tuple_test_bench.o"
>
> ...failed gcc-C++-action ../../../bin/boost/libs/tuple/test/tuple_test_bench.test/gcc/debug/tuple_test_bench.o...
> ...skipped <@boost!libs!tuple!test/tuple_test_bench.test/gcc/debug>tuple_test_bench for lack of <@boost!libs!tuple!test/tuple_test_bench.test/gcc/debug>tuple_test_bench.o...
> gcc-C++-action ../../../bin/boost/libs/tuple/test/io_test.test/gcc/debug/io_test.o
> In file included from /ive/hunold/packages/boost/boost/tuple/tuple.hpp:38,
> from /ive/hunold/packages/boost/boost/tuple/tuple_io.hpp:37,
> from ../../../libs/tuple/test/io_test.cpp:21:
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp: In function `typename boost::tuples::access_traits<typename boost::tuples::element<N, boost::tuples::cons<HT, TT> >::type>::non_const_type boost::tuples::get(boost::tuples::cons<HT, TT>&)':
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: `get_class' undeclared (first use this function)
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: (Each undeclared identifier is reported only once for each function it appears in.)
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: expected id-expression before "template"
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: expected `;' before "template"
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: expected primary-expression before "template"
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: expected `;' before "template"
>
> set -e
> "g++" -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline -I"../../../bin/boost/libs/tuple/test" -I "/ive/hunold/packages/boost" -o "../../../bin/boost/libs/tuple/test/io_test.test/gcc/debug/io_test.o" "../../../libs/tuple/test/io_test.cpp"
> "/usr/bin/objcopy" --set-section-flags .debug_str=contents,debug "../../../bin/boost/libs/tuple/test/io_test.test/gcc/debug/io_test.o"
>
> ...failed gcc-C++-action ../../../bin/boost/libs/tuple/test/io_test.test/gcc/debug/io_test.o...
> ...skipped <@boost!libs!tuple!test/io_test.test/gcc/debug>io_test for lack of <@boost!libs!tuple!test/io_test.test/gcc/debug>io_test.o...
> gcc-C++-action ../../../bin/boost/libs/tuple/test/another_tuple_test_bench.test/gcc/debug/another_tuple_test_bench.o
> In file included from /ive/hunold/packages/boost/boost/tuple/tuple.hpp:38,
> from ../../../libs/tuple/test/another_tuple_test_bench.cpp:26:
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp: In function `typename boost::tuples::access_traits<typename boost::tuples::element<N, boost::tuples::cons<HT, TT> >::type>::non_const_type boost::tuples::get(boost::tuples::cons<HT, TT>&)':
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: `get_class' undeclared (first use this function)
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: (Each undeclared identifier is reported only once for each function it appears in.)
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: expected id-expression before "template"
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: expected `;' before "template"
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: expected primary-expression before "template"
> /ive/hunold/packages/boost/boost/tuple/detail/tuple_basic.hpp:212: error: expected `;' before "template"
>
> set -e
> "g++" -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline -I"../../../bin/boost/libs/tuple/test" -I "/ive/hunold/packages/boost" -o "../../../bin/boost/libs/tuple/test/another_tuple_test_bench.test/gcc/debug/another_tuple_test_bench.o" "../../../libs/tuple/test/another_tuple_test_bench.cpp"
> "/usr/bin/objcopy" --set-section-flags .debug_str=contents,debug "../../../bin/boost/libs/tuple/test/another_tuple_test_bench.test/gcc/debug/another_tuple_test_bench.o"
>
> ...failed gcc-C++-action ../../../bin/boost/libs/tuple/test/another_tuple_test_bench.test/gcc/debug/another_tuple_test_bench.o...
> ...skipped <@boost!libs!tuple!test/another_tuple_test_bench.test/gcc/debug>another_tuple_test_bench for lack of <@boost!libs!tuple!test/another_tuple_test_bench.test/gcc/debug>another_tuple_test_bench.o...
> ...skipped <@boost!libs!tuple!test/tuple_test_bench.test/gcc/debug>tuple_test_bench.run for lack of <@boost!libs!tuple!test/tuple_test_bench.test/gcc/debug>tuple_test_bench...
> ...skipped <@boost!libs!tuple!test/io_test.test/gcc/debug>io_test.run for lack of <@boost!libs!tuple!test/io_test.test/gcc/debug>io_test...
> ...skipped <@boost!libs!tuple!test/another_tuple_test_bench.test/gcc/debug>another_tuple_test_bench.run for lack of <@boost!libs!tuple!test/another_tuple_test_bench.test/gcc/debug>another_tuple_test_bench...
> ...failed updating 3 targets...
> ...skipped 9 targets...
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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