emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs does not compile anymore in win32 with msvc6


From: Sam Steingold
Subject: Re: Emacs does not compile anymore in win32 with msvc6
Date: 08 Oct 2001 12:20:02 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107

> * In message <address@hidden>
> * On the subject of "Re: Emacs does not compile anymore in win32 with msvc6"
> * Sent on Mon, 08 Oct 2001 11:14:34 -0400
> * Honorable Eli Zaretskii <address@hidden> writes:
>
> > From: Sam Steingold <address@hidden>
> > Date: 08 Oct 2001 10:44:12 -0400
> > 
> > temacs1.lib(fileio.obj) : error LNK2001: unresolved external symbol _min
> 
> Is it possible to include w32gui.h and w32heap.h before lisp.h?  Could
> you please try that?

fileio.c does include lisp.h but includes neither w32heap.h nor w32gui.h.

fileio.c:94:

#ifdef WINDOWSNT
#define NOMINMAX 1
#include <windows.h>
#include <stdlib.h>
#include <fcntl.h>
#endif /* not WINDOWSNT */

this suggests that Emacs expects that min/max are defined in the system
*.h files, but only MIN/MAX are defined, not min/max
(as per the usual custom: macros are uppercase).

-- 
Sam Steingold (http://www.podval.org/~sds)
Support Israel's right to defend herself! <http://www.i-charity.com/go/israel>
Read what the Arab leaders say to their people on <http://www.memri.org/>
The world is coming to an end.  Please log off.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]