GNU bug report logs - #21260
23.2; Devanagari windows 10

Previous Next

Package: emacs;

Reported by: Jim Funderburk <funderburk1 <at> verizon.net>

Date: Fri, 14 Aug 2015 20:25:02 UTC

Severity: normal

Found in version 23.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #58 received at 21260 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andy Moreton <andrewjmoreton <at> gmail.com>
Cc: 21260 <at> debbugs.gnu.org
Subject: Re: bug#21260: 23.2; Devanagari windows 10
Date: Fri, 21 Aug 2015 11:48:45 +0300
> From: Andy Moreton <andrewjmoreton <at> gmail.com>
> Date: Wed, 19 Aug 2015 21:26:38 +0100
> 
> The recent changes broke the mingw64 (64bit) and cygwin w32 builds of
> emacs.

I hate those gratuitous incompatibilities in MinGW64 headers!

> Cygwin and msys2 mingw64 headers from w32api have this in usp10.h:
> 
>   22  #if !defined (UNISCRIBE_OPENTYPE) && (_WIN32_WINNT >= 0x0600)
>   23  #define UNISCRIBE_OPENTYPE 0x0100
>   24  #endif
> 
>   67  #if UNISCRIBE_OPENTYPE >= 0x0100
>   68  typedef ULONG OPENTYPE_TAG;
>   69  #endif
> 
> This seems to fix the build:
> 
> diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c
> index b1056bc104e0..c311cade6c1f 100644
> --- a/src/w32uniscribe.c
> +++ b/src/w32uniscribe.c
> @@ -25,6 +25,8 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
>     of calling non-existent functions.  */
>  #undef _WIN32_WINNT
>  #define _WIN32_WINNT 0x500
> +#undef UNISCRIBE_OPENTYPE
> +#define UNISCRIBE_OPENTYPE 0x0100
>  #include <windows.h>
>  #include <usp10.h>

Thanks, I fixed this in 092e17b.




This bug report was last modified 9 years and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.