mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-12-02 09:02:36 +00:00
6f6e27644e
C11 _Noreturn is only accepted on function declarations, not on function pointers, so we can't use it on callbacks like game_import_t.error and refimport_t.Sys_Error. Use a separate macro for those. The problematic situation doesn't currently happen because the Makefile hard-codes -std=gnu99, which disables C11 features; but removing -std=gnu99 (resulting in the compiler's default, currently gnu11) causes compilation failures with at least gcc 9.x. Signed-off-by: Simon McVittie <smcv@debian.org> |
||
---|---|---|
.. | ||
backends | ||
client | ||
common | ||
game | ||
server | ||
win-wrapper |