I've looked on the openssl-* lists and was surprised not to find this
already discussed.  g++ version 2.95.2 prerelease gives warnings on
including openssl/ssl.h.  This is because ssl.h uses the C++ "export"
keyword as a variable name.  The fix is obviously straight-forward --
use a different variable name.

Here's the log.  Apologies for my NO_nothing ssl compile.

[patricia:~]g++ -c -DNO_RSA -DNO_IDEA -DNO_BF -DNO_MD2 -DNO_CAST -DNO_MDC2 -DNO_RC4 
-DNO_RC2 -DNO_RC5 -I/usr/local/openssl-0.9.3a-norsa/include main.cpp
In file included from main.cpp:1:
/usr/local/openssl-0.9.3a-norsa/include/openssl/ssl.h:1099: warning: keyword 'export' 
not implemented and will be ignored
/usr/local/openssl-0.9.3a-norsa/include/openssl/ssl.h:1101: warning: keyword 'export' 
not implemented and will be ignored
[patricia:~]g++ -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 19990906 (prerelease)
[patricia:~]cat main.cpp
#include <openssl/ssl.h>
[patricia:~]

David Marwood

--
----------------------------------------------------------------------
David Marwood, M.Sc.                    [EMAIL PROTECTED]
Director, Internet Technologies         Phone: 604-921-5993
InfraNet Solutions                      Fax: 604-921-5909
West Vancouver, BC, Canada
----------------------------------------------------------------------
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to