Skip to content

Commit 70f4198

Browse files
committed
meson: Don't override meson's cpp_eh option
From meson 0.51.0, cpp_eh defaults to /EHsc on windows. Passing it to add_program_arguments() means downstream projects using cpp_eh=a will get warnings.
1 parent 2e69b2d commit 70f4198

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

meson.build

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ add_project_arguments(warning_flags, language: 'cpp')
303303
# that should not be overlooked stand out.
304304
if is_msvc
305305
disable_warnings_list = [
306-
'/EHsc', # avoid warnings caused by exception handling model used
307306
'/utf-8', # Avoid C4819 unicode conversion warnings when building on CJK locales
308307
'/wd4706', # assignment within conditional expression
309308
]

0 commit comments

Comments
 (0)