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
===> Testing for usockets-0.8.7
cd /usr/ports/net/usockets/work/uSockets-0.8.7 && cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o test tests/sni_test.c /usr/ports/net/usockets/work/stage/usr/local/lib/libuSockets.so && ./test
tests/sni_test.c:25:38: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion]
assert(sni_add(sni, "*.google.com", 13) == 0);
^~
This is an invalid C code.
Also why is the extern "C" { block in the C file? This is also invalid.
All these errors are due to the obvious type mismatch in the code:
Version: 0.8.7
clang-16
FreeBSD 14.0
The text was updated successfully, but these errors were encountered: