Skip to content

Commit

Permalink
Fix build by adding -Wno-error=terminate CXX flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mewmew committed Apr 9, 2018
1 parent 6d483ff commit b21a829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CommonCompilerConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ else()
endif()

set(shared_compile_flags "${shared_compile_flags} ${stdlib_common} -fdiagnostics-show-option")
set (internal_compiler_warning_flags "${internal_compiler_warning_flags} -Werror -Wextra -Wreturn-type -Wunused -Wno-unused-variable -Wno-unused-parameter -Wno-missing-field-initializers")
set (external_compiler_warning_flags "${external_compiler_warning_flags} -Wno-unused-variable -Wno-unused-parameter -Wno-incompatible-pointer-types -Wno-deprecated-declarations")
set (internal_compiler_warning_flags "${internal_compiler_warning_flags} -Werror -Wextra -Wreturn-type -Wunused -Wno-error=terminate -Wno-unused-variable -Wno-unused-parameter -Wno-missing-field-initializers")
set (external_compiler_warning_flags "${external_compiler_warning_flags} -Wno-error=terminate -Wno-unused-variable -Wno-unused-parameter -Wno-incompatible-pointer-types -Wno-deprecated-declarations")

CHECK_CXX_COMPILER_FLAG(-m${BITNESS} compiler_supports_machine_option)
if (compiler_supports_machine_option)
Expand Down

0 comments on commit b21a829

Please sign in to comment.