Skip to content

Commit 36d88bf

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 ffcefec commit 36d88bf

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
@@ -271,6 +271,7 @@ if is_msvc
271271
# dangerous ones glaring, distributed with GLib
272272
'/EHsc', # avoid warnings caused by exception handling model used
273273
'/utf-8', # Avoid C4819 unicode conversion warnings when building on CJK locales
274+
'/wd4706', # assignment within conditional expression
274275
]
275276
if host_machine.cpu_family() == 'x86_64' or host_machine.cpu_family() == 'aarch64'
276277
# 'var' : conversion from 'size_t' to 'type', possible loss of data (applies on 64-bit builds)

0 commit comments

Comments
 (0)