Mark them as no-error to avoid to break builds.
For example, some versions of valgrind.h cause a "variable unused but set"
warning in gcc 4.6.
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")
- set(warnCFLAGS "${warnCFLAGS} -Wno-unused-but-set-variable ")
+ set(warnCFLAGS "${warnCFLAGS} -Wno-error=unused-but-set-variable ")
endif(COMPILER_C_VERSION_MAJOR_MINOR STRGREATER "4.5")
if(enable_compile_optimizations)
endif(COMPILER_C_VERSION_MAJOR_MINOR STRGREATER "4.5")
if(enable_compile_optimizations)