mirror of
https://github.com/carp-lang/Carp.git
synced 2024-10-26 05:45:37 +03:00
Enabling address sanitizer yields warnings due to _FORTIFY_SOURCE redefinition.
This commit is contained in:
parent
7d1d16dd53
commit
e8c9d77d8f
@ -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.")
|
||||
|
Loading…
Reference in New Issue
Block a user