Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
ASAN enabled without debug information emission. Enable debug info for better ASAN error reporting
Remarks
This warning occurs when you compile with Address Sanitizer (ASAN) turned on, but you don't also instruct the compiler to emit debug info. ASAN uses debug info to provide better diagnostics.
Example
The following command line generates warning C5072:
cl /fsanitize=address /EHsc test.cpp
To fix it, have the compiler generate debug information by using a switch like /Zi or /Z7, like this:
cl /fsanitize=address /EHsc /Zi test.cpp