Code: Select all
depbase=`echo src/networking/lowlevel/vsnet_dloadenum.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG -I/usr/include/python2.5 -DHAVE_PYTHON=1 -I./src -pipe -O0 -gdwarf-2 -g3 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/networking/lowlevel/vsnet_dloadenum.o -MD -MP -MF $depbase.Tpo -c -o src/networking/lowlevel/vsnet_dloadenum.o src/networking/lowlevel/vsnet_dloadenum.cpp &&\
mv -f $depbase.Tpo $depbase.Po
./src/gnuhash.h:119: Fehler: expected declaration before »}« token
make[1]: *** [src/networking/lowlevel/vsnet_dloadenum.o] Fehler 1
Edit
There are similar bug reports on the Bugtracker: 2007809, 2011001, and 2011020.
I tried to understand the error, looked at gnuhash.h, which seems OK to me (regarding all the ifdefs, {, and } ), and the preprocessor output with -E.
Funnily the preprocessor ignores the first HAVE_TR1_UNORDERED_MAP and defines everything into the __gnu_ext namespace, but then includes the extra } of the HAVE_TR1_UNORDERED_MAP block at the end of gnuhash.h. ??? I'm confused ...
I had no problems compiling the slightly older 12377.
I added the config.log as attachment.