Skip to content

Fix wrong INT64_MIN/MAX defines and naked preprocessor expansion#3981

Merged
BsAtHome merged 1 commit intoLinuxCNC:masterfrom
BsAtHome:fix_gh3978
Apr 29, 2026
Merged

Fix wrong INT64_MIN/MAX defines and naked preprocessor expansion#3981
BsAtHome merged 1 commit intoLinuxCNC:masterfrom
BsAtHome:fix_gh3978

Conversation

@BsAtHome
Copy link
Copy Markdown
Contributor

Fix #3978.

  • Inadvertent use of the wrong INT64_MIN/MAX defines instead of RTAPI_INT64_MIN/MAX.
  • Fix naked __cplusplus preprocessor usage of that requires a defined() check.

@hdiethelm
Copy link
Copy Markdown
Contributor

There is still an issue:

  Building modules, stage 2.
  MODPOST 219 modules
FATAL: modpost: GPL-incompatible module latencybinstream.ko uses GPL-only symbol 'hal_stream_depth'
make[2]: *** [scripts/Makefile.modpost:93: __modpost] Fehler 1

@BsAtHome
Copy link
Copy Markdown
Contributor Author

Just force-pushed a fix for the "license" statement. I thought it was more intelligent than it was.

@hdiethelm
Copy link
Copy Markdown
Contributor

It builds and works fine now. I tested in a VM.

@BsAtHome BsAtHome merged commit 791f9c0 into LinuxCNC:master Apr 29, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RTAI build broken in master

2 participants