meson: Add test to check for strict cast alignments if supported

This commit is contained in:
Marco Trevisan (Treviño) 2022-12-16 20:48:40 +01:00
parent 938a1caf89
commit e9979b540f

View File

@ -76,7 +76,13 @@ gobject_tests = {
'signalgroup' : {},
'testing' : {},
'type-flags' : {},
'objects-refcount1' : {},
'objects-refcount1' : {
'c_args': cc.get_supported_arguments([
'-DG_DISABLE_CAST_CHECKS',
'-Werror',
'-Wcast-align=strict',
]),
},
'objects-refcount2' : {'suite' : ['slow']},
'properties-refcount1' : {},
'properties-refcount2' : {'suite' : ['slow']},