[Kde-cygwin-cvs] CVS: qt-3/src/kernel qfont_win.cpp, 1.1.2.17,
1.1.2.18
Thiago A. Corrêa
thiagoacorrea at uol.com.br
Tue Sep 14 15:46:46 CEST 2004
Isn't there a macro from TT like qstrncpy() to mask those compiler
differences?
----- Original Message -----
From: "Ralf Habacker" <ralf.habacker at freenet.de>
To: "For developers interested in porting KDE to Windows using Cygwin"
<kde-cygwin at kde.org>
Sent: Monday, September 13, 2004 1:27 AM
Subject: Re: [Kde-cygwin-cvs] CVS: qt-3/src/kernel qfont_win.cpp,
1.1.2.17,1.1.2.18
> 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
>
> _______________________________________________
> kde-cygwin mailing list
> kde-cygwin at kde.org
> https://mail.kde.org/mailman/listinfo/kde-cygwin
More information about the kde-cygwin
mailing list