mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 14:37:45 +00:00
[CMAKE]
- Disable C4244 (implicit integer truncation) warning on MSVC builds because it causes people to add broken casts that make the situation worse. svn path=/trunk/; revision=64003
This commit is contained in:
parent
5c1f39d5c8
commit
da56d4c1d6
|
@ -36,10 +36,10 @@ endif ()
|
||||||
# Disable overly sensitive warnings as well as those that generally aren't
|
# Disable overly sensitive warnings as well as those that generally aren't
|
||||||
# useful to us.
|
# useful to us.
|
||||||
# - TODO: C4018: signed/unsigned mismatch
|
# - TODO: C4018: signed/unsigned mismatch
|
||||||
# - TODO: C4244: integer truncation
|
# - C4244: implicit integer truncation
|
||||||
# - C4290: C++ exception specification ignored
|
# - C4290: C++ exception specification ignored
|
||||||
#add_compile_flags("/wd4018 /wd4244 /wd4290")
|
#add_compile_flags("/wd4018 /wd4244 /wd4290")
|
||||||
add_compile_flags("/wd4290")
|
add_compile_flags("/wd4290 /wd4244")
|
||||||
|
|
||||||
# The following warnings are treated as errors:
|
# The following warnings are treated as errors:
|
||||||
# - C4013: implicit function declaration
|
# - C4013: implicit function declaration
|
||||||
|
|
Loading…
Reference in a new issue