Skip to content

Commit

Permalink
Correcting compiler flags
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixPetriconi committed Aug 8, 2018
1 parent 221f902 commit 7944b0b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmake/GNU.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@ set( stlab_base_flags "-Wall;-ftemplate-backtrace-limit=0;" )
set( stlab_debug_flags "-gdwarf-3;" )
set( stlab_coverage_flags "-fprofile-arcs;-ftest-coverage;" )
set( stlab_release_flags "" )
# gcc version < 7 has a bug in static constexpr members and reports tons of errors/warnings.
# By using -fpermissive and -w is the only way to shut the compiler up
# Remove when we remove to C++17
set( stlab_interface_flags "-std=gnu++14;-fpermissive;-w")
set( stlab_interface_flags "-std=gnu++14;")

0 comments on commit 7944b0b

Please sign in to comment.