| commit | 11c0cc3cacc6fd0bf194e65435e4b1e4a88f6a96 | [log] [tgz] |
|---|---|---|
| author | Brad Bishop <bradbish@qti.qualcomm.com> | Tue Jul 08 16:04:25 2025 -0400 |
| committer | Brad Bishop <bradbish@qti.qualcomm.com> | Tue Jul 29 12:25:59 2025 -0400 |
| tree | 505aab5bc3be1046afcb1e2a4fdf9b286dd1d2c3 | |
| parent | 197de181eb41093c88dd00b9c7e314e7fc554980 [diff] [blame] |
build: enable and fix -Wshadow Shadow names can be prone to bugs. Enable the warning to avoid them in the future. Tested by building and running the unit tests. Change-Id: Ic3227675f4ff40d266ae2a60c66c894f16e5888e Signed-off-by: Brad Bishop <bradbish@qti.qualcomm.com>
diff --git a/meson.build b/meson.build index 4508e20..d7b8132 100644 --- a/meson.build +++ b/meson.build
@@ -32,6 +32,7 @@ '-Wlogical-op', '-Wunused-parameter', '-Wdouble-promotion', + '-Wshadow', language: 'cpp', ) endif