Skip to content

Commit

Permalink
'mvsc' != 'msvc'
Browse files Browse the repository at this point in the history
Temporarily undo adding /W3 too.
  • Loading branch information
amcn committed Jun 23, 2024
1 parent 9e71670 commit 359d933
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,10 @@ if buildtype == 'release' or buildtype == 'minsize'
c_args += '-DNDEBUG'
endif

message(f'cc_id = @cc_id@')
if cc_id == 'mvsc'
if cc_id == 'msvc'

has_c99_var_decl = cc_version.version_compare('>=18')
c_args += '/W3'
#c_args += '/W3'

elif cc_id == 'clang'

Expand Down

0 comments on commit 359d933

Please sign in to comment.