gpgme 1.8 build failure

Andre Heinecke aheinecke at intevation.de
Thu Nov 17 09:55:52 CET 2016


Hi,

On Wednesday 16 November 2016 19:04:43 Robert J. Hansen wrote:
> Build environment: macOS Sierra, XCode 8.1.
> 
> quorra:gpgme-1.8.0 rjh$ make

...

> keygenerationresult.cpp:43:23: error: use of undeclared identifier 'strdup'
>             res.fpr = strdup(res.fpr);
>                       ^
> 1 error generated.

Sorry, I don't understand the problem. In line 35 keygenerationresult.cpp 
includes <string.h> so strdup should be available. Is string.h not the right 
header for strdup on macOS?


Regards,
Andre

-- 
Andre Heinecke |  ++49-541-335083-262  | http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20161117/f48f39c5/attachment.sig>


More information about the Gnupg-devel mailing list