[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnulib problem under MingW
From: |
Ben Pfaff |
Subject: |
Re: Gnulib problem under MingW |
Date: |
Sat, 17 Feb 2007 17:39:00 -0800 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
"John McCabe-Dansted" <address@hidden> writes:
> 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
I think it does...
> 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"
...because the error then moves to gsheet-column-iface.c, which
is also missing #include <config.h>.
I overlooked this directory earlier when I made sure that every
source file had "#include <config.h>". Now I've added them there
and checked in. So please update from CVS and see if it fixes
the problem.
--
Only wimps use tape backup: _real_ men just upload their important stuff
on ftp, and let the rest of the world mirror it ;)
-- Linus Torvalds