-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
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
ssize_t is not C compliant #2486
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
For sending and receiving packets (UDP and TCP) the result used in the stack is of type ssize_t, which is a posix type, not a standard C type. This comes from using the functions send, recv and similars from posix, which returns these types.
But this comes to a problem to other architectures. For now, the workaround is to define ssize_t normally to int, in the architecture.h file. But in the stack itself (anywhere outside the arch folder) this ssize_t should be changed, maybe to int, but I'm not sure about it
Background Information / Reproduction Steps
Checklist
Please provide the following information:
UA_LOGLEVEL
set as low as necessary) attached: non applicableThe text was updated successfully, but these errors were encountered: