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
Copy link
Copy Markdown
Contributor

@grandixximo grandixximo commented Jun 8, 2026

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
Copy link
Copy Markdown
Contributor

NTULINUX commented Jun 8, 2026

Thank you for this!

@grandixximo
Copy link
Copy Markdown
Contributor Author

grandixximo commented Jun 8, 2026

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
Copy link
Copy Markdown
Contributor

BsAtHome commented Jun 8, 2026

@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
Copy link
Copy Markdown
Member

hansu commented Jun 8, 2026

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

@hansu
Copy link
Copy Markdown
Member

hansu commented Jun 8, 2026

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