mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +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
|
-Wno-trigraphs
|
||||||
-W # Was controlled by RELAXWARNINGS
|
-W # Was controlled by RELAXWARNINGS
|
||||||
-pedantic
|
-pedantic
|
||||||
|
-Wpedantic
|
||||||
-Wfloat-equal
|
-Wfloat-equal
|
||||||
-Wundef
|
-Wundef
|
||||||
-Wpointer-arith
|
-Wpointer-arith
|
||||||
|
|
@ -527,7 +528,7 @@ target_compile_options(SRB2SDL2 PRIVATE
|
||||||
>
|
>
|
||||||
|
|
||||||
# C++, MSVC
|
# C++, MSVC
|
||||||
$<$<AND:$<COMPILE_LANGUAGE:C>,$<C_COMPILER_ID:MSVC>>:
|
$<$<AND:$<COMPILE_LANGUAGE:CXX>,$<C_COMPILER_ID:MSVC>>:
|
||||||
/Wv:19.20.27004.0
|
/Wv:19.20.27004.0
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue