Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
keys.c: disable -Warray-bounds warning from gcc >= 8. seems bogus.
In function 'Key_Console', inlined from 'Key_Event' at keys.c:1048:3: keys.c:544:4: warning: 'memmove' offset [-2147483647, -1] is out of the bounds [0, 8192] of object 'key_lines' with type 'char[32][256]' [-Warray-bounds] memmove (workline + 1, workline, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keys.c: In function 'Key_Event': keys.c:25:6: note: 'key_lines' declared here char key_lines[32][MAXCMDLINE]; ^~~~~~~~~
- Loading branch information