pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnulib problem under MingW


From: John McCabe-Dansted
Subject: Re: Gnulib problem under MingW
Date: Sun, 18 Feb 2007 09:14:12 +0900

On 2/18/07, Ben Pfaff <address@hidden> wrote:
"John McCabe-Dansted" <address@hidden> writes:

> I did find another gnulib problem in my build environment:
>
>  ./gl/time.h:67: error: syntax error before "__timer"
>  ./gl/time.h:69: error: syntax error before "__timer"

What .c source file triggers this?  It is probably a failure to
#include <config.h>, which should "#define restrict".

it appears to be lib/gtksheet/gtksheet.c
Adding <config.h> to the top of gtksheet.c does not appear to help

---

if /opt/user/cross-tools/bin/i386-mingw32msvc-gcc -mms-bitfields
-DHAVE_CONFIG_H -I. -I. -I.  -I./intl -I./intl -I./gl -I./gl
-I./src/language/stats -I./src/language/expressions
-I./src/language/expressions -I./src -I./lib
-DPKGDATADIR=\"/opt/user/cross-tools/i386-mingw32msvc/share/pspp\"
-mms-bitfields -I/opt/user/cross-tools/i386-mingw32msvc/include/gtk-2.0
-I/opt/user/cross-tools/i386-mingw32msvc/lib/gtk-2.0/include
-I/opt/user/cross-tools/i386-mingw32msvc/include/atk-1.0
-I/opt/user/cross-tools/i386-mingw32msvc/include/cairo
-I/opt/user/cross-tools/i386-mingw32msvc/include/pango-1.0
-I/opt/user/cross-tools/i386-mingw32msvc/include/glib-2.0
-I/opt/user/cross-tools/i386-mingw32msvc/lib/glib-2.0/include
-I/opt/user/cross-tools/i386-mingw32msvc/include/freetype2   -Wall -g
-O0 -march=i586 -mms-bitfields -D__MINGW__
-Wdeclaration-after-statement -MT
lib/gtksheet/lib_gtksheet_libgtksheet_a-gsheet-column-iface.o -MD -MP
-MF "lib/gtksheet/.deps/lib_gtksheet_libgtksheet_a-gsheet-column-iface.Tpo"
-c -o lib/gtksheet/lib_gtksheet_libgtksheet_a-gsheet-column-iface.o
`test -f 'lib/gtksheet/gsheet-column-iface.c' || echo
'./'`lib/gtksheet/gsheet-column-iface.c; \
       then mv -f
"lib/gtksheet/.deps/lib_gtksheet_libgtksheet_a-gsheet-column-iface.Tpo"
"lib/gtksheet/.deps/lib_gtksheet_libgtksheet_a-gsheet-column-iface.Po";
else rm -f 
"lib/gtksheet/.deps/lib_gtksheet_libgtksheet_a-gsheet-column-iface.Tpo";
exit 1; fi
In file included from
/opt/user/cross-tools/i386-mingw32msvc/include/glib-2.0/glib/gbookmarkfile.h:24,
                from
/opt/user/cross-tools/i386-mingw32msvc/include/glib-2.0/glib.h:36,
                from lib/gtksheet/gsheet-column-iface.c:23:
./gl/time.h:67: error: syntax error before "__timer"
./gl/time.h:69: error: syntax error before "__timer"
make[2]: *** [lib/gtksheet/lib_gtksheet_libgtksheet_a-gsheet-column-iface.o]
Error 1

--
John C. McCabe-Dansted
PhD Student
University of Western Australia




reply via email to

[Prev in Thread] Current Thread [Next in Thread]