From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Build break: GNU Emacs 21.3.50 (CVS) HEAD Date: Fri, 27 Jun 2003 11:12:17 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <72F156A7-A87F-11D7-98D2-00039363E640@swipnet.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1056706180 7380 80.91.224.249 (27 Jun 2003 09:29:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 27 Jun 2003 09:29:40 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jun 27 11:29:38 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19VpY2-0001ul-00 for ; Fri, 27 Jun 2003 11:29:38 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19Vpcy-0005qq-00 for ; Fri, 27 Jun 2003 11:34:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19VpXq-0002Du-RL for emacs-devel@quimby.gnus.org; Fri, 27 Jun 2003 05:29:26 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19VpTf-00010G-Fb for emacs-devel@gnu.org; Fri, 27 Jun 2003 05:25:07 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19VpNd-0007Hx-8Y for emacs-devel@gnu.org; Fri, 27 Jun 2003 05:18:54 -0400 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19VpIn-0005u0-Hw; Fri, 27 Jun 2003 05:13:53 -0400 Original-Received: from accessno42.bodenonline.com (accessno42.bodenonline.com [193.201.16.44])h5RA212w023722; Fri, 27 Jun 2003 12:02:02 +0200 Original-To: Benjamin Rutt In-Reply-To: X-Mailer: Apple Mail (2.552) Original-cc: fx@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15293 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15293 >> There is a compilation error in GNU Emacs 21.3.50 (CVS) >> src/strftime.c >> (extra args in call to my_strftime() at #1491) on W2K using >> MinGW32-GCC >> 3.2.3 > > I am seeing this as well right now, on the Solaris 2.8 sparc > platform. Here is the exact error message: > > gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. > -I/tmp/rutt/emacs/src -I/usr/openwin/include -I/usr/dt/include -g -O2 > strftime.c > strftime.c: In function `emacs_strftimeu': > strftime.c:1491: too many arguments to function `_strftime_copytm' > make[1]: *** [strftime.o] Error 1 > make[1]: Leaving directory `/tmp/rutt/emacs/src' > make: *** [bootstrap] Error 2 > > The following patch gets rid of the compile error, but is the fix the > right one? Thanks for any feedback. This has been added to configure.in, but configure was not regenerated: #define my_strftime nstrftime /* for strftime.c */ I regenerated configure, so if you rerun configure and build again it should compile. MS Windows don't use configure (I think) but I imagine someone that knows how that platform works can do the proper adjustments. src/strftime.c explains it: /* When compiling this file, GNU applications can #define my_strftime to a symbol (typically nstrftime) to get an extended strftime with extra arguments UT and NS. */ Jan D.