Skip to content

Commit

Permalink
Make clang shut up about -Wno-error=maybe-uninitialized in teakra
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiaholmquist committed Oct 23, 2022
1 parent b5017ca commit 9e449d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/teakra/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,14 @@ else()
-pedantic
-pedantic-errors
-Wfatal-errors
-Wno-error=maybe-uninitialized
-Wno-missing-braces
-Wno-unused-parameter)

if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
list(APPEND TEAKRA_CXX_FLAGS
-Wno-error=maybe-uninitialized)
endif()

if (TEAKRA_WARNINGS_AS_ERRORS)
list(APPEND TEAKRA_CXX_FLAGS
-Werror)
Expand Down

0 comments on commit 9e449d9

Please sign in to comment.