Investigate what's up with printf("%lu", -1)
#586
Labels
area:infrastructure
Repository infrastructure: build, test scripts etc.
kind:bug
Something isn't working
status:help-wanted
Open for contributors
We've used to have a following test:
Cesium/Cesium.IntegrationTests/stdlib/printf.c
Lines 24 to 26 in 67d2c81
It was, to my surprise, portable across all the platforms: on Windows, Linux and macOS agents we run on, it was printing
4294967295
in all compilers Cesium, GCC and MSVC.But this is wrong!
On LP64 platforms (Linux and macOS) it ought to be printing
18446744073709551615
.And it started to do so, but only on macOS and only since 2024-04-28 (perhaps after
macos-latest
has migrated to AARCH64?). On Linux, it still emulates LLP64 it seems?And Cesium should always be printing this number, since it is an LP64 compiler (this I've fixed in #585).
We should:
TODO[#586]
) and re-enable the test.The text was updated successfully, but these errors were encountered: