[Kde-cygwin-cvs] CVS: qt-3/src/kernel qfont_win.cpp, 1.1.2.17,
1.1.2.18
Peter Kuemmel
kuemmel at coffeelogic.de
Wed Sep 15 11:11:06 CEST 2004
I've no problems, maybe you could try it with _UNICODE.
From ../MinGw/include/tchar.h:
.
.
/*
* NOTE: This tests _UNICODE, which is different from the UNICODE define
* used to differentiate Win32 API calls.
*/
#ifdef _UNICODE
.
.
.
Peter
>>Using _tcsncpy prevents preprocessor macros!
>>
>>Functions:
>>char *strncpy ( char * , const char * , size_t );
>>wchar_t *wcsncpy ( wchar_t *, const wchar_t *, size_t );
>>
>>A small table for _tcsncpy:
>>UNICODE | NO yes
>>-------------------------------
>>_tcsncpy | strncpy wcsncpy
>>LPTSTR | LPSTR LPWSTR
>>
>
>
> Using _tcsncpy breaks compilation of qt-win32 on CYGWIN of 20040910 (function
> not found). Quick hack was to replace function by strncpy and stated in email
> by Brandino... For your information.
More information about the kde-cygwin
mailing list