QCTOOL

View Ticket
Login
Ticket UUID: a31af45e24ca17fc97fea943ce917fd26fff6910
Title: QCTOOL build fails on gcc 4.4.7
Status: Fixed Type: Build_Problem
Severity: Minor Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2021-11-05 00:05:47
Version Found In: v2.0.8
User Comments:
gav added on 2021-10-13 09:12:05:

From Mathias Heydt:

QCTOOL compilation fails on CentOS release 6.10 with gcc:

g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23)
Copyright (C) 2010 Free Software Foundation, Inc.

with the error:

./genfile/src/PloidyConvertingSNPDataSource.cpp:41: error: looser throw specifier for 'virtual genfile::<unnamed>::PloidyConvertingSetter::~PloidyConvertingSetter()'

A workaround is to delete throw() on or around lines 31, 54, and 60 of the file:

genfile/include/genfile/vcf/Types.hpp

(NB: I think these throw specifications are not needed and can maybe just be deleted outright - this is TODO.)

An alterantive is to install a version of devtoolset with a more modern compiler.

g.


nobody added on 2021-11-05 00:05:47:

Fixed in 2.2.0-rc4 (44fb790222)