diff options
Diffstat (limited to 'src/udev/generate-keyboard-keys-gperf.sh')
-rwxr-xr-x | src/udev/generate-keyboard-keys-gperf.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/udev/generate-keyboard-keys-gperf.sh b/src/udev/generate-keyboard-keys-gperf.sh index 6d2f3606b8..fc34e4bd80 100755 --- a/src/udev/generate-keyboard-keys-gperf.sh +++ b/src/udev/generate-keyboard-keys-gperf.sh @@ -7,6 +7,9 @@ awk ' BEGIN { print "%{\n\ _Pragma(\"GCC diagnostic ignored \\\"-Wimplicit-fallthrough\\\"\")\n\ +#if __GNUC__ >= 15\n\ +_Pragma(\"GCC diagnostic ignored \\\"-Wzero-as-null-pointer-constant\\\"\")\n\ +#endif\n\ %}" print "struct key_name { const char* name; unsigned short id; };" print "%null-strings" |