From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.devel Subject: Re: windows build failure Date: Wed, 18 Sep 2013 08:56:31 +0200 Message-ID: References: <83wqmeocl5.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1379487395 6872 80.91.229.3 (18 Sep 2013 06:56:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Sep 2013 06:56:35 +0000 (UTC) Cc: Emacs development discussions To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 18 08:56:40 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VMBgl-0004dK-8p for ged-emacs-devel@m.gmane.org; Wed, 18 Sep 2013 08:56:39 +0200 Original-Received: from localhost ([::1]:44748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMBgk-0001y1-Qx for ged-emacs-devel@m.gmane.org; Wed, 18 Sep 2013 02:56:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMBgh-0001wu-Is for emacs-devel@gnu.org; Wed, 18 Sep 2013 02:56:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMBgg-00052W-Km for emacs-devel@gnu.org; Wed, 18 Sep 2013 02:56:35 -0400 Original-Received: from mail-la0-x230.google.com ([2a00:1450:4010:c03::230]:48838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMBgf-00052G-36; Wed, 18 Sep 2013 02:56:33 -0400 Original-Received: by mail-la0-f48.google.com with SMTP id er20so5273641lab.35 for ; Tue, 17 Sep 2013 23:56:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bZUIYEW1fwDL7oWMtfVig2a8RMtQJj8S4GfmcXyZvzs=; b=RhnP/NOXfYiNbVkZ6EYAJU76SiBY7XLv5JvT50iN0rD7H9tfSe6CNWsH7A0q5PHHOY b1iosKQ7NMkm4iSXr0jrAg5LpedjpRUqep8TctTFccZmkPcP434ZsZggL4mGPu9qahD1 nHKy2Gapxdv9YOjFXXpPyY1k07JynNq51a1b84tQgA14dPt3DrmnG5wC/93XClac+JR1 q6kLbymZUBAcabTwioMDrGstQ1BEhP6q+DGZOabTvPLv0fhWfILoFChzg3tu9YWgzVwY EyVAIaUdANVLc9tsXIKMB+YOZtxJR7wN/iGvKnnQ6TaBaMJi7kiam2spm/Pko656ZEBi sFTg== X-Received: by 10.112.53.130 with SMTP id b2mr4545129lbp.6.1379487391617; Tue, 17 Sep 2013 23:56:31 -0700 (PDT) Original-Received: by 10.114.176.231 with HTTP; Tue, 17 Sep 2013 23:56:31 -0700 (PDT) In-Reply-To: <83wqmeocl5.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163418 Archived-At: >> 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