problem compiling arla-0.34.1
Bernhard Mogens Ege
bme at vision.auc.dk
Thu Aug 17 11:27:03 CEST 2000
I have just downloaded arla-0.34.1, ./configure'd it, and did a make,
which errored:
gcc -c -DHAVE_CONFIG_H -I../../include -I. -g -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs snprintf.c
snprintf.c: In function `xyzprintf':
snprintf.c:373: `short int' is promoted to `int' when passed through `...'
snprintf.c:373: (so you should pass `int' not `short int' to `va_arg')
snprintf.c:389: `short unsigned int' is promoted to `int' when passed through `...'
snprintf.c:399: `short unsigned int' is promoted to `int' when passed through `...'
snprintf.c:409: `short unsigned int' is promoted to `int' when passed through `...'
snprintf.c:419: `short unsigned int' is promoted to `int' when passed through `...'
make[2]: *** [snprintf.o] Error 1
make[2]: Leaving directory `/root/projects/arla-0.34.1/lib/roken'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/projects/arla-0.34.1/lib'
make: *** [all] Error 1
gcc is version 2.96 (if it matters). Generally, I am using stuff from
rawhide, which might cause the problem. Retrying with kgcc
(egcs-2.91.66) solves the problem.
Is this a gcc 2.96 bug or an arla assumption that doesn't hold?
regards,
Bernhard Ege
More information about the Arla-drinkers
mailing list