You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ env LANG=C gcc q.c
In file included from q.c:2:
httpserver.h: In function 'http_listen':
httpserver.h:1223:40: error: 'SO_REUSEPORT' undeclared (first use in this function); did you mean 'SO_REUSEADDR'?
1223 | setsockopt(serv->socket, SOL_SOCKET, SO_REUSEPORT, &flag, sizeof(flag));
| ^~~~~~~~~~~~
| SO_REUSEADDR
httpserver.h:1223:40: note: each undeclared identifier is reported only once for each function it appears in
glibc: 2.33
gcc: 10.2.0
This #43 PR resolves issue
The text was updated successfully, but these errors were encountered:
glibc: 2.33
gcc: 10.2.0
This #43 PR resolves issue
The text was updated successfully, but these errors were encountered: