[PATCH] gpgme fails to build with GCC 7.0
Closed, ResolvedPublic


In file included from qgpgmedeletejob.h:39:0,

                 from qgpgmedeletejob.cpp:38:
threadedjobmixin.h:98:33: error: 'function' in namespace 'std' does not name

a template type

         void setFunction(const std::function<T_result()> &function)

Patch is attached.

justus added a subscriber: justus.

Delegating to our resident C++ expert.

justus assigned this task to aheinecke.Feb 13 2017, 9:42 AM

Thank you very much. Straightforward fix. Applied the patch.

aheinecke closed this task as Resolved.