|
Bugzilla – Full Text Bug Listing |
| Summary: | abuse-0.7.0-378: undefined C code | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | David Binderman <dcb314> |
| Component: | Basesystem | Assignee: | Pavel Nemec <pnemec> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Minor | ||
| Priority: | P5 - None | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | SuSE Linux 10.0 | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
I forgot to mention that the email address of the author [ abuse@crack.com ] seems to be broken fixed thanks for report |
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.