summaryrefslogtreecommitdiffstats
path: root/src/timesync/timesyncd-gperf.gperf
diff options
context:
space:
mode:
Diffstat (limited to 'src/timesync/timesyncd-gperf.gperf')
-rw-r--r--src/timesync/timesyncd-gperf.gperf3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/timesync/timesyncd-gperf.gperf b/src/timesync/timesyncd-gperf.gperf
index 37eb56eed5..5543813f2d 100644
--- a/src/timesync/timesyncd-gperf.gperf
+++ b/src/timesync/timesyncd-gperf.gperf
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
%{
_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"
#include "timesyncd-conf.h"