Skip to content

Repo sync for protected branch #5051

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .openpublishing.redirection.json
Original file line number Diff line number Diff line change
Expand Up @@ -7750,6 +7750,21 @@
"redirect_url": "/cpp/error-messages/compiler-errors-2/compiler-errors-c2500-through-c2599",
"redirect_document_id": false
},
{
"source_path": "docs/error-messages/compiler-errors-1/fatal-error-c999.md",
"redirect_url": "/cpp/error-messages/compiler-errors-1/c-cpp-build-errors",
"redirect_document_id": false
},
{
"source_path": "docs/error-messages/compiler-errors-1/fatal-error-c1000-c1999.md",
"redirect_url": "/cpp/error-messages/compiler-errors-1/c-cpp-build-errors",
"redirect_document_id": false
},
{
"source_path": "docs/error-messages/compiler-warnings/compiler-warning-level-1-c4999.md",
"redirect_url": "/cpp/error-messages/compiler-errors-1/c-cpp-build-errors",
"redirect_document_id": false
},
{
"source_path": "docs/error-messages/compiler-warnings/index.md",
"redirect_url": "/cpp/error-messages/compiler-warnings/compiler-warnings-c4000-through-c4199",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ The articles in this section of the documentation explain a subset of the error

| Error | Message |
|--|--|
| Compiler error C2000 | UNKNOWN ERROR<br /> Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information |
| [Compiler error C2001](compiler-error-c2001.md) | newline in constant |
| [Compiler error C2002](compiler-error-c2002.md) | invalid wide-character constant |
| [Compiler error C2003](compiler-error-c2003.md) | expected 'defined id' |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ The articles in this section of the documentation explain a subset of the error

| Error | Message |
|--|--|
| [Fatal error C999](fatal-error-c999.md) | UNKNOWN MESSAGE<br />Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information |
| [Fatal error C1000](fatal-error-c1000-c1999.md) | UNKNOWN FATAL ERROR<br />Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information |
| [Fatal error C1001](fatal-error-c1001.md) | An internal error has occurred in the compiler.<br /> (compiler file '*file*', line *number*)<br /> To work around this problem, try simplifying or changing the program near the locations listed above. Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information |
| [Fatal error C1002](fatal-error-c1002.md) | compiler is out of heap space in pass 2 |
| [Fatal error C1003](fatal-error-c1003.md) | error count exceeds *number*; stopping compilation |
Expand Down Expand Up @@ -207,7 +205,6 @@ The articles in this section of the documentation explain a subset of the error
| [Fatal error C1905](fatal-error-c1905.md) | Front end and back end not compatible (must target same processor). |
| Fatal error C1906 | assembly reference '*name*' not resolved for type '*type-name*'; missing option '-FU *filename*.dll'? |
| Fatal error C1907 | unable to recover from previous error(s); stopping compilation |
| [Fatal error C1999](fatal-error-c1000-c1999.md) | UNKNOWN FATAL ERROR Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information |

## See also

Expand Down
12 changes: 0 additions & 12 deletions docs/error-messages/compiler-errors-1/fatal-error-c1000-c1999.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/error-messages/compiler-errors-1/fatal-error-c999.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ The articles in this section of the documentation explain a subset of the error
| [Compiler error C2996](compiler-error-c2996.md) | '*function*': recursive function template definition |
| Compiler error C2997 | '*function*': array bound cannot be deduced from a default member initializer |
| [Compiler error C2998](compiler-error-c2998.md) | '*declarator*': cannot be a template definition |
| Compiler error C2999 | UNKNOWN ERROR Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information |

## See also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,6 @@ The articles in this section explain a subset of the error messages generated by
|Compiler error C3996|Obsolete.|
| Compiler error C3997 | Warbird: *message* |
|Compiler error C3998|'c++*version*': unsupported C++ version; defaulting to 'c++*version*'|
|Compiler error C3999|UNKNOWN ERROR *message* Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information|

## See also

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,6 @@ These warnings, and all warnings in later versions, are suppressed by using the

| Warning | Message |
|--|--|
| C4000 | `UNKNOWN WARNING Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information` |
| [C4272](compiler-warning-level-1-c4272.md) | `'type': is marked __declspec(dllimport); must specify native calling convention when importing a function.` |
| [C4333](compiler-warning-level-1-c4333.md) | `'expression': right shift by too large amount, data loss` |
| [C4334](compiler-warning-level-3-c4334.md) | `'expression': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ The articles in this section describe Microsoft C/C++ compiler warning messages

|Warning|Message|
|-------------|-------------|
|Compiler warning C4000|UNKNOWN WARNING<br/> Please choose the Technical Support command on the Visual C++<br/> Help menu, or open the Technical Support help file for more information|
|[Compiler warning (level 4, no longer emitted) C4001](compiler-warning-level-4-c4001.md)|nonstandard extension 'single line comment' was used|
|[Compiler warning (level 1, Error) C4002](compiler-warning-level-1-c4002.md)|too many arguments for function-like macro invocation '*identifier*'|
|[Compiler warning (level 1, Error) C4003](compiler-warning-level-1-c4003.md)|not enough arguments for function-like macro invocation '*identifier*'|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ The articles in this section describe Microsoft C/C++ compiler warning messages
| [Compiler warning (level 3) C4996](compiler-warning-level-3-c4996.md) | '*deprecated-declaration*': *deprecation-message* (or "was declared deprecated") |
| [Compiler warning (level 1) C4997](compiler-warning-level-1-c4997.md) | '*class*': coclass does not implement a COM interface or pseudo-interface |
| Compiler warning (level 1) C4998 | EXPECTATION FAILED: *expectation*(*value*) |
| [Compiler warning C4999](compiler-warning-level-1-c4999.md) | UNKNOWN WARNING Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information |

## See also

Expand Down
2 changes: 1 addition & 1 deletion docs/error-messages/includes/error-boilerplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
To get help on a particular diagnostic message in Visual Studio, select it in the **Output** window and press the **F1** key. Visual Studio opens the documentation page for that error, if one exists. You can also use the search tool at the top of the page to find articles about specific errors or warnings. Or, browse the list of errors and warnings by tool and type in the table of contents on this page.

> [!NOTE]
> Not every Visual Studio error or warning is documented. In many cases, the diagnostic message provides all of the information that's available. If you landed on this page when you used **F1** and you think the error or warning message needs additional explanation, let us know. You can use the feedback buttons on this page to raise a documentation issue on [GitHub](https://github.com/MicrosoftDocs/cpp-docs/issues). If you think the error or warning is wrong, or you've found another problem with the toolset, report a product issue on the [Developer Community](https://aka.ms/feedback/report?space=62) site. You can also send feedback and enter bugs within the IDE. In Visual Studio, go to the menu bar and choose **Help > Send Feedback > Report a Problem**, or submit a suggestion by using **Help > Send Feedback > Send a Suggestion**.
> Not every Visual Studio error or warning is documented. In many cases, the diagnostic message provides all of the information that's available. If you landed on this page when you used **F1** and you think the error or warning message needs additional explanation, let us know. You can use the feedback buttons on this page to raise a documentation issue on [GitHub](https://github.com/MicrosoftDocs/cpp-docs/issues). If you think the error or warning is wrong, or you've found another problem with the toolset, report a product issue on the [Developer Community](https://aka.ms/feedback/report?space=62) site. You can also send feedback and enter bugs within the IDE. In Visual Studio, go to the menu bar and choose **Help > Send Feedback > Report a Problem**, or submit a suggestion by using **Help > Send Feedback > Send a Suggestion**. Some compiler error topics were created that are not emitted by the compiler and now redirect to this page instead.

You may find additional assistance for errors and warnings in [Microsoft Learn Q&A](/answers/topics/c%2B%2B.html) forums. Or, search for the error or warning number on the Visual Studio C++ [Developer Community](https://aka.ms/vsfeedback/browsecpp) site. You can also search [Stack Overflow](https://stackoverflow.com/) to find solutions.

Expand Down
6 changes: 0 additions & 6 deletions docs/error-messages/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ items:
items:
- name: Compiler fatal errors C999 through C1999
href: compiler-errors-1/compiler-fatal-errors-c999-through-c1999.md
- name: Fatal error C999
href: compiler-errors-1/fatal-error-c999.md
- name: Fatal error C1000, C1999
href: compiler-errors-1/fatal-error-c1000-c1999.md
- name: Fatal error C1001
href: compiler-errors-1/fatal-error-c1001.md
- name: Fatal error C1002
Expand Down Expand Up @@ -4331,8 +4327,6 @@ items:
href: compiler-warnings/compiler-warning-level-3-c4996.md
- name: Compiler warning (level 1) C4997
href: compiler-warnings/compiler-warning-level-1-c4997.md
- name: Compiler warning (level 1) C4999
href: compiler-warnings/compiler-warning-level-1-c4999.md
- name: Compiler warnings C5000 through C5199
expanded: false
items:
Expand Down