Author: pschweitzer Date: Mon May 5 21:03:20 2014 New Revision: 63170
URL: http://svn.reactos.org/svn/reactos?rev=63170&view=rev Log: [CMAKE] Don't activate specific warnings for release 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=63170&a... ============================================================================== --- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original) +++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Mon May 5 21:03:20 2014 @@ -36,7 +36,9 @@ 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