Sean,

Le 09/11/2022 à 01:08, Sean Gillies a écrit :

Argh, I typed "unsigned char" when I meant "signed". Changing GDT_Byte to *signed char* is too big of a change, I guess?

I don't believe that would be something reasonable to consider. The impact of such a change would be huge on the GDAL code base and also super disturbing for all GDAL users (users would have headaches to make their code base to work with GDAL versions before and after such a change). That could only go in a major release (GDAL 4.0), but it doesn't seem to me that's such a change is really desirable. There's just no universal convention on the signedness of something called "byte": in Java and numpy, byte is signed; in CSharp and Go, it is unsigned...

Even

--

http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to