summaryrefslogtreecommitdiffstats
path: root/tools/generate-gperfs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/generate-gperfs.py')
-rwxr-xr-xtools/generate-gperfs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/generate-gperfs.py b/tools/generate-gperfs.py
index 3887bb6ee9..1e22a61406 100755
--- a/tools/generate-gperfs.py
+++ b/tools/generate-gperfs.py
@@ -16,8 +16,9 @@ if __name__ == '__main__':
print("""\
%{
-#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \\"-Wimplicit-fallthrough\\"")
+#if __GNUC__ >= 15
+_Pragma("GCC diagnostic ignored \\"-Wzero-as-null-pointer-constant\\"")
#endif
%}""")
print(f"""\