[Debichem-devel] Bug#811912: tandem-mass: FTBFS with GCC 6: declared in this scope

Martin Michlmayr tbm at hpe.com
Wed Jan 20 03:29:21 UTC 2016


Package: tandem-mass
Version: 1:2013.09.01-2
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-not-declared

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.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++ -w -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o tandem.o tandem.cpp
> In file included from tandem.cpp:140:0:
> stdafx.h:221:20: error: duplicate 'unsigned'
>    #define uint32_t unsigned int
>                     ^
> 
> stdafx.h:221:29: error: multiple types in one declaration
>    #define uint32_t unsigned int
>                              ^
> 
> stdafx.h:221:29: error: declaration does not declare anything [-fpermissive]
> stdafx.h:224:20: error: duplicate 'unsigned'
>    #define uint64_t unsigned long long
>                     ^
> 
> stdafx.h:224:34: error: 'long long long' is too long for GCC
>    #define uint64_t unsigned long long
>                                   ^
> 
> stdafx.h:224:34: error: declaration does not declare anything [-fpermissive]
> stdafx.h:221:20: error: expected unqualified-id before 'unsigned'
>    #define uint32_t unsigned int
>                     ^
> 
> stdafx.h:221:20: error: expected ';' before 'unsigned'
> stdafx.h:221:29: error: declaration does not declare anything [-fpermissive]
>    #define uint32_t unsigned int
>                              ^
> 
> stdafx.h:224:20: error: expected unqualified-id before 'unsigned'
>    #define uint64_t unsigned long long
>                     ^
> 
> stdafx.h:224:20: error: expected ';' before 'unsigned'
> stdafx.h:224:34: error: declaration does not declare anything [-fpermissive]
>    #define uint64_t unsigned long long
>                                   ^
> 
> <builtin>: recipe for target 'tandem.o' failed
> make[1]: *** [tandem.o] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
> debian/rules:26: recipe for target 'build-stamp' failed

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



More information about the Debichem-devel mailing list