Home GnuPG
Diffusion GpgEX cb6f5468a6d3

Fix build without exceptions

Description

Fix build without exceptions

* src/client.cc (escape): Return empty string instead of exception
if percent_escape fails.
(call_assuan_async): Handle errors instead of throwing / catching.
* src/gpgex.cc (gpgex_t::Initialize): Handle errors instead of
throwing / catching.

Exceptions are evil and just asking for trouble. Especially native
C++ Exceptions on Windows _and_ combined with MinGW.

Details

Provenance
aheineckeAuthored on May 14 2017, 1:40 PM
Parents
rXcb5f44e8c5d9: Assign maintainer
Branches
Unknown
Tags
Unknown