Bugzilla – Bug 136851
abuse-0.7.0-378: undefined C code
Last modified: 2006-02-08 11:12:33 UTC
I just tried to compile package abuse-0.7.0-378 with a prerelease of the GNU C compiler version 4.1. It said 1. palette.cpp:529: warning: operation on "sl" may be undefined. The source code is *(sl++)=(( dest_r-(int)*sl)*fade_on/total_fades+*sl); I agree with the compiler - this code seems to be undefined. AFAIK, there are no guarantees in C that side effects on the left side of an assignment are evaluated after the right side. Suggest code rework. 2. light.cpp:611: warning: operation on "di" may be undefined. Duplicate.
I forgot to mention that the email address of the author [ abuse@crack.com ] seems to be broken
fixed thanks for report