-
Notifications
You must be signed in to change notification settings - Fork 967
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
Conversation
with the introduction of the conformant preprocessor the number of arguments has been bumped to 32767 (an int16_t)
@anporumb : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
Learn Build status updates of commit 8ea5f6d: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
docs/cpp/compiler-limits.md
Outdated
@@ -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. |
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.
/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"
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.
@anporumb - Rastaban's comment seems like an important qualification. I'll hold off merging this until that's added.
#label:"aq-pr-triaged" |
Updated C6383, C28159, C28160, C28213, C33010
incorp tech review
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.
It appears this was abandoned. I made the suggested changes and will merge this now.
Learn Build status updates of commit 6873aec: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Learn Build status updates of commit 0d39dd9: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
* 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]>
with the introduction of the conformant preprocessor the number of arguments has been bumped to 32767 (an int16_t)