compiling from cvs

Nick Merrett nmerrett at optushome.com.au
Thu Jun 20 12:57:20 CEST 2002


Hi all,

i just downloaded the xfce-stable from cvs, but had a compile issue

snprintf.c: In function `dopr':
snprintf.c:269: `short int' is promoted to `int' when passed through`...'
snprintf.c:269: (so you should pass `int' not `short int' to `va_arg')
snprintf.c:279: `short unsigned int' is promoted to `int' when passedthrough `...'
snprintf.c:289: `short unsigned int' is promoted to `int' when passedthrough `...'
snprintf.c:301: `short unsigned int' is promoted to `int' when passedthrough `...'
make[2]: *** [snprintf.lo] Error 1

the gcc version is  2.96 20000731 (Red Hat Linux 7.3 2.96-110)

i tried changing 'short int' to just 'int', which seemed to correct this
problem but another develops.

Thanks
-- 
Nick Merrett   nmerrett at optushome.com.au
----------------------------------------
XFce  - The Cholesterol Free Desktop Environment
http://www.xfce.org 



More information about the Xfce mailing list