Skip to content

Commit 8a5ab98

Browse files
committed
Meson/MSVC: Ignore warning C4706
... which means "assignment within conditional expression". We don't really need to worry too much about this warning here.
1 parent 7c8d22e commit 8a5ab98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ if is_msvc
287287
# dangerous ones glaring, distributed with GLib
288288
'/EHsc', # avoid warnings caused by exception handling model used
289289
'/utf-8', # Avoid C4819 unicode conversion warnings when building on CJK locales
290+
'/wd4706', # assignment within conditional expression
290291
]
291292
if host_machine.cpu_family() == 'x86_64' or host_machine.cpu_family() == 'aarch64'
292293
# 'var' : conversion from 'size_t' to 'type', possible loss of data (applies on 64-bit builds)

0 commit comments

Comments
 (0)