[Kde-pim] Fwd: Fwd: [patch] kdepimlibs - gpgme++
Jarosław Staniek
js at iidea.pl
Wed Sep 26 18:37:30 BST 2007
Marc Mutz said the following, On 2007-09-26 16:32:
> On Wednesday September 26 2007 16:23, Till Adam forwarded:
>> A fix for typedefs under msvc7.1, for review.
>>
>> - gpgme_key_t key
>> + struct _gpgme_key* key
>
> This is not acceptable. What's the issue this is trying to solve?
Portability. Here's example:
---------
[ 0%] Building CXX object gpgme++/CMakeFiles/gpgmepp.dir/context.obj
context.cpp
F:\kde4\trunk\KDE\kdepimlibs\gpgme++\context.cpp(483) : error C2275:
'gpgme_key_t' : illegal use of this type as an expr
ession
F:\kde4\trunk\KDE\kdepimlibs\gpgme++\gpgmefw.h(35) : see declaration
of 'gpgme_key_t'
F:\kde4\trunk\KDE\kdepimlibs\gpgme++\context.cpp(483) : error C2146: syntax
error : missing ';' before identifier 'key'
F:\kde4\trunk\KDE\kdepimlibs\gpgme++\context.cpp(483) : error C2659: '=' :
overloaded function as left operand
F:\kde4\trunk\KDE\kdepimlibs\gpgme++\context.cpp(483) : error C2143: syntax
error : missing ')' before '++'
F:\kde4\trunk\KDE\kdepimlibs\gpgme++\context.cpp(483) : error C2059: syntax
error : ';'
F:\kde4\trunk\KDE\kdepimlibs\gpgme++\context.cpp(483) : error C2059: syntax
error : ')'
F:\kde4\trunk\KDE\kdepimlibs\gpgme++\context.cpp(484) : error C2146: syntax
error : missing ';' before identifier 'result'
-------
Optionally we could just include gpgme.h.
--
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
KDE3 & KDE4 Libraries for MS Windows: http://kdelibs.com, http://www.kde.org
_______________________________________________
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