Skip to content

fix(css_composer): drop nested comment opener from Doxygen comment - #313

Merged
gg582 merged 1 commit into
devfrom
fix/doxygen-nested-comment
Oct 5, 2026
Merged

gg582 merged 1 commit into
devfrom
fix/doxygen-nested-comment

Conversation

@gg582

@gg582 gg582 commented Oct 5, 2026

Copy link
Copy Markdown
Member

The Doxygen comment on cwist_css_minify() from #312 contains a comment opener (/ followed by *) inside a comment. CI builds with WERROR=1, so -Wcomment fails the build at src/core/html/css_composer.o. This breaks dev's CI and every PR built against dev (e.g. #310's Address/UB Sanitizer job).

The fix describes the syntax in words. It only changes the comment.

Checked: every .c file touched by #312 compiles with -Wcomment -Werror=comment, and this was the only hit.

The cwist_css_minify() comment added in 3b5c5ed spelled out the
preserved license-comment syntax, which put a comment opener inside a
comment.  GCC's -Wcomment flags it, and CI builds with -Werror, so dev
(and every PR built against it) fails at css_composer.o.  Describe the
syntax in words instead.
@gg582
gg582 merged commit a300193 into dev Oct 5, 2026
14 checks passed
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