Build problem with tidy
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Fri May 11 18:43:27 CEST 2007
Paulo Moura Guedes schrieb:
> On Friday 11 May 2007 11:15, you wrote:
>> Can you send me the sources for tidy?
>
> Sure, it goes attached.
> tidyx.h it's a C++ wrapper to libtidy that I integrated in KLinkStatus.
>
cl from msvc tells us a little bit more:
tidyx.cpp(63) : error C2440: '=': 'void (__cdecl *)(void *,byte)' kann
nicht in 'TidyUngetByteFunc' konvertiert werden
-> msdn:
http://search.msdn.microsoft.com/search/Default.aspx?brand=msdn&locale=en-us&query=C2440
The solution is to use an explicit cast:
getByte = (TidyGetByteFunc)get;
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20070511/cccf2e1f/attachment.pgp
More information about the Kde-windows
mailing list