diff options
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); |