gpgme.h in 0.4.3 breaks with C++ compilers

Marcus Brinkmann Marcus.Brinkmann at
Tue Dec 23 13:18:51 CET 2003

On Mon, Dec 22, 2003 at 11:11:29PM +0100, Werner Koch wrote:
> On Mon, 22 Dec 2003 19:46:31 +0100, Daniel Molkentin said:
> > I noticed g++ bailing out on gpgme.h from both 0.4.3 and CVS for using the 
> > (reserved) class keyword:
> Please apply the patch below to gpgme.h.

That's an ok workaround, but I have something different in mind.
> +#define _GPGME_D_CLASS clazz

Use "sig_class" here, then your work around will behave as GPGME after my
final fix for this.


`Rhubarb is no Egyptian god.' GNU    marcus at
Marcus Brinkmann              The Hurd
Marcus.Brinkmann at

More information about the Gpa-dev mailing list