Warning patrol
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Released
|
Low
|
Abdulaziz Ghuloum |
Bug Description
A few warnings found with "cd src; make -s CFLAGS='-W -Wall'":
ikarus-collect.c: In function ‘ik_collect’:
ikarus-
ikarus-main.c: In function ‘main’:
ikarus-main.c:144: warning: unused variable ‘buff’
ikarus-runtime.c: In function ‘ik_safe_alloc’:
ikarus-
scheme-script.c: In function ‘main’:
scheme-script.c:40: warning: implicit declaration of function ‘strerror’
scheme-script.c:40: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
scheme-script.c:38: warning: unused variable ‘rv’
For the first group, you need to include <sys/time.h>. For the next to last group you need to include <string.h>. The others should be obvious.
There are other warnings, but they are all unused parameter and comparison between signed and unsigned (i.e. less important).
Changed in ikarus: | |
status: | Fix Committed → Fix Released |
removed all warning and added -Wall to configure's CFLAGS so that it's on by default now (revision 1218). Thanks.