Skip to content

Commit

Permalink
Disable -Wdisabled-macro-expansion
Browse files Browse the repository at this point in the history
Due to clang's tolower() macro being recursive.
  • Loading branch information
nurupo committed Feb 24, 2017
1 parent 16a6ce5 commit f364a36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ if(NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
add_flag("-Wno-cast-align")
add_flag("-Wno-conversion")
add_flag("-Wno-covered-switch-default")
# Due to clang's tolower() macro being recursive https://github.com/TokTok/c-toxcore/pull/481
add_flag("-Wno-disabled-macro-expansion")
add_flag("-Wno-documentation-deprecated-sync")
add_flag("-Wno-format-nonliteral")
add_flag("-Wno-missing-field-initializers")
Expand Down

0 comments on commit f364a36

Please sign in to comment.