[Debichem-devel] Bug#811704: FTBFS with GCC 6: macro passed X arguments, takes Y
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 01:08:25 UTC 2016
Package: qutemol
Version: 0.4.1~cvs20081111-5
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-macro
This package fails to build with GCC 6. GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.
Note that only the first error is reported; there might be more. You
can find a snapshot of GCC 6 in experimental. To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.
> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++ -DPKGDATADIR='"/usr/share/qutemol"' -Ivcg -Isrc -I. -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DNDEBUG -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/Common.o src/Common.cpp
> In file included from /usr/include/c++/6/algorithm:60:0,
> from vcg/vcg/math/lin_algebra.h:56,
> from vcg/vcg/math/matrix33.h:100,
> from vcg/vcg/math/quaternion.h:123,
> from vcg/vcg/math/similarity.h:104,
> from vcg/wrap/gl/math.h:70,
> from src/gen_normal.h:64,
> from src/Common.cpp:18:
> /usr/include/c++/6/utility:310:58: error: macro "assert" passed 2 arguments, but takes just 1
> "Cannot make integer sequence of negative length" );
> ^
>
> In file included from /usr/include/c++/6/random:49:0,
> from /usr/include/c++/6/bits/stl_algo.h:66,
> from /usr/include/c++/6/algorithm:62,
> from vcg/vcg/math/lin_algebra.h:56,
> from vcg/vcg/math/matrix33.h:100,
> from vcg/vcg/math/quaternion.h:123,
> from vcg/vcg/math/similarity.h:104,
> from vcg/wrap/gl/math.h:70,
> from src/gen_normal.h:64,
> from src/Common.cpp:18:
> /usr/include/c++/6/bits/random.h:88:61: error: macro "assert" passed 2 arguments, but takes just 1
> "sorry, would be too much trouble for a slow result");
> ^
>
> /usr/include/c++/6/bits/random.h:168:54: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument not a floating point type");
> ^
>
> /usr/include/c++/6/bits/random.h:246:61: error: macro "assert" passed 2 arguments, but takes just 1
> "substituting _UIntType not an unsigned integral type");
> ^
>
> /usr/include/c++/6/bits/random.h:248:57: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument substituting __m out of bounds");
> ^
>
> /usr/include/c++/6/bits/random.h:454:61: error: macro "assert" passed 2 arguments, but takes just 1
> "substituting _UIntType not an unsigned integral type");
> ^
>
> /usr/include/c++/6/bits/random.h:456:57: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument substituting __m out of bounds");
> ^
>
> /usr/include/c++/6/bits/random.h:458:25: error: macro "assert" passed 2 arguments, but takes just 1
> "__r out of bound");
> ^
>
> /usr/include/c++/6/bits/random.h:460:25: error: macro "assert" passed 2 arguments, but takes just 1
> "__u out of bound");
> ^
>
> /usr/include/c++/6/bits/random.h:462:25: error: macro "assert" passed 2 arguments, but takes just 1
> "__s out of bound");
> ^
>
> /usr/include/c++/6/bits/random.h:464:25: error: macro "assert" passed 2 arguments, but takes just 1
> "__t out of bound");
> ^
>
> /usr/include/c++/6/bits/random.h:466:25: error: macro "assert" passed 2 arguments, but takes just 1
> "__l out of bound");
> ^
>
> /usr/include/c++/6/bits/random.h:468:56: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument substituting __w out of bound");
> ^
>
> /usr/include/c++/6/bits/random.h:470:56: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument substituting __a out of bound");
> ^
>
> /usr/include/c++/6/bits/random.h:472:56: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument substituting __b out of bound");
> ^
>
> /usr/include/c++/6/bits/random.h:474:56: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument substituting __c out of bound");
> ^
>
> /usr/include/c++/6/bits/random.h:476:56: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument substituting __d out of bound");
> ^
>
> /usr/include/c++/6/bits/random.h:478:56: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument substituting __f out of bound");
> ^
>
> /usr/include/c++/6/bits/random.h:669:61: error: macro "assert" passed 2 arguments, but takes just 1
> "substituting _UIntType not an unsigned integral type");
> ^
>
> /usr/include/c++/6/bits/random.h:671:57: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument substituting __s out of bounds");
> ^
>
> /usr/include/c++/6/bits/random.h:673:57: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument substituting __w out of bounds");
> ^
>
> /usr/include/c++/6/bits/random.h:856:57: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument substituting __r out of bounds");
> ^
>
> /usr/include/c++/6/bits/random.h:1076:61: error: macro "assert" passed 2 arguments, but takes just 1
> "substituting _UIntType not an unsigned integral type");
> ^
>
> /usr/include/c++/6/bits/random.h:1078:57: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument substituting __w out of bounds");
> ^
>
> /usr/include/c++/6/bits/random.h:1294:25: error: macro "assert" passed 2 arguments, but takes just 1
> "__k out of bound");
> ^
>
> /usr/include/c++/6/bits/random.h:1668:47: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument not an integral type");
> ^
>
> /usr/include/c++/6/bits/random.h:1869:52: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument not a floating point type");
> ^
>
> /usr/include/c++/6/bits/random.h:2087:52: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument not a floating point type");
> ^
>
> /usr/include/c++/6/bits/random.h:2300:52: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument not a floating point type");
> ^
>
> /usr/include/c++/6/bits/random.h:2504:52: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument not a floating point type");
> ^
>
> /usr/include/c++/6/bits/random.h:2721:52: error: macro "assert" passed 2 arguments, but takes just 1
> "template argument not a floating point type");
> ^
...
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the Debichem-devel
mailing list