[Kde-cygwin-cvs] CVS: qt-3/src/kernel qfont_win.cpp, 1.1.2.17,
1.1.2.18
Ralf Habacker
ralf.habacker at freenet.de
Mon Sep 13 06:27:10 CEST 2004
On Saturday 11 September 2004 22:28, Hindrik Hettema wrote:
> Peter Kuemmel <kuemmel <at> coffeelogic.de> writes:
> > 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.
It would be nice if someone could provide a tested patch.
Regards
Ralf
More information about the kde-cygwin
mailing list