From e8c9d77d8f25f96a3c39ec04fe79be49b145c39a Mon Sep 17 00:00:00 2001 From: Jorge Acereda Date: Thu, 20 Jun 2019 12:12:26 +0200 Subject: [PATCH] Enabling address sanitizer yields warnings due to _FORTIFY_SOURCE redefinition. --- core/Debug.carp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Debug.carp b/core/Debug.carp index a9e5acb4..1168ed38 100644 --- a/core/Debug.carp +++ b/core/Debug.carp @@ -6,7 +6,7 @@ This might not work on all compilers, but reasonably new versions of GCC and Clang are supported.") (defndynamic sanitize-addresses [] - (add-cflag "-fsanitize=address")) + (add-cflag "-fsanitize=address -Wno-macro-redefined")) (doc check-allocations "will check the allocations made by the program immediately, raising a `SIGABRT` if it fails.")