Skip to content

[skip ci] Remove obsolete guideline how to comment out code #14621

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 1 commit into from
Jun 24, 2024

Conversation

petk
Copy link
Member

@petk petk commented Jun 21, 2024

This can lead to undefined warnings when building with -Wundef and using undefined FOO macro in #if condition. Also such code disabling should not be encouraged exactly.

This can lead to undefined warnings when building with -Wundef and using
undefined FOO macro in #if condition. Also such code disabling should
not be encouraged exactly.
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

Makes sense to me, especially now that we use git which has branches there is no need for temporary code to live in trunk

@petk petk merged commit 5236551 into php:master Jun 24, 2024
2 checks passed
@petk petk deleted the patch-coding-standards branch June 24, 2024 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants