Page MenuHome GnuPG

missing prototypes in qpgme (OS X)
Closed, ResolvedPublic

Description

The qgpgme source is missing 2 function declarations when built under Mac OS: for
strdup() and for strcasecmp().

The former can be addressed by invoking qstrdup() instead, which avoids setting
_DARWIN_C_SOURCE to a value which may or may not cause side-effects
(https://www.mail-archive.com/gnupg-users@gnupg.org/msg31883.html).

The latter declaration is obtained by including strings.h.

Details

Version
1.8.0

Related Objects

Event Timeline

Thanks, applied!

Forgot to give you credit / mention this bug in the commit message. Apologies
for that.