Simon, Simon Josefsson schrieb: > I think that would be good, but it will be a lot of grunt work and will > create some problems. You have my general support on this but I won't > spend cycles on it. :-) I'll wait till Daniel posts his opinion ...
> Yup. I guess it could be solved by casting, right? sure - but we live so long with them already, and I thought it would be worth to consider changing on the root, and not on follow-up prjects; If we change it here then the casts would be wasted time ... > The solution is to use macros such as the ones defined by glib: ... > Possibly GnuTLS could provide a macro in gnutls.h to do this, to avoid > every project having to import this. It is a pain to get right... well, if you consider this then please post the exact define you intent to add, and I add same to libcurl ifdef'd: #ifndef GNUTLS_POINTER_TO_INT_CAST #define GNUTLS_POINTER_TO_INT_CAST(p) ... #endif thanks, Günter. _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
