-
Notifications
You must be signed in to change notification settings - Fork 976
Update C2182 error reference #5693
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
base: main
Are you sure you want to change the base?
Update C2182 error reference #5693
Conversation
Learn Build status updates of commit c55580a: ✅ Validation status: passed
For more details, please refer to the build report. |
PRMerger Results
|
Can you review the proposed changes? Important: When the changes are ready for publication, adding a #label:"aq-pr-triaged" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Updates the C2182 compiler error reference to reflect changes introduced in MSVC v19.32 VS17.2, including a new error message format and updated examples.
- Updated error message from "illegal use of type 'void'" to "this use of 'void' is not valid"
- Enhanced documentation to clarify void arrays and pointers to void usage
- Replaced outdated example that no longer triggers C2182 with current examples
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
compiler-errors-c2100-through-c2199.md | Updated error message text in the index table |
compiler-error-c2182.md | Updated error message, remarks section, example code, and metadata date |
void
arrays and pointers tovoid
void
)