[Mingw-users] wincon.h update and some problems exposed by testing it.

Back to archive index

Keith Marshall keith****@users*****
Wed Aug 1 05:56:52 JST 2018


On 31/07/18 18:24, David Gressett wrote:
>> Should link just fine!  MinGW *does* have _getwch(), insofar as it
>> is present in libmsvcrt.a; the problem, to which David is
>> referring, is that no one has >gotten around to adding the
>> prototype to <conio.h>.
>> 
>> Should also execute fine ... provided no one tries to run it on a
>> pre-WinXP system.
> 
> So, I need to chew through conio.h as well.

For a head start, try the attached.  It still needs some work, and, as
it stands, will not work correctly if included after <wchar.h>; to fix
that, <wchar.h> needs an update, to have it include <conio.h>.

-- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conio.h
Type: text/x-chdr
Size: 6204 bytes
Desc: not available
Url : https://lists.osdn.me/mailman/archives/mingw-users/attachments/20180731/88b69376/attachment-0001.h 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
Url : https://lists.osdn.me/mailman/archives/mingw-users/attachments/20180731/88b69376/attachment-0001.pgp 



More information about the MinGW-Users mailing list
Back to archive index