vct.c trunk compilation failure

Poul-Henning Kamp phk at
Fri Mar 6 10:35:26 CET 2009

In message <de894c690903052342l170472cclf94ad23d13fc694a at>, 19191
9 writes:

>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 '&'

critter phk> sed -n 250p vtc.c
        assert(WEXITSTATUS(system(av[1])) == 0);

I have no idea what the trouble is.

As a first sanity-check, remove the vtc.c file and run "svn update"
to make sure your local copy is not corrupt.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-dev mailing list