Enabling address sanitizer yields warnings due to _FORTIFY_SOURCE redefinition.

This commit is contained in:
Jorge Acereda 2019-06-20 12:12:26 +02:00
parent 7d1d16dd53
commit e8c9d77d8f

View File

@ -6,7 +6,7 @@
This might not work on all compilers, but reasonably new versions of GCC and Clang are supported.") This might not work on all compilers, but reasonably new versions of GCC and Clang are supported.")
(defndynamic sanitize-addresses [] (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 (doc check-allocations "will check the allocations made by the program
immediately, raising a `SIGABRT` if it fails.") immediately, raising a `SIGABRT` if it fails.")