[patch] kdepimlibs - gpgme++

Jaroslaw Staniek js at iidea.pl
Wed Sep 26 11:46:47 BST 2007


Thiago Macieira said the following, On 2007-09-26 11:50:
> Em Wednesday 26 September 2007 10:47:24 Jaroslaw Staniek escreveu:
>> Thiago Macieira said the following, On 2007-09-25 16:56:
>>> Em Tuesday 25 September 2007 15:21:47 Jarosław Staniek escreveu:
>>>> A fix for typedefs under msvc7.1, for review.
>>> Why is this necessary?
>> Because the typedefs anonymously decared in gpgmefw.h break the
>> compilation. Aternative could be to replace gpgmefw.h includes with
>> gpgme.h.
> 
> Sorry, more details please.
> 
> What's wrong with the forward declarations?

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 'resul
t'


-- 
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




More information about the kde-core-devel mailing list