Package: duma
Version: 2.5.15-1.1
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-exception-specifier

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
...
> using default exec_prefix [/usr]
> g++ -Wdate-time -D_FORTIFY_SOURCE=2 -c dumapp.cpp -o dumapp.o
> dumapp.cpp: In function 'void* operator new(std::size_t)':
> dumapp.cpp:192:19: error: declaration of 'void* operator new(std::size_t) 
> throw (std::bad_alloc)' has a different exception specifier
>  void * DUMA_CDECL operator new( DUMA_SIZE_T size )
>                    ^~~~~~~~
> 
> In file included from dumapp.cpp:39:0:
> dumapp.h:84:23: note: from previous declaration 'void* operator 
> new(std::size_t)'
>      void * DUMA_CDECL operator new(DUMA_SIZE_T) throw(std::bad_alloc);
>                        ^~~~~~~~
> 
> dumapp.cpp: In function 'void* operator new [](std::size_t)':
> dumapp.cpp:256:19: error: declaration of 'void* operator new [](std::size_t) 
> throw (std::bad_alloc)' has a different exception specifier
>  void * DUMA_CDECL operator new[]( DUMA_SIZE_T size )
>                    ^~~~~~~~
> 
> In file included from dumapp.cpp:39:0:
> dumapp.h:94:23: note: from previous declaration 'void* operator new 
> [](std::size_t)'
>      void * DUMA_CDECL operator new[](DUMA_SIZE_T) throw(std::bad_alloc);
>                        ^~~~~~~~
> 
> GNUmakefile:566: recipe for target 'dumapp.o' failed
> make[1]: *** [dumapp.o] Error 1

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

Reply via email to