Skip to content

Commit

Permalink
Corrected passing warning flags to msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
trueqbit committed Jan 15, 2023
1 parent dae4287 commit f776085
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,19 +141,19 @@ if (MSVC)
if (MSVC_VERSION LESS_EQUAL 1900)
target_compile_options(unit_tests PUBLIC
# C4503: decorated name length exceeded
/wd"4503"
/wd4503
# C4800: forcing value to bool (performance warning)
/wd"4800")
/wd4800)
else()
target_compile_options(unit_tests PUBLIC
# warning-level 4
/W4
# C4127: conditional expression is constant
/wd"4127"
/wd4127
# C4456: declaration of 'symbol' hides previous local declaration
/wd"4456"
/wd4456
# C4458: declaration of 'symbol' hides class member
/wd"4458")
/wd4458)
endif()
endif()

Expand Down

0 comments on commit f776085

Please sign in to comment.