summaryrefslogtreecommitdiffstats
path: root/matrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'matrace.c')
-rw-r--r--matrace.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/matrace.c b/matrace.c
index defaf2b..21c63a7 100644
--- a/matrace.c
+++ b/matrace.c
@@ -174,7 +174,10 @@ static void setup(void) {
"mutrace: good idea to recompile with -rdynamic enabled since this produces more\n"
"mutrace: useful stack traces.\n\n");
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
if (__malloc_hook) {
+#pragma GCC diagnostic pop
fprintf(stderr,
"matrace: Detected non-glibc memory allocator. Your program uses some\n"
"matrace: alternative memory allocator (jemalloc?) which is not compatible with\n"