Closed jhlegarreta closed 2 months ago
Re https://github.com/InsightSoftwareConsortium/ITK/pull/4626#issuecomment-2083812472 and https://github.com/InsightSoftwareConsortium/ITK/pull/4627#issuecomment-2083813278: 199 new warnings appeared today on RogueResearch22. Maybe the compiler does not show more than that many warnings. This addresses a few of them.
~Format issues are not related to this patch set: https://github.com/InsightSoftwareConsortium/ITK/actions/runs/8931230755/job/24532913042?pr=4639~
Edit: Solved in PR #4640. Thanks Matt.
Tried to use the copy and move disallow macro first, but the compiler was complaining: https://open.cdash.org/viewBuildError.php?buildid=9589284
Rather that trying with the defaults only for the image file reader/writer exceptions only (or the constructor vs assignment only), decided to be consistent across all 4.
Maybe some more investigation on which can be deleted vs defaulted, and developing a macro would be useful in a separate PR. I don't have the bandwidth for that, unfortunately.
Failures on macOS arm64 are unrelated: itkNiftiSpatialTemporalUnitsTest2
is failing. The dashboard shows that this test is failing on a number of sites as well (notified in the original PR https://github.com/InsightSoftwareConsortium/ITK/pull/4595#issuecomment-2092965413).
Fix implicit copy constructor definition deprecation warnings in image/mesh file reader exception classes by using explicitly the compiler-provided default implementation (together with the assignment assignment and move semantics).
Fixes:
and
and
and
Raised for example in: https://open.cdash.org/viewBuildError.php?type=1&buildid=9587875
PR Checklist