diff options
author | Thomas Haller <thaller@redhat.com> | 2022-12-01 13:43:48 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2022-12-09 09:15:56 +0100 |
commit | 68afa83c1c2c88c130ed0e63dc312b2db9555091 (patch) | |
tree | 91c2ad3ee713529f496e79ac27a8b3a7f82a9622 /meson.build | |
parent | 68db5178086e4ae7ff83ecc15e68efc5888add97 (diff) | |
download | NetworkManager-68afa83c1c2c88c130ed0e63dc312b2db9555091.tar.gz |
build: enable "-Wcast-align" warning
It seems useful and might show something relevant.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 696a113e91..d956704e61 100644 --- a/meson.build +++ b/meson.build @@ -174,6 +174,7 @@ endif common_flags += cc.get_supported_arguments([ '-Wall', '-Wextra', + '-Wcast-align=strict', '-Wdeclaration-after-statement', '-Wfloat-equal', '-Wformat-nonliteral', |