-
-
Notifications
You must be signed in to change notification settings - Fork 713
WIP: [Do not merge] Change the default char type to unsigned
#5455
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
base: main
Are you sure you want to change the base?
WIP: [Do not merge] Change the default char type to unsigned
#5455
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
|
itkHDF5ImageIOTest fails because of a bug (missing unsigned ITK/Modules/IO/HDF5/src/itkHDF5ImageIO.cxx Lines 783 to 787 in 8de372e
NATIVE_CHAR different from NATIVE_UCHAR, even when the native (default) char is unsigned (equivalent to unsigned char).
However, I must say, I don't understand exactly what's going on there 🤷 |
6852856 to
724f51a
Compare
2bb4eac to
4b63bf3
Compare
4b63bf3 to
4604362
Compare
b8ab121 to
c163521
Compare
|
Should this be closed or rebased, given that #5473 was merged? |
c163521 to
0c97bdf
Compare
Thanks for asking, @dzenanz. It's still useful for me to keep this PR open for a little while, although it is never meant to be merged. I believe there are still a few small |
0c97bdf to
18e206e
Compare
Just as an experiment!
Mapped `H5::PredType::NATIVE_CHAR` to either `IOComponentEnum::SCHAR` or `IOComponentEnum::UCHAR`, depending on the signedness of `char`.
18e206e to
1cafc2a
Compare
|
Should second and third commit be put into a separate PR, meant to be merged? |
The HDF5ImageIO commit ("ENH: Support H5::PredType::NATIVE_SCHAR...") might be OK as well, but as I still see a failure of itkHDF5ImageIOTest, it may not be good enough yet 🤷 |
1cafc2a to
75351bd
Compare
Just as an experiment!
Triggered by @blowekamp at #5450 (comment)