diff options
author | pommicket <pommicket@gmail.com> | 2025-09-14 11:49:47 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-14 11:49:47 -0400 |
commit | c8ef3a67210c980d5d1ff2c1bd7d8fffd39846b5 (patch) | |
tree | 4a89c76e2fc573e8e9a88fc3a602272a049b9d09 /pom.c | |
parent | 931a11868a81fc877c083b987108f72fc3fd2976 (diff) |
New typed-get API, again
Diffstat (limited to 'pom.c')
-rw-r--r-- | pom.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -234,9 +234,10 @@ make_error(const char *file, uint64_t line, const char *fmt, ...) { err->line = line; err->message = message; char *string = strchr(message, '\0') + 1; - // no, clang, string will not overlap with message. + // no, GCC, string will not overlap with message. #if __GNUC__ >= 4 #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wunknown-warning-option" #pragma GCC diagnostic ignored "-Wrestrict" #endif sprintf(string, "Error:\n%s:%" PRIu64 ": %s\n", file, line, message); |