diff options
| author | Alejandro Colomar <alx@kernel.org> | 2024-08-27 11:22:11 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2024-08-27 11:38:20 +0200 |
| commit | de29ee64f74337551aac435354a30ab355ad2eb2 (patch) | |
| tree | 23f93cb5cf9ea8e5144f56c180b91490adf01c43 | |
| parent | 6a7f1461b0e5474d50ef1920558dec103c0c058f (diff) | |
| download | man-pages-de29ee64f74337551aac435354a30ab355ad2eb2.tar.gz | |
share/mk/: $CLANG_CFLAGS: -Wno-unreachable-code
The example program in ctime(3) triggers that diagnostic due to a
compile-time check of the signedness of time_t. The code is legitimate.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | share/mk/configure/build-depends/gcc/cc.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/mk/configure/build-depends/gcc/cc.mk b/share/mk/configure/build-depends/gcc/cc.mk index 6f27dbadc3..e4bf036322 100644 --- a/share/mk/configure/build-depends/gcc/cc.mk +++ b/share/mk/configure/build-depends/gcc/cc.mk @@ -47,6 +47,7 @@ GCC_CFLAGS := -fanalyzer CLANG_CFLAGS := \ -Weverything \ + -Wno-unreachable-code \ -Wno-unsafe-buffer-usage |
