A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable clobbered variable warnings again and fix the last one (for me)
[simgrid.git]
/
buildtools
/
Cmake
/
Flags.cmake
diff --git
a/buildtools/Cmake/Flags.cmake
b/buildtools/Cmake/Flags.cmake
index
f1b7a7f
..
51c0ef8
100644
(file)
--- a/
buildtools/Cmake/Flags.cmake
+++ b/
buildtools/Cmake/Flags.cmake
@@
-10,7
+10,7
@@
else(NOT __VISUALC__ AND NOT __BORLANDC__)
endif(NOT __VISUALC__ AND NOT __BORLANDC__)
if(enable_compile_warnings)
endif(NOT __VISUALC__ AND NOT __BORLANDC__)
if(enable_compile_warnings)
- set(warnCFLAGS "-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wclobbered -Wno-unused-function -Wno-unused-parameter -Wno-strict-aliasing -Wno-format-nonliteral -Werror ")
+ set(warnCFLAGS "-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -W
error=
clobbered -Wno-unused-function -Wno-unused-parameter -Wno-strict-aliasing -Wno-format-nonliteral -Werror ")
endif(enable_compile_warnings)
if(COMPILER_C_VERSION_MAJOR_MINOR STRGREATER "4.5")
endif(enable_compile_warnings)
if(COMPILER_C_VERSION_MAJOR_MINOR STRGREATER "4.5")