emacs-devel
[Top][All Lists]
Advanced

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

Re: windows build failure


From: Sean Sieger
Subject: Re: windows build failure
Date: Thu, 19 Sep 2013 13:33:36 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt)

Eli Zaretskii <address@hidden> writes:

    In the last "elif test" you show only part of the truth.  The whole
    truth is this:

        if test $gl_cv_func_gettimeofday_posix_signature = almost; then
          gl_gettimeofday_timezone='struct timezone'
        elif test $gl_cv_func_gettimeofday_posix_signature != yes; then
          REPLACE_GETTIMEOFDAY=1

    So "almost" does not trigger REPLACE_GETTIMEOFDAY=1, and the mystery
    is not resolved.

Is this it?

m4/gettimeofday.m4:

  if test $REPLACE_STRUCT_TIMEVAL = 1; then
    REPLACE_GETTIMEOFDAY=1
  fi

config.log:

  REPLACE_STRUCT_TIMEVAL='1'

Like in the bootstrap error:

gcc  -std=gnu99 -DHAVE_CONFIG_H -I. -I/c/trunk/lib -I../src -I/c/trunk/src   -mt
une=pentium4   -DUSE_CRT_DLL=1 -I /c/trunk/nt/inc    -g3 -O2 -gdwarf-2 -MT getti
meofday.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' wa
s here
 int gettimeofday (struct timeval *__restrict, struct timezone *__restrict);
     ^
make[3]: *** [gettimeofday.o] Error 1
make[3]: Leaving directory `/c/trunk/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/c/trunk/lib'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/c/trunk'
make: *** [bootstrap] Error 2

?




reply via email to

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