1
0
Fork 0

meson: Add -Werror=strict-aliasing

This warning can point out design issues, so it should be useful to
have it treated as error.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2406>
This commit is contained in:
Dor Askayo 2022-05-08 00:09:44 +03:00 committed by Marge Bot
parent 40edfbcbeb
commit 570b94fc43

View file

@ -427,6 +427,7 @@ if buildtype != 'plain'
'-Werror=pointer-to-int-cast',
'-Werror=empty-body',
'-Werror=write-strings',
'-Werror=strict-aliasing',
'-Wno-sign-compare',
'-Wno-cast-function-type',
'-Wno-unused-parameter',