[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#777763: 3dldf: ftbfs with GCC-5



On 12.02.2015 11:29, Matthias Klose wrote:

Hi,

Package: src:3dldf
Version: 2.0.3+dfsg-2
Severity: normal
Tags: sid stretch
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

Confirmed.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/3dldf_2.0.3+dfsg-2_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

   apt-get -t experimental install g++

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
./io.web:5712:49: error: redeclaration of 'template<class C> void* Scan_Parse::in_cuboid_func(C*, void*)' may not have default arguments [-fpermissive]
  Scan_Parse::in_cuboid_func(C* c, void* parameter = 0);
                                                  ^
Hmm, weird. According to https://gcc.gnu.org/gcc-4.9/porting_to.html already g++ 4.9 should reject this kind of code error.

H.
--
http://www.hilmar-preusse.de.vu/   #206401 http://counter.li.org


Reply to: