vct.c trunk compilation failure

191919 191919 at gmail.com
Fri Mar 6 08:42:11 CET 2009


I encountered compilation errors when making trunk version:

Making all in varnishtest
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include    -g -O2 -MT
vtc.o -MD -MP -MF .deps/vtc.Tpo -c -o vtc.o vtc.c
vtc.c: In function 'cmd_shell':
vtc.c:250: error: invalid lvalue in unary '&'
make[3]: *** [vtc.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

~/box/varnish/varnish-cache# gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5490~1/src/configure --disable-checking
-enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=i686-apple-darwin9 --with-arch=apple --with-tune=generic
--host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5490)

It's been there for several days, perhaps it's a compiler-related problem?

Regards,
191919
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20090306/66e3c9f3/attachment-0002.html>


More information about the varnish-dev mailing list