Skip to content

Commit

Permalink
cmake: CompilerFlags.cmake: Silence -Wmissing-noreturn
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Gunnerson <[email protected]>
  • Loading branch information
chenxiaolong committed Jul 3, 2018
1 parent afca53c commit d333a7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/CompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
# Disable warnings
add_compile_options(
-Wno-documentation-unknown-command # \cond is not understood
-Wno-missing-noreturn # Caused by disabling exceptions in Outcome
-Wno-shadow-field-in-constructor
)
endif()
Expand Down

0 comments on commit d333a7d

Please sign in to comment.