more macOS whitelisting

X11, Qt, and util

also ensure the functional warnings.h macro definitions are used
with c++ clang compiler
This commit is contained in:
nhmall
2021-02-02 20:11:43 -05:00
parent 9684b75f54
commit 6f3337b75a
4 changed files with 21 additions and 0 deletions

View File

@@ -22,6 +22,8 @@ extern void vms_abort(void);
boolean panicking;
void panic(const char *, ...);
DISABLE_WARNING_FORMAT_NONLITERAL
void panic
VA_DECL(const char *, str)
{
@@ -46,6 +48,8 @@ VA_DECL(const char *, str)
exit(EXIT_FAILURE); /* redundant */
}
RESTORE_WARNING_FORMAT_NONLITERAL
#ifdef ALLOCA_HACK
/*
* In case bison-generated foo_yacc.c tries to use alloca(); if we don't