File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,6 +50,17 @@ If defined, disables the default C++/WinRT diagnostic that detects that you mist
5050
5151We strongly recommended that you don't define this symbol, because doing so masks a common source of programming errors.
5252
53+ ## WINRT_NO_SOURCE_LOCATION
54+ If defined, disables the inclusion of source file and line number information
55+ (and in debug builds, function information),
56+ when originating errors.
57+
58+ This additional information is not used by C++/WinRT, but it is made available to other libraries which
59+ wish to interoperate with C++/WinRT exceptions, such as the [ Windows Implementation Library] ( https://github.com/Microsoft/wil ) .
60+
61+ By default, the information is included when compiled in C++20 mode or higher.
62+ You may wish to suppress this information to reduce binary size.
63+
5364## WINRT_DIAGNOSTICS
5465If defined, enables internal statistics to track various operations:
5566* The number of times each interface was queried.
You can’t perform that action at this time.
0 commit comments