Skip to content

Commit

Permalink
MSVC: disable pre-2008 override warning
Browse files Browse the repository at this point in the history
  • Loading branch information
amyspark committed Jun 5, 2023
1 parent 0052d85 commit e64a428
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion impl/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,11 @@ if library_type == 'static' and isWindows
endif

if isWindows
libSubstrateArgs += cxx.get_supported_arguments('/permissive-', '/Zc:inline')
libSubstrateArgs += cxx.get_supported_arguments(
'/permissive-',
'/Zc:inline',
'/wd4373' # pre-2008 overriding with mismatched const parameters
)

rcCfg = configuration_data()
if cxx.get_id() == 'msvc' or cxx.get_id() == 'clang-cl'
Expand Down

0 comments on commit e64a428

Please sign in to comment.