File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed 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
50
50
51
51
We strongly recommended that you don't define this symbol, because doing so masks a common source of programming errors.
52
52
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
+
53
64
## WINRT_DIAGNOSTICS
54
65
If defined, enables internal statistics to track various operations:
55
66
* The number of times each interface was queried.
You can’t perform that action at this time.
0 commit comments