[pkg-boost-devel] Bug#505962: FTBFS with GCC 4.4: preprocessor errors

Martin Michlmayr tbm at cyrius.com
Mon Nov 17 08:10:06 UTC 2008


Package: boost1.36
Version: 1.36.0-7
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.4
Severity: important

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

Same bug as #505109.

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of boost1.36_1.36.0-7 on em64t by sbuild/amd64 0.53
...
> gcc.compile.c++ bin.v2/libs/math/build/gcc-4.4.0/release/debug-symbols-on/fpclassify.o
> 
>     "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -g -fPIC -D_REENTRANT  -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG  -I"." -c -o "bin.v2/libs/math/build/gcc-4.4.0/release/debug-symbols-on/fpclassify.o" "libs/math/build/../src/tr1/fpclassify.cpp"
> 
> In file included from ./boost/mpl/apply.hpp:23,
>                  from ./boost/mpl/aux_/iter_apply.hpp:17,
>                  from ./boost/mpl/aux_/find_if_pred.hpp:14,
>                  from ./boost/mpl/find_if.hpp:17,
>                  from ./boost/mpl/find.hpp:17,
>                  from ./boost/mpl/aux_/contains_impl.hpp:20,
>                  from ./boost/mpl/contains.hpp:20,
>                  from ./boost/math/policies/policy.hpp:10,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
> ./boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/bind.hpp:27,
>                  from ./boost/mpl/lambda.hpp:18,
>                  from ./boost/mpl/apply.hpp:25,
>                  from ./boost/mpl/aux_/iter_apply.hpp:17,
>                  from ./boost/mpl/aux_/find_if_pred.hpp:14,
>                  from ./boost/mpl/find_if.hpp:17,
>                  from ./boost/mpl/find.hpp:17,
>                  from ./boost/mpl/aux_/contains_impl.hpp:20,
>                  from ./boost/mpl/contains.hpp:20,
>                  from ./boost/math/policies/policy.hpp:10,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
> ./boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/lambda.hpp:18,
>                  from ./boost/mpl/apply.hpp:25,
>                  from ./boost/mpl/aux_/iter_apply.hpp:17,
>                  from ./boost/mpl/aux_/find_if_pred.hpp:14,
>                  from ./boost/mpl/find_if.hpp:17,
>                  from ./boost/mpl/find.hpp:17,
>                  from ./boost/mpl/aux_/contains_impl.hpp:20,
>                  from ./boost/mpl/contains.hpp:20,
>                  from ./boost/math/policies/policy.hpp:10,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/bind.hpp:364:31: error: missing binary operator before token "("
> ./boost/mpl/bind.hpp:531:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/lambda.hpp:22,
>                  from ./boost/mpl/apply.hpp:25,
>                  from ./boost/mpl/aux_/iter_apply.hpp:17,
>                  from ./boost/mpl/aux_/find_if_pred.hpp:14,
>                  from ./boost/mpl/find_if.hpp:17,
>                  from ./boost/mpl/find.hpp:17,
>                  from ./boost/mpl/aux_/contains_impl.hpp:20,
>                  from ./boost/mpl/contains.hpp:20,
>                  from ./boost/math/policies/policy.hpp:10,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/aux_/full_lambda.hpp:230:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/aux_/iter_apply.hpp:17,
>                  from ./boost/mpl/aux_/find_if_pred.hpp:14,
>                  from ./boost/mpl/find_if.hpp:17,
>                  from ./boost/mpl/find.hpp:17,
>                  from ./boost/mpl/aux_/contains_impl.hpp:20,
>                  from ./boost/mpl/contains.hpp:20,
>                  from ./boost/math/policies/policy.hpp:10,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/apply.hpp:138:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/iter_fold_if.hpp:24,
>                  from ./boost/mpl/find_if.hpp:19,
>                  from ./boost/mpl/find.hpp:17,
>                  from ./boost/mpl/aux_/contains_impl.hpp:20,
>                  from ./boost/mpl/contains.hpp:20,
>                  from ./boost/math/policies/policy.hpp:10,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/apply.hpp:138:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/aux_/iter_fold_if_impl.hpp:22,
>                  from ./boost/mpl/iter_fold_if.hpp:25,
>                  from ./boost/mpl/find_if.hpp:19,
>                  from ./boost/mpl/find.hpp:17,
>                  from ./boost/mpl/aux_/contains_impl.hpp:20,
>                  from ./boost/mpl/contains.hpp:20,
>                  from ./boost/math/policies/policy.hpp:10,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/apply.hpp:138:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/aux_/fold_impl.hpp:19,
>                  from ./boost/mpl/fold.hpp:20,
>                  from ./boost/mpl/remove_if.hpp:18,
>                  from ./boost/math/policies/policy.hpp:13,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/apply.hpp:138:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/aux_/reverse_fold_impl.hpp:20,
>                  from ./boost/mpl/reverse_fold.hpp:21,
>                  from ./boost/mpl/remove_if.hpp:19,
>                  from ./boost/math/policies/policy.hpp:13,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/apply.hpp:138:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/remove_if.hpp:24,
>                  from ./boost/math/policies/policy.hpp:13,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/apply.hpp:138:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/aux_/numeric_op.hpp:22,
>                  from ./boost/mpl/aux_/arithmetic_op.hpp:26,
>                  from ./boost/mpl/plus.hpp:19,
>                  from ./boost/mpl/vector/aux_/iterator.hpp:19,
>                  from ./boost/mpl/vector/aux_/vector0.hpp:22,
>                  from ./boost/mpl/vector/aux_/clear.hpp:18,
>                  from ./boost/mpl/vector/vector0.hpp:24,
>                  from ./boost/mpl/vector/vector10.hpp:18,
>                  from ./boost/mpl/vector/vector20.hpp:18,
>                  from ./boost/mpl/vector.hpp:36,
>                  from ./boost/math/policies/policy.hpp:14,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
> ./boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/aux_/numeric_cast_utils.hpp:18,
>                  from ./boost/mpl/aux_/numeric_op.hpp:25,
>                  from ./boost/mpl/aux_/arithmetic_op.hpp:26,
>                  from ./boost/mpl/plus.hpp:19,
>                  from ./boost/mpl/vector/aux_/iterator.hpp:19,
>                  from ./boost/mpl/vector/aux_/vector0.hpp:22,
>                  from ./boost/mpl/vector/aux_/clear.hpp:18,
>                  from ./boost/mpl/vector/vector0.hpp:24,
>                  from ./boost/mpl/vector/vector10.hpp:18,
>                  from ./boost/mpl/vector/vector20.hpp:18,
>                  from ./boost/mpl/vector.hpp:36,
>                  from ./boost/math/policies/policy.hpp:14,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
> ./boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/aux_/arithmetic_op.hpp:26,
>                  from ./boost/mpl/plus.hpp:19,
>                  from ./boost/mpl/vector/aux_/iterator.hpp:19,
>                  from ./boost/mpl/vector/aux_/vector0.hpp:22,
>                  from ./boost/mpl/vector/aux_/clear.hpp:18,
>                  from ./boost/mpl/vector/vector0.hpp:24,
>                  from ./boost/mpl/vector/vector10.hpp:18,
>                  from ./boost/mpl/vector/vector20.hpp:18,
>                  from ./boost/mpl/vector.hpp:36,
>                  from ./boost/math/policies/policy.hpp:14,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/aux_/numeric_op.hpp:290:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/aux_/numeric_op.hpp:22,
>                  from ./boost/mpl/aux_/arithmetic_op.hpp:26,
>                  from ./boost/mpl/minus.hpp:19,
>                  from ./boost/mpl/vector/aux_/iterator.hpp:20,
>                  from ./boost/mpl/vector/aux_/vector0.hpp:22,
>                  from ./boost/mpl/vector/aux_/clear.hpp:18,
>                  from ./boost/mpl/vector/vector0.hpp:24,
>                  from ./boost/mpl/vector/vector10.hpp:18,
>                  from ./boost/mpl/vector/vector20.hpp:18,
>                  from ./boost/mpl/vector.hpp:36,
>                  from ./boost/math/policies/policy.hpp:14,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
> ./boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/aux_/arithmetic_op.hpp:26,
>                  from ./boost/mpl/minus.hpp:19,
>                  from ./boost/mpl/vector/aux_/iterator.hpp:20,
>                  from ./boost/mpl/vector/aux_/vector0.hpp:22,
>                  from ./boost/mpl/vector/aux_/clear.hpp:18,
>                  from ./boost/mpl/vector/vector0.hpp:24,
>                  from ./boost/mpl/vector/vector10.hpp:18,
>                  from ./boost/mpl/vector/vector20.hpp:18,
>                  from ./boost/mpl/vector.hpp:36,
>                  from ./boost/math/policies/policy.hpp:14,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/aux_/numeric_op.hpp:290:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/aux_/numeric_op.hpp:22,
>                  from ./boost/mpl/aux_/comparison_op.hpp:27,
>                  from ./boost/mpl/less.hpp:19,
>                  from ./boost/mpl/advance.hpp:18,
>                  from ./boost/mpl/aux_/at_impl.hpp:18,
>                  from ./boost/mpl/at.hpp:18,
>                  from ./boost/math/policies/policy.hpp:16,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
> ./boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/aux_/comparison_op.hpp:27,
>                  from ./boost/mpl/less.hpp:19,
>                  from ./boost/mpl/advance.hpp:18,
>                  from ./boost/mpl/aux_/at_impl.hpp:18,
>                  from ./boost/mpl/at.hpp:18,
>                  from ./boost/math/policies/policy.hpp:16,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/aux_/numeric_op.hpp:290:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/advance.hpp:23,
>                  from ./boost/mpl/aux_/at_impl.hpp:18,
>                  from ./boost/mpl/at.hpp:18,
>                  from ./boost/math/policies/policy.hpp:16,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
> ./boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/aux_/advance_forward.hpp:23,
>                  from ./boost/mpl/advance.hpp:24,
>                  from ./boost/mpl/aux_/at_impl.hpp:18,
>                  from ./boost/mpl/at.hpp:18,
>                  from ./boost/math/policies/policy.hpp:16,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
> ./boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/advance.hpp:24,
>                  from ./boost/mpl/aux_/at_impl.hpp:18,
>                  from ./boost/mpl/at.hpp:18,
>                  from ./boost/math/policies/policy.hpp:16,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/aux_/advance_forward.hpp:82:31: error: missing binary operator before token "("
> ./boost/mpl/aux_/advance_forward.hpp:113:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/aux_/advance_backward.hpp:23,
>                  from ./boost/mpl/advance.hpp:25,
>                  from ./boost/mpl/aux_/at_impl.hpp:18,
>                  from ./boost/mpl/at.hpp:18,
>                  from ./boost/math/policies/policy.hpp:16,
>                  from ./boost/math/special_functions/math_fwd.hpp:28,
>                  from ./boost/math/special_functions/fpclassify.hpp:18,
>                  from libs/math/build/../src/tr1/fpclassify.cpp:8:
> ./boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
> ./boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
> In file included from ./boost/mpl/advance.hpp:25,
>                  from ./boost/mpl/aux_/at_impl.hpp:18,
>                  from ./boost/mpl/at.hpp:18,
>                  from ./boost/math/policies/policy.hpp:16,
...

-- 
Martin Michlmayr
http://www.cyrius.com/





More information about the pkg-boost-devel mailing list