[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: windows build failure
From: |
Dani Moncayo |
Subject: |
Re: windows build failure |
Date: |
Wed, 18 Sep 2013 08:56:31 +0200 |
>> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/c/trunk/lib -I../src -I/c/trunk/src
>> -mtune=pentium4 -DUSE_CRT_DLL=1 -I /c/trunk/nt/inc -g3 -O2 -gdwarf-2
>> -MT gettimeofday.o -MD -MP -MF .deps/gettimeofday.Tpo -c -o gettimeofday.o
>> gettimeofday.c
>>
>> gettimeofday.c:102:1: error: conflicting types for 'gettimeofday'
>> gettimeofday (struct timeval *restrict tv, void *restrict tz)
>> ^
>> In file included from gettimeofday.c:23:0:
>> c:/trunk/nt/inc/sys/time.h:45:5: note: previous declaration of
>> 'gettimeofday' was here
>> int gettimeofday (struct timeval *__restrict, struct timezone *__restrict);
>> ^
>
> lib/gettimeofday.c is not supposed to be compiled on Windows (because
> Emacs on Windows provides its own implementation of that function).
> You should see these two lines (far apart) in your output from
> configure:
>
> checking for gettimeofday... yes
> checking for gettimeofday with POSIX signature... almost
>
> and src/config.h should have this:
>
> /* Define to 1 if you have the `gettimeofday' function. */
> #define HAVE_GETTIMEOFDAY 1
>
> If you have different results, look in config.log for the details.
>
> Btw, what port of GCC and what runtime library and headers are you
> using?
I guess he's using the latest released versions (mingwrt-4.0), because
his error is the same I already reported:
http://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00726.html
--
Dani Moncayo
- windows build failure, Sean Sieger, 2013/09/17
- Message not available
- Re: windows build failure, Eli Zaretskii, 2013/09/18
- Re: windows build failure, Sean Sieger, 2013/09/18
- Re: windows build failure, Eli Zaretskii, 2013/09/18
- Re: windows build failure, Sean Sieger, 2013/09/18
- Re: windows build failure, Eli Zaretskii, 2013/09/18
- Re: windows build failure, Sean Sieger, 2013/09/18
- Re: windows build failure, Eli Zaretskii, 2013/09/18