whitelist some macOS clang format-nonliteral warnings

This commit is contained in:
nhmall
2021-02-02 19:50:07 -05:00
parent 5b1d668c44
commit 9684b75f54
4 changed files with 25 additions and 0 deletions

View File

@@ -462,6 +462,8 @@ init_linux_cons(void)
}
#endif /* __linux__ */
DISABLE_WARNING_FORMAT_NONLITERAL
#ifndef __begui__ /* the Be GUI will define its own error proc */
/* fatal error */
void
@@ -480,3 +482,6 @@ error(const char *s, ...)
exit(EXIT_FAILURE);
}
#endif /* !__begui__ */
RESTORE_WARNING_FORMAT_NONLITERAL