unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Benjamin Rutt <rutt+news@cis.ohio-state.edu>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Build break: GNU Emacs 21.3.50 (CVS) HEAD
Date: Wed, 25 Jun 2003 18:56:24 -0400	[thread overview]
Message-ID: <wc3smpxpy07.fsf@gamma.cis.ohio-state.edu> (raw)
In-Reply-To: 20030624113955.9172B7111A@smtp.us2.messagingengine.com

"Dhruva Krishnamurthy" <seagull@fastmail.fm> writes:

>  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.

Index: strftime.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/strftime.c,v
retrieving revision 1.29
diff -c -r1.29 strftime.c
*** strftime.c  24 Jun 2003 09:42:14 -0000      1.29
--- strftime.c  25 Jun 2003 22:52:56 -0000
***************
*** 1488,1493 ****
        const struct tm *tp;
        int ut;
  {
!   return my_strftime (s, maxsize, format, tp, ut, 0);
  }
  #endif
--- 1488,1493 ----
        const struct tm *tp;
        int ut;
  {
!   return my_strftime (s, maxsize, format, tp);
  }
  #endif


-- 
Benjamin

  reply	other threads:[~2003-06-25 22:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-24 11:39 Build break: GNU Emacs 21.3.50 (CVS) HEAD Dhruva Krishnamurthy
2003-06-25 22:56 ` Benjamin Rutt [this message]
2003-06-27  9:12   ` Jan D.
2003-06-29 11:51     ` Dave Love
2003-06-30  4:53       ` Richard Stallman
2003-07-03 21:53         ` Dave Love
2003-07-04  9:07           ` Andreas Schwab
2003-07-08 22:43             ` Dave Love
2003-07-01 13:39       ` Andreas Schwab
2003-07-03 21:53         ` Dave Love
2003-07-04  9:06           ` Andreas Schwab
2003-07-08 22:43             ` Dave Love
2003-06-27 22:46   ` Dave Love
2003-06-27 23:39     ` Jan D.
2003-06-29 11:57       ` Dave Love
2003-06-27  9:31 ` Dave Love

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wc3smpxpy07.fsf@gamma.cis.ohio-state.edu \
    --to=rutt+news@cis.ohio-state.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).