Warnings in r1403
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
Medium
|
Abdulaziz Ghuloum |
Bug Description
Found with "CFLAGS='-W -Wall -padantic'". I've removed all the "unused var", "comparison of signed and unsigned", "printf format wrong" and a few other warnings.
ikarus-fasl.c:292: warning: pointer of type ‘void *’ used in arithmetic
Due to "(void*)(long)x + y", I think this should be "(void*)((long)x + y)". Could be very serious.
ikarus-
ikarus-
Due to "unsigned int x; ... assert(x >= 0)" (I'm on the fence about whether this is a problem.)
ikarus-main.c:43: warning: string length ‘960’ is greater than the length ‘509’ ISO C89 compilers are required to support
Due to the help/usage message you could split it into multiple strings but probably not a problem.
ikarus-
Due to "void foo(...) { ... } ;" should be "void foo(...) { ... }". Trivial but an easy fix.
Changed in ikarus: | |
milestone: | none → 0.0.4 |
Fixed in rev 1415. Thanks.
(I ignored the long string for now)