projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
262f1bc
)
[CMAKE]
author
Pierre Schweitzer
<pierre@reactos.org>
Mon, 5 May 2014 21:03:20 +0000
(21:03 +0000)
committer
Pierre Schweitzer
<pierre@reactos.org>
Mon, 5 May 2014 21:03:20 +0000
(21:03 +0000)
Don't activate specific warnings for release builds
svn path=/trunk/; revision=63170
reactos/cmake/gcc.cmake
patch
|
blob
|
history
diff --git
a/reactos/cmake/gcc.cmake
b/reactos/cmake/gcc.cmake
index
322b689
..
1a6cd66
100644
(file)
--- a/
reactos/cmake/gcc.cmake
+++ b/
reactos/cmake/gcc.cmake
@@
-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