[libdvdnav-devel] [Git][videolan/libdvdread][master] meson: provide similar error checks in MSVC

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Fri Jul 31 07:41:34 UTC 2026



Jean-Baptiste Kempf pushed to branch master at VideoLAN / libdvdread


Commits:
e149111f by Steve Lhomme at 2026-07-31T09:38:58+02:00
meson: provide similar error checks in MSVC

They don't all map exactly.

- - - - -


1 changed file:

- meson.build


Changes:

=====================================
meson.build
=====================================
@@ -126,17 +126,17 @@ endif
 
 if get_option('extra_checks')
     optional_arguments += [
-        '-Werror-implicit-function-declaration',
+        '-Werror-implicit-function-declaration', '-we4013',
         '-Werror=missing-field-initializers',
-        '-Werror=format',
-        '-Werror=return-mismatch',
-        '-Werror=incompatible-pointer-types',
+        '-Werror=format', '-we4477', '-we4313',
+        '-Werror=return-mismatch', '-we4098', '-we4033',
+        '-Werror=incompatible-pointer-types', '-we4047',
         '-Werror=restrict',
         '-Werror=int-conversion',
         '-Werror=implicit-int',
         '-Werror=declaration-missing-parameter-type',
         '-Werror=excess-initializers',
-        '-Werror=unterminated-string-initialization',
+        '-Werror=unterminated-string-initialization', '-we4295',
     ]
 endif
 



View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/commit/e149111f8f69ef291e4d8c166527257c3c86cea4

-- 
View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/commit/e149111f8f69ef291e4d8c166527257c3c86cea4
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the libdvdnav-devel mailing list