Control: tags -1 patch On Fri, May 04, 2018 at 12:22:25PM +0000, Matthias Klose wrote: >... > src/GenString.C: In static member function 'static bool > String::IsNumber(const string&)': > src/GenString.C:539:12: error: catching polymorphic type 'class > std::exception' by value [-Werror=catch-value=] > catch (exception) > ^~~~~~~~~ > cc1plus: all warnings being treated as errors > make[3]: *** [Makefile:156: GenString.o] Error 1 >...
A workaround is attached. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
Description: Stop building with -Werror This works around a FTBFS with gcc 8. Author: Adrian Bunk <b...@debian.org> Bug-Debian: https://bugs.debian.org/897795 --- librcsb-core-wrapper-1.005.orig/etc/make.platform.gnu4 +++ librcsb-core-wrapper-1.005/etc/make.platform.gnu4 @@ -34,7 +34,7 @@ ABI= # WARNINGS_AS_ERRORS defines flags to instruct all compilers to treat all # warnings as errors. -WARNINGS_AS_ERRORS=-Werror +#WARNINGS_AS_ERRORS=-Werror # ALL_WARNINGS defines flags to instruct all compilers to report all # warnings.