bonsai-team / matam

Mapping-Assisted Targeted-Assembly for Metagenomics
GNU Affero General Public License v3.0
19 stars 9 forks source link

Ovgraphbuild compilation issue with gcc-6 #46

Closed loic-couderc closed 6 years ago

loic-couderc commented 6 years ago

With the issue #44 we noticed that ovgraphbuild do not compile with gcc-6. This issue seems to come from the way the flags are set in CMakeLists.txt. More precisely:

set(ENABLE_CXXFLAGS_TO_CHECK 
    -std=gnu++1z 
    -std=c++1z
    -std=gnu++14 
    -std=c++14
    -std=gnu++1y 
-std=c++1y)

Update this file to allow the compilation with gcc-6.