Author: pschweitzer
Date: Sun May 4 18:11:11 2014
New Revision: 63162
URL:
http://svn.reactos.org/svn/reactos?rev=63162&view=rev
Log:
[CMAKE]
Enable -Wdeclaration-after-statement for C builds
Modified:
trunk/reactos/cmake/gcc.cmake
Modified: trunk/reactos/cmake/gcc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/gcc.cmake?rev=63162&…
==============================================================================
--- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Sun May 4 18:11:11 2014
@@ -36,7 +36,7 @@
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