Skip to content

Commit 70295ea

Browse files
authored
Merge pull request #4923 from MicrosoftDocs/main
5/25 AM Publish
2 parents aa5da93 + d11ae81 commit 70295ea

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

docs/porting/visual-cpp-change-history-2003-2015.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,10 @@ Additionally, ongoing improvements to compiler conformance can sometimes change
253253
254254
The `smallheap` link option has been removed. See [Link Options](../c-runtime-library/link-options.md).
255255
256+
- **_stat**
257+
258+
The [`_stat`](../c-runtime-library/reference/stat-functions.md) family of functions use `CreateFile` in Visual Studio 2015, instead of `FindFirstFile` as in Visual Studio 2013 and earlier. This means that `_stat` on a path ending with a slash succeeds if the path refers to a directory, as opposed to before when the function would error with `errno` set to `ENOENT`.
259+
256260
#### \<string.h>
257261
258262
- **wcstok**

docs/sanitizers/error-container-overflow.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ In Visual Studio 2022 version 17.2 and later, the MSVC standard library (STL) is
1515
| Standard container type | Disable annotations macro | Supported in version |
1616
|--|--|--|
1717
| `std::vector` | `_DISABLE_VECTOR_ANNOTATION` | Visual Studio 2022 17.2 |
18+
| `std::string` | `_DISABLE_STRING_ANNOTATION` | Visual Studio 2022 17.6 |
1819

1920
When a standard type has annotations enabled, to avoid one-definition-rule (ODR) violations, each static library and object used to link the binary must also enable those annotations. Effectively, you must build those static libraries and objects with AddressSanitizer enabled. Mixing code with different annotation settings causes an error:
2021

0 commit comments

Comments
 (0)