Skip to content

Improve C4324 warning reference#5569

Open
Rageking8 wants to merge 5 commits intoMicrosoftDocs:mainfrom
Rageking8:improve-c4324-warning-reference
Open

Improve C4324 warning reference#5569
Rageking8 wants to merge 5 commits intoMicrosoftDocs:mainfrom
Rageking8:improve-c4324-warning-reference

Conversation

@Rageking8
Copy link
Contributor

  • 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 in the remarks
  • Improve example:
    • Remove superfluous main function and add /c flag
    • Prefer standard alignas over __declspec(align)
    • Extend the example with an empty struct and okay case
  • Update metadata

@prmerger-automator
Copy link
Contributor

@Rageking8 : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@v-dirichards
Copy link
Contributor

v-dirichards commented Jul 22, 2025

@TylerMSFT

Can you review the proposed changes?

Editorial changes LGTM

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 Jul 22, 2025
@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 683a635:

✅ Validation status: passed

File Status Preview URL Details
docs/error-messages/compiler-warnings/compiler-warning-level-4-c4324.md ✅Succeeded
docs/error-messages/compiler-warnings/compiler-warnings-c4200-through-c4399.md ✅Succeeded

For more details, please refer to the build report.

@prmerger-automator
Copy link
Contributor

PRMerger Results

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

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