mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 04:20:46 +00:00
[CMAKE]
- Make C4022 (pointer type mismatch) and C4129 (unrecognized escape sequence) into errors CORE-7538 svn path=/trunk/; revision=60870
This commit is contained in:
parent
3def5beaf4
commit
54f8e25e93
1 changed files with 7 additions and 3 deletions
|
@ -37,13 +37,17 @@ endif ()
|
|||
add_compile_flags("/wd4290")
|
||||
|
||||
# The following warnings are treated as errors:
|
||||
# - TODO: C4013: implicit function declaration
|
||||
# - C4022: pointer type mismatch for parameter
|
||||
# - TODO: C4028: formal parameter different from declaration
|
||||
# - C4047: different level of indirection
|
||||
# - C4090: different 'modifier' qualifiers (for C programs only;
|
||||
# - TODO: C4090: different 'modifier' qualifiers (for C programs only;
|
||||
# for C++ programs, the compiler error C2440 is issued)
|
||||
# - C4098: void function returning a value
|
||||
# - C4129: unrecognized escape sequence
|
||||
# - TODO: C4133: incompatible types
|
||||
# - C4700: uninitialized variable usage
|
||||
##add_compile_flags("/we4047 /we4090 /we4098 /we4700")
|
||||
add_compile_flags("/we4047 /we4098 /we4700")
|
||||
add_compile_flags("/we4022 /we4047 /we4098 /we4129 /we4700")
|
||||
|
||||
# Debugging
|
||||
#if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
|
||||
|
|
Loading…
Reference in a new issue