[3dprinter-general] Bug#811700: FTBFS with GCC 6: macro passed X arguments, takes Y

Martin Michlmayr tbm at hpe.com
Wed Jan 20 01:06:50 UTC 2016


Package: slic3r
Version: 1.2.9+dfsg-2
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
...
> x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -fPIC -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc++ -D_GLIBCXX_USE_C99 -DHAS_BOOL -DNOGDI -DSLIC3RXS -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o src/libslic3r/Line.o src/libslic3r/Line.cpp
> 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 /usr/include/boost/polygon/isotropy.hpp:22,
>                  from /usr/include/boost/polygon/polygon.hpp:12,
>                  from src/libslic3r/Point.hpp:127,
>                  from src/libslic3r/BoundingBox.hpp:5,
>                  from src/libslic3r/Geometry.hpp:4,
>                  from src/libslic3r/Line.cpp:1:
> /usr/include/c++/6/bits/random.h:271:17: error: macro "seed" passed 1 arguments, but takes just 0
>        { seed(__s); }
>                  ^
> 
> /usr/include/c++/6/bits/random.h:284:19: error: macro "seed" passed 1 arguments, but takes just 0
>          { seed(__q); }
>                    ^
> 
> /usr/include/c++/6/bits/random.h:293:42: error: macro "seed" passed 1 arguments, but takes just 0
>        seed(result_type __s = default_seed);
>                                           ^
> 
> /usr/include/c++/6/bits/random.h:304:24: error: macro "seed" passed 1 arguments, but takes just 0
>          seed(_Sseq& __q);
>                         ^
> 
> /usr/include/c++/6/bits/random.h:503:18: error: macro "seed" passed 1 arguments, but takes just 0
>        { seed(__sd); }
>                   ^
> 
> /usr/include/c++/6/bits/random.h:516:19: error: macro "seed" passed 1 arguments, but takes just 0
>          { seed(__q); }
>                    ^
> 
> /usr/include/c++/6/bits/random.h:519:43: error: macro "seed" passed 1 arguments, but takes just 0
>        seed(result_type __sd = default_seed);
>                                            ^
> 
> /usr/include/c++/6/bits/random.h:523:24: error: macro "seed" passed 1 arguments, but takes just 0
>          seed(_Sseq& __q);
>                         ^
> 
> /usr/include/c++/6/bits/random.h:691:18: error: macro "seed" passed 1 arguments, but takes just 0
>        { seed(__sd); }
>                   ^

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the 3dprinter-general mailing list