diff options
Diffstat (limited to 'src/network/networkd-gperf.gperf')
-rw-r--r-- | src/network/networkd-gperf.gperf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/networkd-gperf.gperf b/src/network/networkd-gperf.gperf index 21e8d12690..2eb847d119 100644 --- a/src/network/networkd-gperf.gperf +++ b/src/network/networkd-gperf.gperf @@ -1,7 +1,8 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ %{ -#if __GNUC__ >= 7 _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"") +#if __GNUC__ >= 15 +_Pragma("GCC diagnostic ignored \"-Wzero-as-null-pointer-constant\"") #endif #include <stddef.h> #include "conf-parser.h" |