diff options
Diffstat (limited to 'scripts/makekeys')
-rwxr-xr-x | scripts/makekeys | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/makekeys b/scripts/makekeys index 4732f8d..f6a0280 100755 --- a/scripts/makekeys +++ b/scripts/makekeys @@ -17,8 +17,10 @@ print(''' entry_offsets = {} print(''' +#ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Woverlength-strings" +#endif static const char *keysym_names = '''.strip()) offs = 0 @@ -28,7 +30,9 @@ for (name, _) in sorted(entries, key=lambda e: e[0].lower()): offs += len(name) + 1 print(''' ; +#ifdef __GNUC__ #pragma GCC diagnostic pop +#endif '''.strip()) print(''' |