gpgme.h in 0.4.3 breaks with C++ compilers

Marcus Brinkmann Marcus.Brinkmann at ruhr-uni-bochum.de
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.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus at gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann at ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/



More information about the Gpa-dev mailing list