Merge pull request #1561
d561f4adenable clang checks that were disabled (Chris Vickio)0aefb2f6remove std::move from return statements (pessimizing-move warning) (Chris Vickio)629d5b76change counter from bool to int (deprecated-increment-bool warning) (Chris Vickio)fb76d439add extra braces around subobjects (missing-braces warning) (Chris Vickio)3b6d5f25make struct/class declarations consistent (mismatched-tags warning) (Chris Vickio)fcf66925remove unused fields from network_throttle (unused-private-field warning) (Chris Vickio)296f8c16inline unused function (for unused-function warning) (Chris Vickio)
This commit is contained in:
@@ -355,7 +355,6 @@ else()
|
||||
set(WARNINGS_AS_ERRORS_FLAG "-Werror")
|
||||
endif()
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
set(WARNINGS "${WARNINGS} -Wno-deprecated-register -Wno-error=mismatched-tags -Wno-error=null-conversion -Wno-overloaded-shift-op-parentheses -Wno-error=shift-count-overflow -Wno-error=tautological-constant-out-of-range-compare -Wno-error=unused-private-field -Wno-error=unneeded-internal-declaration")
|
||||
if(ARM)
|
||||
set(WARNINGS "${WARNINGS} -Wno-error=inline-asm")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user