Eggheads: compiling problem

Joker Joker at alwicom.net
Wed Nov 30 04:43:56 CST 2005


Hi, i got the following compiling error, tryed both eggdrop1.6.17 and 
latest CVS version on a OSF1 V5.1 machine but got same problem on both version

gcc -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H 
-DSTATIC  -c snprintf.c
snprintf.c: In function `dopr':
snprintf.c:280: `short int' is promoted to `int' when passed through `...'
snprintf.c:280: (so you should pass `int' not `short int' to `va_arg')
snprintf.c:293: `short unsigned int' is promoted to `int' when passed 
through `...'
snprintf.c:306: `short unsigned int' is promoted to `int' when passed 
through `...'
snprintf.c:321: `short unsigned int' is promoted to `int' when passed 
through `...'
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.

Joker




More information about the Eggheads mailing list