cpp-docs
cpp-docs copied to clipboard
C++ Documentation
- Mention `/LDd` as it also defines `_DEBUG`, as per: https://github.com/MicrosoftDocs/cpp-docs/blob/0ffedaacde5c17bd4e98535b221df1b0e9d2753f/docs/preprocessor/predefined-macros.md?plain=1#L168 https://github.com/MicrosoftDocs/cpp-docs/blob/0ffedaacde5c17bd4e98535b221df1b0e9d2753f/docs/build/reference/md-mt-ld-use-run-time-library.md?plain=1#L29 - Add link to "Predefined macros" in "See also" section - Simplify and add some links - Update...
The trailing spaces in the multiline `#define`s break the escapes, causing loads of syntax errors. This PR also includes some cleanups.
- Add "Remarks" and "Example" headings - Change "structname" in warning message to "type" as C4324 also applies to `class` and `union` - Add some details about "class/struct/union" and `alignas`...
Fix wrong `-fsanitizer=address` flag (extra "r") and clean up trailing spaces for examples.
- Add blockquotes and update warning message (use "operator" instead of "identifier" as it's more precise) - Expand on the remarks and provide ample links to the respective reference topics...
- Fix some typos - Clean up duplicate semicolons and double/trailing spaces - Fix extraneous `>` in `mismatch` syntax
…as per https://pubs.opengroup.org/onlinepubs/9699919799/functions/tmpnam.html
Add missing C2554 `f1_keywords` and `helpviewer_keywords` in "Compiler errors C2500 Through C2599"
C2554 was added in commit https://github.com/MicrosoftDocs/cpp-docs/commit/6ec0265a1f3fed286da8ba3a283811ce202c91c5, but the `f1_keywords` and `helpviewer_keywords` were not updated. No other errors seem to be missing or extraneous.
- Update error message (remove space before colon and replace "*identifier*" with "`__func__`") - Add `__func__` link and tweak remarks (use "identifier" instead of "macro" as per [`docs/cpp/func.md`](https://github.com/MicrosoftDocs/cpp-docs/blob/cc6f72e767ff9195e3d720bbcabcd56d6597045c/docs/cpp/func.md)) - Add...