Bugzilla – Bug 137125
WindowMaker-applets-1.0-660: undefined C code
Last modified: 2006-02-02 11:20:59 UTC
I just tried to compile package WindowMaker-applets-1.0-660 with a prerelease of the GNU C compiler version 4.1. It said 1. wmcube.c:685: warning: operation on `i' may be undefined The source code is zorder[i+1] = zorder[i--]; I agree with the compiler - this code seems to be undefined. Suggest new code zorder[i+1] = zorder[i]; --i; 2. wmcube.c:959: warning: operation on `i' may be undefined The source code is fscanf(fp,"%d %d",&cline[i++],&cline[i++]); I agree with the compiler - this code seems to be undefined. Suggest new code fscanf( fp, "%d %d", &cline[i], &cline[i + 1]); i += 2; BTW, the email address of the author is broken [ robkli-8@student.luth.se ]
fixed for 10.1 beta4