mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[CMAKE]
Enable -Wdeclaration-after-statement for C builds svn path=/trunk/; revision=63162
This commit is contained in:
parent
4a228e1b4c
commit
aba903d969
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
|||
add_compile_flags("-Wno-microsoft")
|
||||
endif()
|
||||
|
||||
add_compile_flags_language("-Wold-style-declaration" "C")
|
||||
add_compile_flags_language("-Wold-style-declaration -Wdeclaration-after-statement" "C")
|
||||
add_compile_flags_language("-fno-rtti -fno-exceptions" "CXX")
|
||||
|
||||
#bug
|
||||
|
|
Loading…
Reference in a new issue