Hello All.
I try to compile unixsim from contrib.
And i get error message as mentioned in the subject of my email.
By deleting '-Werror' from Makefile, the compilation goes fine.
The code in question is:
if (++port> TCP_LOCAL_PORT_RANGE_END) {
port = TCP_LOCAL_PORT_RANGE_START;
}
Can we change the code to:
if (port == TCP_LOCAL_PORT_RANGE_END) {
port = TCP_LOCAL_PORT_RANGE_START;
}
else
port++;
Thanks
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users