|
From: Luca T. <no...@gi...> - 2026-10-11 23:50:38
|
Branch: refs/heads/master Home: https://github.com/LinuxCNC/linuxcnc Commit: 247f327d11ee8bc6ba8f0d119aa550f30eea5392 https://github.com/LinuxCNC/linuxcnc/commit/247f327d11ee8bc6ba8f0d119aa550f30eea5392 Author: Luca Toniolo <107...@us...> Date: 2026-10-11 (Sun, 11 Oct 2026) Changed paths: M src/libnml/cms/cms.hh M src/libnml/nml/cmd_msg.cc M src/libnml/nml/cmd_msg.hh M src/libnml/nml/nml.cc M src/libnml/nml/nml.hh M src/libnml/nml/nmlmsg.cc M src/libnml/nml/nmlmsg.hh Log Message: ----------- libnml: use int64_t instead of long for CMS/NML sizes and ids Since efe4ef2029f the CMS_UPDATER overloads are fixed-width. On LP64 long == int64_t so callers passing long still compiled; on ILP32 long matches no overload and the i386 build fails (260 errors, all in libnml). Use explicit int64_t at the affected declarations. No functional change on 64-bit. Side effect: the NML encoded header layout no longer depends on the width of long. Commit: 6b72db84963d0dc1054f8fd682d0348a67b3ef08 https://github.com/LinuxCNC/linuxcnc/commit/6b72db84963d0dc1054f8fd682d0348a67b3ef08 Author: Luca Toniolo <107...@us...> Date: 2026-10-11 (Sun, 11 Oct 2026) Changed paths: M src/hal/components/plasmac.comp M src/rtapi/rtapi_stdint.h Log Message: ----------- plasmac: print 64-bit sint values arch-neutrally The plasmac low_cut_volts print used %ld with a hal_get_sint() value (int64_t), which only matches on LP64. Use PRId64, since rtapi_print_msg is the only output channel in a realtime component. The kernel branch of rtapi_stdint.h has no inttypes.h, so give it PRId64/PRIu64 fallbacks matching printk's long long s64. Commit: c67a718de50dc09460cc60c33ca9594b8f53de4d https://github.com/LinuxCNC/linuxcnc/commit/c67a718de50dc09460cc60c33ca9594b8f53de4d Author: Luca Toniolo <107...@us...> Date: 2026-10-12 (Mon, 12 Oct 2026) Changed paths: M src/hal/components/plasmac.comp M src/libnml/cms/cms.hh M src/libnml/nml/cmd_msg.cc M src/libnml/nml/cmd_msg.hh M src/libnml/nml/nml.cc M src/libnml/nml/nml.hh M src/libnml/nml/nmlmsg.cc M src/libnml/nml/nmlmsg.hh M src/rtapi/rtapi_stdint.h Log Message: ----------- Merge pull request #4614 from grandixximo/nml-int64-ilp32 libnml: use int64_t instead of long for CMS/NML sizes and ids Compare: https://github.com/LinuxCNC/linuxcnc/compare/3a7faff4bbc2...c67a718de50d To unsubscribe from these emails, change your notification settings at https://github.com/LinuxCNC/linuxcnc/settings/notifications |