Skip to content

radiobutton: fix unused-parameter build error#4139

Merged
BsAtHome merged 1 commit into
LinuxCNC:masterfrom
grandixximo:fix/radiobutton-period
Jun 8, 2026
Merged

radiobutton: fix unused-parameter build error#4139
BsAtHome merged 1 commit into
LinuxCNC:masterfrom
grandixximo:fix/radiobutton-period

Conversation

@grandixximo

@grandixximo grandixximo commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

radiobutton.comp ignores period, but defaults to option period on, so the generated FUNCTION carried an unused long period and broke the RT build under -Werror=unused-parameter. Adding option period no; drops the parameter.

master currently fails rip-and-test / rip-and-test-clang because of this.

@BsAtHome @hansu @andypugh please merge.

Component ignores period, so generated FUNCTION kept an unused long
period and tripped -Werror=unused-parameter. Add 'option period no'.
@NTULINUX

NTULINUX commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Thank you for this!

@grandixximo

grandixximo commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

No problem, has to be merged, we have a broken tree...

@BsAtHome BsAtHome merged commit c7c0d4f into LinuxCNC:master Jun 8, 2026
16 checks passed
@grandixximo

Copy link
Copy Markdown
Contributor Author

Good Morning, Bertho :-)

@BsAtHome

BsAtHome commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

@hansu broke the tree when merging 2.9 into the master branch. Any merge must be compiled from a clean slate locally before committing or you risk breaking the tree, like happened here.

@hansu

hansu commented Jun 8, 2026

Copy link
Copy Markdown
Member

Sorry I forgot about the adaptions needed for halcomp in master. But yeah a testbuild would have been better.

@hansu

hansu commented Jun 8, 2026

Copy link
Copy Markdown
Member

Always a pleasure doing these merges...

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.

4 participants