[msvc only] ssize_t is now == SSIZE_T == LONG_PTR == (signed) long

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Fri Apr 4 19:17:32 CEST 2008


Jaroslaw Staniek schrieb:
> Hello,
> Just changed typedef ssize_t (what means "signed size_t") from (effectively) 
> uint to int in kdewin32/msvc/sys/types.h. Sooner - better, I guess.
> That said (unlike ssize_t) size_t itself is predefined.
> 
> This makes old kdelibs and any other code BIC with the current kdewin32.
> Would that be a problem?
kdewin32 doesn't have a function which uses ssize_t. Therefore it should 
be ok.
> I mean any code that uses ssize_t in a public symbol, i.e. for kdelibs it is 
> TCPSlaveBase and HTTPProtocol.
> 
> So after updating kdewin32, update other dependent binaries too.
> 
As we only release 'all or nothing' (this week it's nothing due to other 
important changes) I don't see a problem here either. The only one who 
have to take care are the devs after they updated kdewin32.



Christian


More information about the Kde-windows mailing list