Hi,
I am getting the following error when compiling snprintf.c in
cfengine2.0.4 on tru64 unix. gcc version 2.95.2 19991024 (release)
any help appreciated.
,
pete
source='snprintf.c' object='snprintf.o' libtool=no
depfile='.deps/snprintf.Po'
tmpdepfile='.deps/snprintf.TPo' depmode=gcc /bin/sh ../depcomp gcc
-DHAVE_CONF
IG_H -I. -I. -I../src -I/usr/local/BerkeleyDB.3.3/include -I/usr/include
-g
-O2 -I/usr/local/BerkeleyDB.3.3/include -g -O2 -Wreturn-type
-Wmissing-prototype
s -Wuninitialized -c `test -f 'snprintf.c' || echo './'`snprintf.c
snprintf.c: In function `vsnprintf':
snprintf.c:622: parse error before `int'
snprintf.c:622: parse error before `int'
snprintf.c:622: parse error before `)'
snprintf.c:636: parse error before `int'
snprintf.c:636: parse error before `int'
snprintf.c:636: parse error before `)'
snprintf.c:694: parse error before `int'
snprintf.c:694: parse error before `int'
snprintf.c:694: parse error before `)'
snprintf.c:700: parse error before `const'
snprintf.c:700: parse error before `const'
snprintf.c:700: parse error before `)'
snprintf.c:759: parse error before `void'
snprintf.c:759: parse error before `void'
snprintf.c:759: parse error before `)'
snprintf.c:770: parse error before `int'
snprintf.c:770: parse error before `int'
snprintf.c:770: parse error before `)'
snprintf.c:775: parse error before `long'
snprintf.c:775: parse error before `long'
snprintf.c:775: parse error before `)'
snprintf.c:791: parse error before `unsigned'
snprintf.c:791: parse error before `unsigned'
snprintf.c:791: parse error before `)'
snprintf.c:795: parse error before `unsigned'
snprintf.c:795: parse error before `unsigned'
snprintf.c:795: parse error before `)'
snprintf.c:621: warning: `j' might be used uninitialized in this function
*** Exit 1
Stop.
*** Exit 1
_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://mail.gnu.org/mailman/listinfo/help-cfengine