Control: tags -1 + patch This patch removes -Werror to resolve this FTBFS. Removing the deprecated exception specifications is another option but I didn't feel like editing the public headers of the library.
-- Juhani
Description: Remove -Werror to fix FTBFS with GCC-7 Modifying build flags avoids having to edit public library headers. GCC-7 gives the following error: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Werror=deprecated] Author: Juhani Numminen <juhaninummin...@gmail.com> Bug-Debian: https://bugs.debian.org/853492 Last-Update: 2017-12-17 --- a/libgdf/CMakeLists.txt +++ b/libgdf/CMakeLists.txt @@ -2,7 +2,7 @@ project( GDF ) if( UNIX ) - add_definitions( -Wall -Wextra -pedantic -Werror -fPIC ) + add_definitions( -Wall -Wextra -pedantic -fPIC ) elseif( MINGW ) add_definitions( -Wall -Wextra -pedantic -Werror ) elseif( WIN32 ) --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -2,7 +2,7 @@ project( gdf_tests ) if( UNIX ) - add_definitions( -Wall -Wextra -pedantic -Werror -fPIC) + add_definitions( -Wall -Wextra -pedantic -fPIC) elseif( MINGW ) add_definitions( -Wall -Wextra -pedantic -Werror ) elseif( WIN32 ) --- a/tools/gdf_merger/CMakeLists.txt +++ b/tools/gdf_merger/CMakeLists.txt @@ -2,7 +2,7 @@ project( gdf_merger ) if( UNIX ) - add_definitions( -Wall -Wextra -pedantic -Werror -fPIC) + add_definitions( -Wall -Wextra -pedantic -fPIC) elseif( MINGW ) add_definitions( -Wall -Wextra -pedantic -Werror ) elseif( WIN32 )