[Mono-devel-list] icall.c compilation problem
avd at openlinksw.com
Thu Sep 18 16:55:10 EDT 2003
I wonder if anybody else had the problem compiling icall.c.
Using gcc 2.95.4 on Debian I got the following:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../mono
-I../../libgc/include -D_REENTRANT -I/home/avd/include/glib-2.0
-DMONO_USE_EXC_TABLES -D_GNU_SOURCE -D_REENTRANT -fexceptions
-D_FILE_OFFSET_BITS=64 -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings -Wp,-MD,.deps/icall.pp -c icall.c -fPIC -DPIC -o
icall.c: In function `ves_icall_Type_IsArrayImpl':
icall.c:2938: parse error before `*'
icall.c:2941: `res' undeclared (first use in this function)
icall.c:2941: (Each undeclared identifier is reported only once
icall.c:2941: for each function it appears in.)
icall.c:2942: warning: control reaches end of non-void function
I noticed that in the function ves_icall_Type_IsArrayImpl
there is a MONO_ARCH_SAVE_REGS macro above some variable
declarations. Although I don't know what it all is about I
did a simple fix that solved my problem.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Mono-devel-list