From: "Jan D." <jan.h.d@swipnet.se>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Build break: GNU Emacs 21.3.50 (CVS) HEAD
Date: Fri, 27 Jun 2003 11:12:17 +0200 [thread overview]
Message-ID: <72F156A7-A87F-11D7-98D2-00039363E640@swipnet.se> (raw)
In-Reply-To: <wc3smpxpy07.fsf@gamma.cis.ohio-state.edu>
>> 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.
next prev parent reply other threads:[~2003-06-27 9:12 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
2003-06-27 9:12 ` Jan D. [this message]
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=72F156A7-A87F-11D7-98D2-00039363E640@swipnet.se \
--to=jan.h.d@swipnet.se \
--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).