Re: Build problem and problem with region in 21.5 under Cygwin.

"John A. Turner" <[email protected]>
Newsgroups gmane.emacs.xemacs.beta,gmane.emacs.xemacs.windows
Message-ID <[email protected]>
Rick Rankin wrote:
> I just made my first pass at building 21.5 on Cygwin. So far, I've found a
> (minor) problem with the build and a runtime problem that I haven't been able
> to figure out. 
> 
> The build problem was fairly simple. There was a conflict between some typedefs
> in src/lisp.h and /usr/include/cygwin/types.h. The conflicting lines are
> 
> typedef int intptr_t;
> typedef unsigned int uintptr_t;
> 
> at around line 803 in src/lisp.h. These are typedef'd differently in
> /usr/include/cygwin/types.h:
> 
> typedef long intptr_t;
> typedef unsigned long uintptr_t;
> 
> I got around the problem by surrounding the conflicting typedefs in src/lisp.h
> with
> 
> #if !defined(__CYGWIN__)
> ...
> #endif

that looks like the same thing I ran into, reported here:

http://list-archive.xemacs.org/xemacs-build-reports/200305/msg00000.html

-John Turner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.