[Kde-pim] [patch] make gpgme++ portable to msvc

Adriaan de Groot groot at kde.org
Sat Dec 8 09:31:31 GMT 2007


On Saturday 08 December 2007 00:18, Jarosław Staniek wrote:
> Safe operator bool() is left as before.

Is that the peculiar construction with struct __safe_bool_dummy__ ?

With SS12 (non-gcc) there is an overloading ambiguity whether to use operator 
int() or operator the_other_one() in all the bool() uses, so i need to patch 
either bool -> int in casts or #if 0 the safe bool stuff. Neither seems 
semantically correct.

[ade]
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list