Description of problem: I just tried to compile package libwmf-0.2.8.3-2 from Redhat Fedora Core 3 Test 1. The compiler said 1. gd_gd2.c:641: warning: operation on `chunkPos' may be undefined The source code is ch = chunkBuf[chunkPos++] << 24 + chunkBuf[chunkPos++] << 16 + chunkBuf[chunkPos++] << 8 + chunkBuf[chunkPos++]; This code is undefined. Suggest ch = chunkBuf[ chunkPos] << 24 + chunkBuf[chunkPos + 1] << 16 + chunkBuf[chunkPos + 2] << 8 + chunkBuf[chunkPos + 3]; chunkPos += 4; is not undefined code. 2. recorder.c:767: warning: `return' with no value, in function returning non-void The source code is return; Suggest add return value. 3. recorder.c:1580: warning: `return' with no value, in function returning non-void The source code is if (length == 0) return; Same problem again. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Got it, fixed (along with all the other warnings) in libwmf-0.2.8.3-4 pushed to rawhide just now, should appear tomorrow. Also submitted upstream to http://sourceforge.net/tracker/index.php?func=detail&aid=1020302&group_id=10501&atid=310501