Page MenuHome GnuPG

gpgme does not compile with gcc-7
Closed, ResolvedPublic

Description

gpgme-1.8.0 (and by a quick test also 1.9.0) does not compile with gcc-7

The reason are two missing "include <functional>" directives (to provide
std::function and similar things).

The following link contains the (trivial) patch to add these directives:
https://bugs.gentoo.org/show_bug.cgi?id=617884

Revisions and Commits

Event Timeline

vaeth created this object in space S1 Public.

In 1.9.0 we already have the include functional in threadedjobmixin ( 60064c665ec98a2a994fc6c8ad701e60b963ce7e )

I've now also added this to qgpgmenewcryptoconfig.cpp with 5e27bf98b4c48cf6a239bcc94b7b67515ff339e7

Thanks!

It might be helpful if you could try to compile master again. I'm on debian with GCC 6 so I don't see such problems.