|
From: Neil Y. <gm...@yo...> - 2005-08-15 09:11:18
|
valgrind is failing to compile with these errors
gcc -g -O -Wall -Wmissing-prototypes -Wshadow -Winline -Wpointer-arith
-Wbad-function-cast -Wcast-qual -Wcast-align -Wmissing-declarations -Ipub
-Ipriv -o priv/host-ppc32/isel.o \
-c priv/host-ppc32/isel.c
priv/host-ppc32/isel.c: In function `iselCondCode_wrk':
priv/host-ppc32/isel.c:1682: parse error before `*'
priv/host-ppc32/isel.c:1684: `ri2' undeclared (first use in this function)
priv/host-ppc32/isel.c:1684: (Each undeclared identifier is reported only once
priv/host-ppc32/isel.c:1684: for each function it appears in.)
I'm compiling using g++-3.4.4 on RedHat 7.3
The error occurs on the line
PPC32RH* ri2 = iselIntExpr_RH(env, syned, e->Iex.Binop.arg2);
I can't see any obvious errors.
I've used gcc -E to check that it is pulling in the definition of PPC32RH from
the headers.
Has anyone else seen this error?
Neil Youngman
|