mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[CMAKE]
Don't activate specific warnings for release builds svn path=/trunk/; revision=63170
This commit is contained in:
@@ -36,7 +36,9 @@ if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
add_compile_flags("-Wno-microsoft")
|
||||
endif()
|
||||
|
||||
add_compile_flags_language("-Wold-style-declaration -Wdeclaration-after-statement" "C")
|
||||
if(DBG)
|
||||
add_compile_flags_language("-Wold-style-declaration -Wdeclaration-after-statement -Wshadow" "C")
|
||||
endif()
|
||||
add_compile_flags_language("-fno-rtti -fno-exceptions" "CXX")
|
||||
|
||||
#bug
|
||||
|
||||
Reference in New Issue
Block a user