Re:A review of endianness bugs in Qt, and how they were fixed
by alfanick on Saturday January 02, 2021 @04:50AM
(#25611573)
s/compiles to/may or may not compile to/
[ Parent
| on HN ]
Re:A review of endianness bugs in Qt, and how they were fixed
by amelius on Saturday January 02, 2021 @10:05AM
(#25613246)
Exactly. You might not be so lucky on a different platform.
Imho a better way to handle this would be to use a macro or special function that comes with the compiler, assuming it exists of course.