You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -10,28 +11,28 @@ Specifies a Source Link configuration file to include in the PDB file generated
10
11
11
12
## Syntax
12
13
13
-
> **/SOURCELINK:**_filename_
14
+
> **`/SOURCELINK:`**_`filename`_
14
15
15
16
## Arguments
16
17
17
18
*filename*<br/>
18
-
Specifies a JSON-formatted configuration file that contains a simple mapping of local file paths to URLs where the source file can be retrieved for display by the debugger. For more information on the format of this file, see [Source Link JSON Schema](https://github.com/dotnet/designs/blob/master/accepted/diagnostics/source-link.md#source-link-json-schema).
19
+
Specifies a JSON-formatted configuration file that contains a simple mapping of local file paths to URLs for source files to display in the debugger. For more information on the format of this file, see [Source Link JSON Schema](https://github.com/dotnet/designs/blob/master/accepted/2020/diagnostics/source-link.md#source-link-json-schema).
19
20
20
21
## Remarks
21
22
22
-
Source Link is a language- and source-control agnostic system for providing source debugging for binaries. Source Link is supported for native C++ binaries starting in Visual Studio 2017 version 15.8. For an overview of Source Link, see [Source Link](https://github.com/dotnet/designs/blob/master/accepted/diagnostics/source-link.md). For information on how to use Source Link in your projects and how to generate the SourceLink file as part of your project, see [Using Source Link](https://github.com/dotnet/sourcelink#using-source-link-in-c-projects).
23
+
Source Link is a language- and source-control agnostic system for providing source debugging for binaries. Source Link is supported for native C++ binaries starting in Visual Studio 2017 version 15.8. For an overview of Source Link, see [Source Link](https://github.com/dotnet/designs/blob/master/accepted/2020/diagnostics/source-link.md). For information on how to use Source Link in your projects, and how to generate the SourceLink file as part of your project, see [Using Source Link](https://github.com/dotnet/sourcelink#using-source-link-in-c-projects).
23
24
24
25
### To set the /SOURCELINK linker option in Visual Studio
25
26
26
27
1. Open the **Property Pages** dialog box for the project. For more information, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
Copy file name to clipboardExpand all lines: docs/cppcx/interfaces-c-cx.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ When a ref class implements multiple interfaces, and those interfaces have metho
57
57
58
58
## Generic interfaces
59
59
60
-
In C++/CX, the `generic` keyword is used to represent a Windows Runtime parameterized type. A parameterized type is emitted in metadata and can be consumed by code that's written in any language that supports type parameters. The Windows Runtime defines some generic interfaces—for example, [Windows::Foundation::Collections::IVector\<T>](Windows::Foundation::Collections::IVector)—but it doesn't support the creation of public user-defined generic interfaces in C++/CX. However, you can create private generic interfaces.
60
+
In C++/CX, the `generic` keyword is used to represent a Windows Runtime parameterized type. A parameterized type is emitted in metadata and can be consumed by code that's written in any language that supports type parameters. The Windows Runtime defines some generic interfaces—for example, [Windows::Foundation::Collections::IVector\<T>](/uwp/api/Windows.Foundation.Collections.IVector_T_)—but it doesn't support the creation of public user-defined generic interfaces in C++/CX. However, you can create private generic interfaces.
61
61
62
62
Here's how Windows Runtime types can be used to author a generic interface:
Copy file name to clipboardExpand all lines: docs/cppcx/operator-windows-ui-xaml-interop-typename.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,16 +21,15 @@ Returns a [Windows::UI::Xaml::Interop::TypeName](/uwp/api/windows.ui.xaml.intero
21
21
22
22
`TypeName` is the language-neutral Windows Runtime struct for representing type information. [Platform::Type](../cppcx/platform-type-class.md) is specific to C++ and can’t be passed across the application binary interface (ABI). Here's one use of `TypeName`, in the [Navigate](/uwp/api/windows.ui.xaml.controls.frame.navigate) function:
Copy file name to clipboardExpand all lines: docs/mfc/reference/record-field-exchange-functions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -859,7 +859,7 @@ For more information, see the articles [Recordset: Fetching Records in Bulk (ODB
859
859
860
860
### Example
861
861
862
-
You must manually write calls in your `DoBulkFieldExchange` override. This example shows a call to `RFX_Text_Bulk`, as well as a call to `RFX_Long_Bulk`, for data transfer. These calls are preceded by a call to [CFieldExchange::SetFieldType](CFieldExchange::SetFieldType.md). Note that for parameters, you must call the RFX functions instead of the Bulk RFX functions.
862
+
You must manually write calls in your `DoBulkFieldExchange` override. This example shows a call to `RFX_Text_Bulk`, as well as a call to `RFX_Long_Bulk`, for data transfer. These calls are preceded by a call to [CFieldExchange::SetFieldType](cfieldexchange-class.md#setfieldtype). Note that for parameters, you must call the RFX functions instead of the Bulk RFX functions.
Copy file name to clipboardExpand all lines: docs/porting/porting-from-unix-to-win32.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,6 @@ To run a Linux program on Windows, you have these options:
10
10
11
11
- Run the program as-is on the Windows Subsystem for Linux (WSL). In WSL your program executes directly on the machine hardware, not in a virtual machine. WSL also enables direct filesystem calls between Windows and Linux systems, removing the need for SSL transport. WSL is designed as a command-line environment and is not recommended for graphics-intensive applications. For more information, see [Windows Subsystem for Linux Documentation](/windows/wsl/about).
12
12
- Run the program as-is in a Linux virtual machine or Docker container, either on your local machine or on Azure. For more information, see [Virtual Machines](https://azure.microsoft.com/services/virtual-machines/) and [Docker on Azure](https://docs.microsoft.com/azure/docker/).
13
-
- Compile the program using gcc or clang in the [MinGW](http://MinGW.org/) or [MinGW-w64](https://MinGW-w64.org/doku.php) environments, which provide a translation layer from Linux to Windows system calls.
13
+
- Compile the program using gcc or clang in the [MinGW](http://MinGW.org/) or [MinGW-w64](https://sourceforge.net/p/mingw-w64/wiki2/Home/) environments, which provide a translation layer from Linux to Windows system calls.
14
14
- Compile and run the program using gcc or clang in the [Cygwin](https://www.cygwin.com/) environment, which provides a more complete Linux environment on Windows compared to MinGW or MinGW-w64.
15
15
- Manually port your code from Linux and compile for Windows using Microsoft C++ (MSVC). This involves refactoring platform-independent code into separate libraries, and then re-writing the Linux-specific code to use Windows-specific code (for example, Win32 or DirectX APIs). For applications that require high performance graphics, this is probably the best option.
Copy file name to clipboardExpand all lines: docs/porting/visual-cpp-change-history-2003-2015.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2166,7 +2166,7 @@ Although these differences can affect your source code or other build artifacts,
2166
2166
warning C4720: unreachable code
2167
2167
```
2168
2168
2169
-
In many cases, this warning might only be issued when compiling with optimizations enabled, since optimizations may inline more function calls, eliminate redundant code, or otherwise make it possible to determine that certain code is unreachable. We have observed that new instances of warning C4720 have frequently occurred in **try/catch** blocks, especially in relation to use of [std::find](assetId:///std::find?qualifyHint=False&autoUpgrade=True).
2169
+
In many cases, this warning might only be issued when compiling with optimizations enabled, since optimizations may inline more function calls, eliminate redundant code, or otherwise make it possible to determine that certain code is unreachable. We have observed that new instances of warning C4720 have frequently occurred in **try/catch** blocks, especially in relation to use of [std::find](../standard-library/algorithm-functions.md#find).
Copy file name to clipboardExpand all lines: docs/porting/visual-cpp-what-s-new-2003-through-2015.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -979,7 +979,7 @@ Although these differences can affect your source code or other build artifacts,
979
979
warning C4720: unreachable code
980
980
```
981
981
982
-
In many cases, this warning might only be issued when compiling with optimizations enabled, since optimizations may inline more function calls, eliminate redundant code, or otherwise make it possible to determine that certain code is unreachable. We have observed that new instances of warning C4720 have frequently occurred in **try/catch** blocks, especially in relation to use of [std::find](assetId:///std::find?qualifyHint=False&autoUpgrade=True).
982
+
In many cases, this warning might only be issued when compiling with optimizations enabled, since optimizations may inline more function calls, eliminate redundant code, or otherwise make it possible to determine that certain code is unreachable. We have observed that new instances of warning C4720 have frequently occurred in **try/catch** blocks, especially in relation to use of [std::find](../standard-library/algorithm-functions.md#find).
This example demonstrates how to convert from a wide character (Unicode) [System::String](assetId:///System::String?qualifyHint=True&autoUpgrade=True) to the other string types listed above.
693
+
This example demonstrates how to convert from a wide character (Unicode) [System::String](/dotnet/api/system.string) to the other string types listed above.
0 commit comments