diff options
author | pommicket <pommicket@gmail.com> | 2025-09-14 22:08:22 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-14 22:08:22 -0400 |
commit | 969bf523b7039c7038b66edde5776278c27941ac (patch) | |
tree | 89a9754ff69046c813f238bff424be7cec722cdb /pom.c | |
parent | 0302aca4e1aa3eb495970af40a63f8bf4cf95779 (diff) |
Start tests
Diffstat (limited to 'pom.c')
-rw-r--r-- | pom.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -266,15 +266,14 @@ make_error(const char *file, uint64_t line, enum error_id id, ...) { err->message = message; char *string = strchr(message, '\0') + 1; // no, GCC, string will not overlap with message. - #if __GNUC__ >= 4 + #if !__clang__ && __GNUC__ >= 4 #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wunknown-warning-option" #pragma GCC diagnostic ignored "-Wrestrict" #endif sprintf(string, "%s\n%s:%" PRIu64 ": %s\n", get_error_message(ERROR_HEADER), file, line, message); - #if __GNUC__ >= 4 + #if !__clang__ && __GNUC__ >= 4 #pragma GCC diagnostic pop #endif err->string = string; |