GNU bug report logs -
#14043
24.3.50; Compiler warning in cygw32 build on x86_64-cygwin
Previous Next
Reported by: Ken Brown <kbrown <at> cornell.edu>
Date: Sat, 23 Mar 2013 16:43:02 UTC
Severity: normal
Found in version 24.3.50
Done: Ken Brown <kbrown <at> cornell.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
In w32term.c:w32_initialize, the line
DWORD input_locale_id = (DWORD) GetKeyboardLayout (0);
(line 6666 in the current trunk) generates a "cast from pointer to
integer of different size" warning in the cygw32 build on 64-bit Cygwin.
I think that the warning can be safely ignored in this case, but I
would prefer to avoid it.
The attached patch fixes this. I'm wondering, however, whether the same
warning occurs on 64-bit Windows. If so, maybe that should be fixed at
the same time, but I don't know enough about Windows programming to do this.
Ken
In GNU Emacs 24.3.50.2 (x86_64-pc-cygwin)
of 2013-03-20 on fiona
Bzr revision: 112086 eggert <at> cs.ucla.edu-20130318210234-bpg2y8i713w6uqhr
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --without-makeinfo --with-w32 CFLAGS=-g3 -O0'
[w32term.patch (text/plain, attachment)]
This bug report was last modified 12 years and 63 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.