[Mono-dev] Trunk broken, g_slist_append_mempool declaration inconsistency
KISHIMOTO, Makoto
ksmakoto at dd.iij4u.or.jp
Thu Nov 27 22:35:38 EST 2008
Hello
Trunk cannot build, like follows
gmake[4]: Entering directory `/local/home/ksmakoto/Mono/mono/mono/mini'
if ../../doltcompile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DGC_FREEBSD_THREADS -DPLATFORM_BSD -I../.. -I../../libgc/include -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -MT regalloc2.lo -MD -MP -MF ".deps/regalloc2.Tpo" -c -o regalloc2.lo regalloc2.c; \
then mv -f ".deps/regalloc2.Tpo" ".deps/regalloc2.Plo"; else rm -f ".deps/regalloc2.Tpo"; exit 1; fi
regalloc2.c:192: error: static declaration of 'g_slist_append_mempool' follows non-static declaration
../../mono/metadata/mempool-internals.h:11: error: previous declaration of 'g_slist_append_mempool' was here
gmake[4]: *** [regalloc2.lo] Error 1
gmake[4]: Leaving directory `/local/home/ksmakoto/Mono/mono/mono/mini'
========
Sources are like this.
mono/mini/regalloc2.c
189 static inline GSList*
190 g_slist_append_mempool (MonoMemPool *mp, GSList *list,
191 gpointer data)
mono/metadata/mempool-internals.h
10 GSList*
11 g_slist_append_mempool (MonoMemPool *mp, GSList *list, gpointer data) MONO_INTERNAL;
More information about the Mono-devel-list
mailing list