how do you stop using addresssanitizer?

The problem is simple: for it to work, -fsanitize=address must be present in both compilation and linking command lines. To disable it, it must not be used in either.

You must have old .o object files in your build directory. One solution would be to use make clean to remove the intermediate or target files.

If you do not have the clean target, now would be good time to write it… or use something like find -name '*.o' -delete or rm **/*.o if fortunate enough to use ZSH.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top