[PD] tiny gcc 3 compile problem

Burton Samograd kruhft at shaw.ca
Sat Jul 6 21:20:50 CEST 2002


I'm compiling pd test29 with gcc 3 and i ran into the following
warning (treated as error)

s_inter.c: line 564 gives a minor warning of "operation might be
undefined" or something like that...i didn't write the exact warning
text down.  Changing the line from:

 server.sin_port = htons((unsigned short)(++portno));


 server.sin_port = htons((unsigned short)(portno));

 solved the problem.


More information about the Pd-list mailing list