Skip to content

(master) xquartz: parentheses around macro argument symbols#2941

Open
metux wants to merge 1 commit into
masterfrom
pr/master-xquartz-parentheses-around-macro-argument-symbols-_2026-06-09_13-59-27
Open

(master) xquartz: parentheses around macro argument symbols#2941
metux wants to merge 1 commit into
masterfrom
pr/master-xquartz-parentheses-around-macro-argument-symbols-_2026-06-09_13-59-27

Conversation

@metux

@metux metux commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

For safety, add extra parantheses on each used macro argument.
In most cases not strictly necessary, but better have some strict
and automatically enforcable policy here than wasting time on
judging individual cases.

Signed-off-by: Enrico Weigelt, metux IT consult info@metux.net

@metux metux self-assigned this Jun 9, 2026
@metux metux requested a review from a team June 9, 2026 11:59
metux added a commit that referenced this pull request Jun 9, 2026
metux added a commit that referenced this pull request Jun 9, 2026
metux added a commit that referenced this pull request Jun 9, 2026
metux added a commit that referenced this pull request Jun 9, 2026
@metux

metux commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

Closing to re-trigger CI

@metux metux closed this Jun 9, 2026
@metux metux reopened this Jun 9, 2026
metux added a commit that referenced this pull request Jun 9, 2026
For safety, add extra parantheses on each used macro argument.
In most cases not strictly necessary, but better have some strict
and automatically enforcable policy here than wasting time on
judging individual cases.

Exception: the token pasting operator ## cannot be used with
parenthesized arguments, so X_PFX is left unchanged.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
@metux metux force-pushed the pr/master-xquartz-parentheses-around-macro-argument-symbols-_2026-06-09_13-59-27 branch from a634c2e to 1f1a9e8 Compare June 10, 2026 08:33
metux added a commit that referenced this pull request Jun 10, 2026
For safety, add extra parantheses on each used macro argument.
In most cases not strictly necessary, but better have some strict
and automatically enforcable policy here than wasting time on
judging individual cases.

Exception: the token pasting operator ## cannot be used with
parenthesized arguments, so X_PFX is left unchanged.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
metux added a commit that referenced this pull request Jun 10, 2026
For safety, add extra parantheses on each used macro argument.
In most cases not strictly necessary, but better have some strict
and automatically enforcable policy here than wasting time on
judging individual cases.

Exception: the token pasting operator ## cannot be used with
parenthesized arguments, so X_PFX is left unchanged.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
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.

1 participant