mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-01 04:33:02 +00:00
Fix MSVC C++ warnings
This commit is contained in:
parent
1db9898c42
commit
22809e928b
1 changed files with 2 additions and 1 deletions
|
|
@ -428,6 +428,7 @@ target_compile_options(SRB2SDL2 PRIVATE
|
|||
-Wno-trigraphs
|
||||
-W # Was controlled by RELAXWARNINGS
|
||||
-pedantic
|
||||
-Wpedantic
|
||||
-Wfloat-equal
|
||||
-Wundef
|
||||
-Wpointer-arith
|
||||
|
|
@ -527,7 +528,7 @@ target_compile_options(SRB2SDL2 PRIVATE
|
|||
>
|
||||
|
||||
# C++, MSVC
|
||||
$<$<AND:$<COMPILE_LANGUAGE:C>,$<C_COMPILER_ID:MSVC>>:
|
||||
$<$<AND:$<COMPILE_LANGUAGE:CXX>,$<C_COMPILER_ID:MSVC>>:
|
||||
/Wv:19.20.27004.0
|
||||
>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue