[Debian-med-packaging] Bug#897795: librcsb-core-wrapper: ftbfs with GCC-8

Adrian Bunk bunk at debian.org
Thu Aug 9 14:15:17 BST 2018


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-werror.patch
Type: text/x-diff
Size: 539 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20180809/833b38d5/attachment.patch>


More information about the Debian-med-packaging mailing list