[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] [patch] make gpgme++ portable to msvc
From:       Jarosław Staniek <js () iidea ! pl>
Date:       2007-12-09 14:03:31
Message-ID: 475BF5B3.9040508 () iidea ! pl
[Download RAW message or body]

Marc Mutz said the following, On 2007-12-09 11:57:
> On Saturday 08 December 2007 22:53, Jarosław Staniek wrote:
>> Adriaan de Groot said the following, On 2007-12-08 10:31:
>>> 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.
>> Ah, so what' would be our proposal, Marc? Are we going beck to ordinary
>> operator bool()?
> 
> Isn't that the same problem that you want to fix for VS2k3?
> 
> Ie. remove
>  operator unsigned int() const
> , and keep
>  operator undefined-bool-type() const
> ?

OK, then I hope so (I thought it's a porblem with safe_bool_dummy itself.

Adriaan, then may I propose you to try the gpgmepp.patch ?

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic