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
dde16d5 breaks Windows builds with GCC 14 and later, requiring -fpermissive in order to compile. Winsock setsockopt uses const char * for optval rather than const void * as it is on POSIX.
GCC 14 and later is strict about pointer casts and rejects the implicit cast from int * to const char *. The explicit char * cast was probably used to silence the warning that is now an error.
There is a misleading type cast in function modbus_tcp_listen().
I think
should be replaced by
similar to modbus_tcp_pi_listen(), or
I prefer the later one as to my understanding there is no type cast needed at this point at all.
The text was updated successfully, but these errors were encountered: