-
-
Notifications
You must be signed in to change notification settings - Fork 689
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
DOC: fixing "unbalanced grouping commands" warnings #5262
base: master
Are you sure you want to change the base?
DOC: fixing "unbalanced grouping commands" warnings #5262
Conversation
I'm looking into the commit / compilation problems. |
You get the full list of messages if you click on the link. The first part is: Errors: commit 8b19ffd adds bad whitespace: Modules/Core/Common/include/itkPlatformMultiThreader.h:185: new blank line at EOF. commit 8b19ffd adds Examples/IO/XML/itkParticleSwarmOptimizerSAXReader.cxx with executable permissions, but the file does not look executable. commit 8b19ffd adds Examples/IO/XML/itkParticleSwarmOptimizerSAXWriter.cxx with executable permissions, but the file does not look executable. commit 8b19ffd adds Examples/RegistrationITKv4/DeformableRegistration4.cxx with executable permissions, but the file does not look executable. commit 8b19ffd adds Examples/RegistrationITKv4/DeformableRegistration6.cxx with executable permissions, but the file does not look executable. |
For pre-commit:
|
If you squash commits and force push, that might fix it.
Written on cellphone, excuse my brevity.
…On Sun, Mar 2, 2025, 11:26 albert-github ***@***.***> wrote:
The problem in the ghostflow looks like a false positive as this has been
fixed in 6e8c875
<6e8c875>
but the ghostflow refers to 8b19ffd
<8b19ffd>
So this looks to me a small problem in ghostflow, but I might be mistaken.
image.png (view on web)
<https://github.com/user-attachments/assets/b4ea848d-2551-463b-a3e7-d7c10e07db42>
—
Reply to this email directly, view it on GitHub
<#5262 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANVQ6IW34Y4P6CZPNLQEDL2SMWMTAVCNFSM6AAAAABYFKV7RKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJSHAYDGOBQGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: albert-github]*albert-github* left a comment
(InsightSoftwareConsortium/ITK#5262)
<#5262 (comment)>
The problem in the ghostflow looks like a false positive as this has been
fixed in 6e8c875
<6e8c875>
but the ghostflow refers to 8b19ffd
<8b19ffd>
So this looks to me a small problem in ghostflow, but I might be mistaken.
image.png (view on web)
<https://github.com/user-attachments/assets/b4ea848d-2551-463b-a3e7-d7c10e07db42>
—
Reply to this email directly, view it on GitHub
<#5262 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANVQ6IW34Y4P6CZPNLQEDL2SMWMTAVCNFSM6AAAAABYFKV7RKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJSHAYDGOBQGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I'll keep it in mind.
No problem. |
I added a new set of changes.
|
222250b
to
5f0b209
Compare
I just squashed the commits, and applied clang-format to all files. Let's see what the CI says now. |
5f0b209
to
630350e
Compare
@dzenanz
|
There are 38 compile errors, e.g.: Modules/Core/Common/include/itkPlatformMultiThreader.h:28: error: unterminated #ifndef Indeed, the last several lines were removed from this file. |
@dzenanz
|
Brute force approach to fix the "unbalanced grouping commands" warnings by explicitly placing the `ALIASES` `ITKStartGrouping` and `ITKEndGrouping` in the code where unbalanced grouping commands" warnings an attempt was made to insert the commands `@{` and `@}` and afterwards solving the warnings that were already present in respect to the "unbalanced grouping commands" warnings and also solving the warnings that appeared due to these changes. The usage of the script has been abandoned as this implicitly added the commands based on the layout and this is is hard to enforce and it is also hard to get the script without errors (would nearly require a compiler). This is related to issue InsightSoftwareConsortium#3654.
5457138
to
2d884aa
Compare
No problem. Thank you for contributing! |
- compilation problem.
Looking at ITK CDash, search for "Build Names" containing |
@dzenanz It is strange that a number of files missed some last lines (but with that many files it, unfortunately, can happen). I'll try to fix them (maybe one by one but hopefully faster. |
The CDash Experimental table is usually refreshed once the CI build workers finish, and report failures both to GitHub (the list of checks in the PR) and CDash. Without compile errors, a few hours. With compile errors, sooner 😄 |
Thanks. I'll check it out. |
- compilation problem.
Errors:
|
Any idea about the error from the kwrobot at #5262 (comment) Edit looks like the ghostflow wants now to revert a change that it beforehand would like to have... Edit 2 Looks partly like a self healing system. but now the precommit throws a similar message ... |
- compilation problem.
- consistency - missing code - pre-commit warnings
Brute force approach to fix the "unbalanced grouping commands" warnings by explicitly placing the
ALIASES
ITKStartGrouping
andITKEndGrouping
in the code where unbalanced grouping commands" warnings an attempt was made to insert the commands@{
and@}
and afterwards solving the warnings that were already present in respect to the "unbalanced grouping commands" warnings and also solving the warnings that appeared due to these changes.The usage of the script has been abandoned as this implicitly added the commands based on the layout and this is is hard to enforce and it is also hard to get the script without errors (would nearly require a compiler).
This is related to issue #3654
PR Checklist