We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When building on RHEL7 malloc is undefined in SPiiPlusAuxDriver.cpp and calloc is undefined in SPiiPlusCommDriver.cpp.
malloc
calloc
Adding #include <stdlib.h> to SPiiPlusAuxDriver.cpp and #include <cstdlib> to SPiiPlusCommDriver.cpp resolves the problem.
#include <stdlib.h>
#include <cstdlib>
The text was updated successfully, but these errors were encountered:
Merge pull request #25 from epics-motor/issue24
bcc4b40
Added include statements required for calloc and malloc on RHEL7. Fixes #24
Successfully merging a pull request may close this issue.
When building on RHEL7
malloc
is undefined in SPiiPlusAuxDriver.cpp andcalloc
is undefined in SPiiPlusCommDriver.cpp.Adding
#include <stdlib.h>
to SPiiPlusAuxDriver.cpp and#include <cstdlib>
to SPiiPlusCommDriver.cpp resolves the problem.The text was updated successfully, but these errors were encountered: