2014-09-08 16:29 GMT+02:00 Salz, Rich <rs...@akamai.com>:
> The extern "C" makes it difficult to put things into a namespace.  You'd 
> either have to write class declarations that used NO public openssl header 
> files in their public declaration, or we'd have to change the extern "C" 
> wrappers to be something like
>         #if defined(__cplusplus) && !defined(OPENSSL_NAMESPACED_API)


I've tried the "namespace openssl {  #include <openssl/xxxx.h> }
approach and it has been terrible. I've ended with compiler error
messages like:

  openssl::malloc not found

It makes sense given that the namespace is also affecting to any other
include within the openssl header file.

-- 
Iñaki Baz Castillo
<i...@aliax.net>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to