mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
chore(msvc): replace /W3 with /W4 (#4175)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
254f89f935
commit
ff4899f545
1 changed files with 3 additions and 0 deletions
|
@ -783,6 +783,9 @@ endif ()
|
||||||
|
|
||||||
# Configure compiler warnings
|
# Configure compiler warnings
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
|
# Someone adds /W3 before we add /W4.
|
||||||
|
# This makes sure, only /W4 is specified.
|
||||||
|
string(REPLACE "/W3" "/W4" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
||||||
# 4714 - function marked as __forceinline not inlined
|
# 4714 - function marked as __forceinline not inlined
|
||||||
# 4996 - occurs when the compiler encounters a function or variable that is marked as deprecated.
|
# 4996 - occurs when the compiler encounters a function or variable that is marked as deprecated.
|
||||||
# These functions may have a different preferred name, may be insecure or have
|
# These functions may have a different preferred name, may be insecure or have
|
||||||
|
|
Loading…
Reference in a new issue