commit | 782efd12bd3df64edfbb73c25d8c20319a8b98ba | [log] [tgz] |
---|---|---|
author | Gabor Toth <gabor.toth@arm.com> | Wed Mar 26 10:49:48 2025 +0100 |
committer | Antonio de Angelis <Antonio.deAngelis@arm.com> | Fri May 02 10:08:31 2025 +0000 |
tree | 125ee6573981f2e32c77f74f6c1fd64e5cccc2f6 | |
parent | 02c6404fdd6cce339819bce739339cfb452afb18 [diff] [blame] |
build: Enable GNU null-dereference warning Add -Wnull-dereference to GNU toolchain for additional null pointer warnings. Signed-off-by: Gabor Toth <gabor.toth@arm.com> Change-Id: I39d81d561255d23e32cccc5e984f9b337befc95a
diff --git a/toolchain_GNUARM.cmake b/toolchain_GNUARM.cmake index d8c0e35..e1a1c1d 100644 --- a/toolchain_GNUARM.cmake +++ b/toolchain_GNUARM.cmake
@@ -114,6 +114,7 @@ -Wall -Wno-format -Wno-unused-but-set-variable + -Wnull-dereference -c -fdata-sections -ffunction-sections