unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Fran Litterio" <flitterio@gmail.com>
Subject: Unresolved reference to "strcasecmp" building CVS Emacs on Windows with MS Visual Studio 6.0
Date: Fri, 4 Aug 2006 12:42:31 -0400	[thread overview]
Message-ID: <a5b589a70608040942w5eae4ad3i7d1106ac88e3fcd9@mail.gmail.com> (raw)

When I do "nmake bootstrap" to build the latest CVS Emacs on Windows
XP with MS Visual Studio 6.0 installed, I get an unresolved reference
to "strcasecmp" when linking temacs.exe. I had to apply the following
patch to get a clean build:

--- src/s/ms-w32.h      21 Apr 2006 09:24:03 -0000      1.40
+++ src/s/ms-w32.h      4 Aug 2006 16:38:50 -0000
@@ -386,6 +386,7 @@
 #define stricmp   _stricmp
 #define tzset     _tzset
 #define tzname    _tzname
+#define strcasecmp _stricmp

 #ifdef HAVE_NTGUI
 #define abort  w32_abort

I'm not sure if the above patch is the best way to solve this problem,
but it works for me.
-- 
Francis Litterio
flitterio@gmail.com
774-573-9321 (mobile, preferred)
781-364-2105 (work)
508-883-5948 (home)

             reply	other threads:[~2006-08-04 16:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-04 16:42 Fran Litterio [this message]
2006-08-04 17:23 ` Unresolved reference to "strcasecmp" building CVS Emacs on Windows with MS Visual Studio 6.0 Eli Zaretskii
2006-08-05  2:02   ` Kenichi Handa

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=a5b589a70608040942w5eae4ad3i7d1106ac88e3fcd9@mail.gmail.com \
    --to=flitterio@gmail.com \
    /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).