Open tbirdso opened 8 months ago
Thanks for reporting. @tbirdso itk::ElastixLogLevel
is a strongly typed enum, defined here:
SWIG does support strongly typed enumerations:
https://www.swig.org/Doc3.0/CPlusPlus11.html#CPlusPlus11_strongly_typed_enumerations
So it should be fine, I'm not sure how to solve this issue 🤷 Do you have a suggestion?
Perhaps take a look at https://github.com/InsightSoftwareConsortium/ITK/blob/master/Documentation/docs/migration_guides/itk_5_migration_guide.md#strongly-typed-enumerations? Concretely, add itk_wrap_simple_class("itk::ElastixLogLevel")
to wrapping somewhere.
@N-Dekker @dzenanz Thanks for the suggestions! This is a low-priority issue that (to my knowledge) is not holding up any work for now. I will not be able to lead a resolution, @dzenanz 's suggestion sounds like the best path forward if someone else would like to take that on.
Observed build warning with ITK v5.4rc2:
https://github.com/InsightSoftwareConsortium/ITKElastix/actions/runs/6723314415/job/18273138069