> I am not _absolutely_ sure if the usage of extern "C" will solve your
> problem, but I think you should at least try if you don't want to use the
> STL or roguewave or similar instead.
Since OpenSSL is written in standard C, then wrapping all OpenSSL
#include
files with "extern "C"" should work for any reasonable C++ compiler.
I've added openssl-dev, since perhaps doing something like the BSD
BEGIN_DECLS in all openssl/include files is a good idea. I suggest
something like:
#ifdef __BEGIN_DECLS
#define OPENSSL_BEGIN_DECL __BEGIN_DECLS
#define OPENSSL_END_DECL __END_DECLS
#else
#ifdef __cplusplus
# define OPENSSL_BEGIN_DECL extern "C" {
# define OPENSSL_END_DECL }
#else
# define OPENSSL_BEGIN_DECL /* empty */
# define OPENSSL_END_DECL /* empty */
#endif
#endif
and then putting it before and after all extern declarations in all the
openssl header files.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]