♻ update meson

This commit is contained in:
Vladislav Nepogodin 2021-12-01 16:42:20 +04:00
parent 196430ebcc
commit e3e8ce9be6
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

View File

@ -51,6 +51,7 @@ possible_cc_flags = [
'-Wdouble-promotion', # float to double
'-Wformat=2',
'-Wimplicit-fallthrough', # fallthrough without an explicit annotation
]
if cc.get_id() == 'gcc'
@ -60,6 +61,7 @@ if cc.get_id() == 'gcc'
'-Wduplicated-cond',
'-Wduplicated-branches',
'-Wlogical-op',
'-Wuseless-cast',
]
endif