Subject: libstash problems (fwd)
To: None <tech-pkg@netbsd.org>
From: None <mcmahill@mtl.mit.edu>
List: tech-pkg
Date: 08/22/2000 15:33:19
Any libstash experts around?


devel/libstash fails to build on 1.4.2 sparc with the following:

cc -Wall -pipe -O2  -g3 -Iinclude  -D_LIBSTASH_DBG -c src/out.c -o
src/out.o_st_d
src/out.c: In function `out_p_put_svn':
src/out.c:1132: invalid lvalue in unary `&'
src/out.c: In function `out_p_metric':
src/out.c:1376: invalid lvalue in unary `&'
*** Error code 1


the lines causing the complaint are:

 arg = (void *) &va_arg(a_p, cw_uint64_t);


a_p is declared as type 'va_list' and arg is a (void *).  cw_unit64_t is:

typedef unsigned long long cw_uint64_t;


any ideas how to fix this?

Thanks
-Dan