|
1 | 1 | ---
|
2 | 2 | title: "Compiler warnings C4800 Through C5999"
|
3 |
| -ms.date: "04/21/2019" |
| 3 | +description: "Table of Microsoft C/C++ compiler warnings C4800 through C5999." |
| 4 | +ms.date: 10/18/2020 |
4 | 5 | f1_keywords: ["C4808", "C4809", "C4825", "C4827", "C4837", "C4841", "C4842", "C4843", "C4844", "C4845", "C4846", "C4847", "C4848", "C4854", "C4855", "C4856", "C4857", "C4872", "C4880", "C4881", "C4882", "C4916", "C4921", "C4934", "C4954", "C4955", "C4963", "C4966", "C4970", "C4971", "C4973", "C4974", "C4981", "C4987", "C4988", "C4989", "C4990", "C4991", "C4992", "C4998", "C5022", "C5023", "C5024", "C5025", "C5026", "C5027", "C5028", "C5029", "C5030", "C5031", "C5032", "C5033", "C5034", "C5035", "C5036", "C5037", "C5039", "C5040", "C5041", "C5042", "C5043", "C5044", "C5047", "C5048", "C5049", "C5050", "C5051", "C5052", "C5053", "C5054", "C5055", "C5056", "C5057", "C5058", "C5059", "C5060", "C5061", "C5062", "C5063", "C5100", "C5101", "C5102", "C5103", "C5104", "C5106", "C5107", "C5108", "C5200", "C5201", "C5202", "C5203", "C5204", "C5205", "C5206", "C5207"]
|
5 |
| -helpviewer_keywords: ["C4808", "C4809", "C4825", "C4827", "C4837", "C4841", "C4842", "C4843", "C4844", "C4845", "C4846", "C4847", "C4848", "C4854", "C4855", "C4856", "C4857", "C4872", "C4880", "C4881", "C4882", "C4916", "C4921", "C4934", "C4954", "C4955", "C4963", "C4966", "C4970", "C4971", "C4973", "C4974", "C4981", "C4987", "C4988", "C4989", "C4990", "C4991", "C4992", "C4998", "C5022", "C5023", "C5024", "C5025", "C5026", "C5027", "C5028", "C5029", "C5030", "C5031", "C5032", "C5033", "C5034", "C5035", "C5036", "C5037", "C5039", "C5040", "C5041", "C5042", "C5043", "C5044", "C5047", "C5048", "C5049", "C5050", "C5051", "C5052", "C5053", "C5054", "C5055", "C5056", "C5057", "C5058", "C5059", "C5060", "C5061", "C5062", "C5063", "C5100", "C5101", "C5102", "C5103", "C5104", "C5106", "C5107", "C5108", "C5200", "C5201", "C5202", "C5203", "C5204", "C5205", "C5206", "C5207"] |
| 6 | +helpviewer_keywords: ["C4808", "C4809", "C4825", "C4827", "C4837", "C4841", "C4842", "C4843", "C4844", "C4845", "C4846", "C4847", "C4848", "C4854", "C4855", "C4856", "C4857", "C4872", "C4880", "C4881", "C4882", "C4916", "C4921", "C4934", "C4954", "C4955", "C4963", "C4966", "C4970", "C4971", "C4973", "C4974", "C4981", "C4987", "C4988", "C4989", "C4990", "C4991", "C4992", "C4998", "C5022", "C5023", "C5024", "C5025", "C5026", "C5027", "C5028", "C5029", "C5030", "C5031", "C5032", "C5033", "C5034", "C5035", "C5036", "C5037", "C5039", "C5040", "C5041", "C5042", "C5043", "C5044", "C5047", "C5048", "C5049", "C5050", "C5051", "C5052", "C5053", "C5054", "C5055", "C5056", "C5057", "C5058", "C5059", "C5060", "C5061", "C5062", "C5063", "C5100", "C5101", "C5102", "C5103", "C5104", "C5106", "C5107", "C5108", "C5200", "C5201", "C5202", "C5203", "C5204", "C5205", "C5206", "C5207", "C5209", "C5210", "C5211", "C5212", "C5213", "C5214", "C5215", "C5216", "C5217", "C5218", "C5219", "C5220", "C5221"] |
6 | 7 | ---
|
7 |
| -# Compiler warnings C4800 Through C5999 |
| 8 | +# Compiler warnings C4800 through C5999 |
8 | 9 |
|
9 | 10 | The articles in this section of the documentation explain a subset of the warning messages that are generated by the compiler.
|
10 | 11 |
|
@@ -188,6 +189,19 @@ The articles in this section of the documentation explain a subset of the warnin
|
188 | 189 | | Compiler warning C5206 | deduced return types for coroutines is a non-standard extension |
|
189 | 190 | | Compiler warning C5207 | the simple requirement asserts the validity of expression '`e->id`'. Did you mean '`{ e } -> id`'? You can suppress the warning using '`{ e->id }`' |
|
190 | 191 | | [Compiler warning (level 1) C5208](c5208.md) | unnamed class used in `typedef` name cannot declare members other than non-static data members, member enumerations, or member classes |
|
| 192 | +| Compiler warning C5209 | the C++20 syntax for an init-capture has changed to '& ...opt identifier initializer' | |
| 193 | +| Compiler warning C5210 | '*name*' is not a valid header unit reference; ignoring | |
| 194 | +| Compiler warning C5212 | '*name*' is not a valid named reference; treating as reference to file | |
| 195 | +| Compiler warning C5213 | '*name*' named reference is treated as a named partition but the name is not specified; treating as reference to file | |
| 196 | +| Compiler warning C5214 | applying '*modifier*' to an operand with a volatile qualified type is deprecated in C++20 | |
| 197 | +| Compiler warning C5215 | '*name*' a function parameter with a volatile qualified type is deprecated in C++20 | |
| 198 | +| Compiler warning C5216 | '*name*' a volatile qualified return type is deprecated in C++20 | |
| 199 | +| Compiler warning C5217 | a structured binding declaration that includes volatile is deprecated in C++20 | |
| 200 | +| Compiler warning C5218 | destroying delete may not behave as intended when non-conforming switches '`/Zc:sizedDealloc-`' or '`/Zc:alignedNew-`' are used | |
| 201 | +| Compiler warning C5219 | implicit conversion from '*type-1*' to '*type-2*', possible loss of data | |
| 202 | +| Compiler warning C5220 | '*name*': a non-static data member with a volatile qualified type no longer implies that compiler generated copy/move constructors and copy/move assignment operators are not trivial | |
| 203 | +| Compiler warning C5221 | `xfg::rename` is deprecated. | |
| 204 | + |
191 | 205 |
|
192 | 206 | ## See also
|
193 | 207 |
|
|
0 commit comments