diff options
Diffstat (limited to 'stdlib/metamethods.c')
| -rw-r--r-- | stdlib/metamethods.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/metamethods.c b/stdlib/metamethods.c index 0e7d3489..6c8583f3 100644 --- a/stdlib/metamethods.c +++ b/stdlib/metamethods.c @@ -16,6 +16,7 @@ #include "util.h" +#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstack-protector" PUREFUNC public uint64_t generic_hash(const void *obj, const TypeInfo_t *type) { @@ -82,6 +83,7 @@ PUREFUNC public uint64_t generic_hash(const void *obj, const TypeInfo_t *type) } } } +#pragma GCC diagnostic pop PUREFUNC public int32_t generic_compare(const void *x, const void *y, const TypeInfo_t *type) { |
