On Tuesday, 26 December 2017 at 22:55:18 UTC, Walter Bright wrote:
I compiled the code snippet with clang++, a modern C++ compiler, with -Wall. It did not detect the obvious error.
https://clang.llvm.org/docs/AddressSanitizer.html
codephantom via Digitalmars-d Tue, 26 Dec 2017 16:01:37 -0800
On Tuesday, 26 December 2017 at 22:55:18 UTC, Walter Bright wrote:
I compiled the code snippet with clang++, a modern C++ compiler, with -Wall. It did not detect the obvious error.
https://clang.llvm.org/docs/AddressSanitizer.html