Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
bpo-45723: Add macro for disabling/enabling CC warnings (GH-29466)#29466
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
cc.@tiran |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
- Use AS_VAR_IF() a couple of more times- Use CFLAGS iso. CC when overriding compiler flags
bedevere-bot commentedNov 8, 2021
Do you want a NEWS item for this,@tiran? |
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.
LGTM, thanks!
Thanks for reviewing! |
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Christian Heimes <christian@python.org>
Uh oh!
There was an error while loading.Please reload this page.
PY_CHECK_CC_WARNING
helperac_cv_[enable|disable]_[flag_name]_warning
; for exampleac_cv_disable_unused_result_warning
AS_IF
to check results and add flagsNo new cache vars added, so there is no speedups; only simplified ac code.
Bonus: fixed a misspelling bug (see
ac_cv_enable_enable_strict_prototypes_warning
)https://bugs.python.org/issue45723