Skip to content

Commit b6cd91f

Browse files
author
Colin Robertson
committed
Add link to /GL
1 parent b998503 commit b6cd91f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/porting/binary-compat-2015-2017.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ There are three important restrictions on binary compatibility:
1717

1818
- The Redistributable your app uses has a similar binary-compatibility restriction. When you mix binaries built by different supported versions of the toolset, the Redistributable version must be at least as new as the latest toolset used by any app component.
1919

20-
- Static libraries or object files compiled using the `/GL` compiler switch *aren't* binary-compatible across versions. All object files and libraries compiled using `/GL` must use exactly the same toolset for the compile and the final link.
20+
- Static libraries or object files compiled using the [/GL (Whole program optimization)](../build/reference/gl-whole-program-optimization.md) compiler switch *aren't* binary-compatible across versions. All object files and libraries compiled using `/GL` must use exactly the same toolset for the compile and the final link.
2121

2222
## Upgrade the Microsoft Visual C++ Redistributable from Visual Studio 2015 or 2017 to Visual Studio 2019
2323

0 commit comments

Comments
 (0)