Skip to content

Conversation

Rageking8
Copy link
Contributor

  • Update error message to the new one (introduced in MSVC v19.32 VS17.2 as per godbolt & image)
  • Augment the remarks by mentioning void arrays and pointers to void
  • Fix example as the old one no longer emits C2182 (it now emits the newer C7683 for reference to void)
  • Update metadata

Copy link
Contributor

Learn Build status updates of commit c55580a:

✅ Validation status: passed

File Status Preview URL Details
docs/error-messages/compiler-errors-1/compiler-error-c2182.md ✅Succeeded
docs/error-messages/compiler-errors-1/compiler-errors-c2100-through-c2199.md ✅Succeeded

For more details, please refer to the build report.

Copy link
Contributor

PRMerger Results

Issue Description
File Change Percent This PR contains file(s) with more than 30% file change.

@v-dirichards
Copy link
Contributor

@TylerMSFT

Can you review the proposed changes?

Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator bot added the aq-pr-triaged Tracking label for the PR review team label Aug 22, 2025
@v-dirichards v-dirichards self-assigned this Sep 24, 2025
Copy link
Contributor

@Copilot Copilot AI left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants