Skip to content

Update compiler-limits.md #4505

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 3 commits into from
Jun 5, 2023
Merged

Update compiler-limits.md #4505

merged 3 commits into from
Jun 5, 2023

Conversation

anporumb
Copy link
Contributor

with the introduction of the conformant preprocessor the number of arguments has been bumped to 32767 (an int16_t)

with the introduction of the conformant preprocessor the number of arguments has been bumped to 32767 (an int16_t)
@prmerger-automator
Copy link
Contributor

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

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 8ea5f6d:

✅ Validation status: passed

File Status Preview URL Details
docs/cpp/compiler-limits.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

@@ -11,9 +11,9 @@ The C++ standard recommends limits for various language constructs. The followin

- Nesting levels of compound statements, iteration control structures, and selection control structures - C++ standard: 256, Microsoft C++ compiler: depends on the combination of statements that are nested, but generally between 100 and 110.

- Parameters in one macro definition - C++ standard: 256, Microsoft C++ compiler: 127.
- Parameters in one macro definition - C++ standard: 256, Microsoft C++ compiler: 32767.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/Zc:preprocessor- is still the default for most compiler modes so this may need to be qualified as "under /Zc:preprocessor-:127, under /ZC:preprocssor:32767"

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anporumb - Rastaban's comment seems like an important qualification. I'll hold off merging this until that's added.

@Jak-MS
Copy link
Contributor

Jak-MS commented Apr 11, 2023

@TylerMSFT

  • Can you review this PR?
  • IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#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 Apr 11, 2023
zie87 pushed a commit to zie87/cpp-docs that referenced this pull request Apr 19, 2023
Updated C6383, C28159, C28160, C28213, C33010
incorp tech review
Copy link
Collaborator

@TylerMSFT TylerMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears this was abandoned. I made the suggested changes and will merge this now.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 6873aec:

✅ Validation status: passed

File Status Preview URL Details
docs/cpp/compiler-limits.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 0d39dd9:

✅ Validation status: passed

File Status Preview URL Details
docs/cpp/compiler-limits.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

@TylerMSFT TylerMSFT merged commit 75444b6 into MicrosoftDocs:main Jun 5, 2023
learn-build-service-prod bot added a commit that referenced this pull request Jun 6, 2023
* Update compiler-limits.md

with the introduction of the conformant preprocessor the number of arguments has been bumped to 32767 (an int16_t)

* Update compiler-limits.md

incorp tech review

* Update compiler-limits.md

---------

Co-authored-by: huypub <[email protected]>
Co-authored-by: learn-build-service-prod[bot] <113403604+learn-build-service-prod[bot]@users.noreply.github.com>
Co-authored-by: anporumb <[email protected]>
Co-authored-by: Tyler Whitney <[email protected]>
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.

4 participants