-
Notifications
You must be signed in to change notification settings - Fork 424
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
Portability issue with inet_aton on FreeBSD 13.2 #22549
Comments
To fix it change the line to use inet_pton. I use this since 1.31, Should I send a pull request? runtime/src/qui/sys.c line 113and forward. int sys_set_sys_sockaddr_t(sys_sockaddr_t* addr, const char* host, u_int16_t port, int family) |
@EduardoMorras - thanks very much for figuring it out. Yes, a PR would be greatly appreciated. |
PR done. Not signed. |
In compiling Chapel 1.31 (pre-release) on FreeBSD 13.2, I see this warning:
I looked at a few simple things before timing out on the issue:
#define _BSD_SOURCE
does not seem to help#include
s does not seem to help.I've created this issue to keep track of the issue and its solution.
The text was updated successfully, but these errors were encountered: