This is the mail archive of the win32-x11@sourceware.org mailing list for the win32-x11 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Release for Xming


Hi,

Colin wrote:-
> Progress so far using the Xming-debug's is a traced null return from
> Xprintf().
> (my guess is a Mimgw bug as Xprintf hasn't changes for ages)


A toolchain/runtime bug in Mingw has now been confirmed, thanks to tracing
by Øyvind Harboe.
This causes keyboards to fail to set on Windows 2000 (OK on XP and Windows
2003).

A test case (modified xprintf.c) is available at:-

http://www.straightrunning.com/Xming/foo.c

compiled

/usr/local/cross-tools/i386-mingw32msvc/bin/gcc  foo.c

gives a.exe

http://www.straightrunning.com/Xming/a.zip

Run on MS-DOS should give
C:\>a
Xprintf() returned "Test 1 abc"

not
C:\>a
Xprintf() returned NULL!!!"

I'll chase Mingw Users for a fix (don't hold your breathe!).

Colin Harrison






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]