<div dir="ltr">Thanks for the suggestion Michael. We  have removed all duplicates of "opensslconf.h" from our code stack. With those changes, we see all errors related to "DEPRECATEDIN_1_1_0" are gone. Now, we are not seeing any errors pointing to "bio.h". However, we have some other errors, where it points to "x509.h and x509_vfy.h". Following are a few of the errors, I am seeing:<div><br></div><div>Error      209     error C2143: syntax error : missing ';' before '{'      xxxxx\thirdparty\openssl\include\openssl\opensslconf.h  16      1       mycrypto<br>Error 210     error C2447: '{' : missing function header (old-style formal list?)     xxxxxx\thirdparty\openssl\include\openssl\opensslconf.h 16      1       mycrypto<br>Error 179     error C2079: 'LPCSTR' uses undefined struct 'stack_st_' xxxxxx\thirdparty\openssl\include\openssl\x509.h        77      1       mycrypto<br>Error 184     error C4430: missing type specifier - int assumed. Note: C++ does not support default-int       xxxxxx\thirdparty\openssl\include\openssl\x509.h        77      1       mycrypto<br>Error 186     error C2370: 'LPCSTR' : redefinition; different storage class   xxxxxx\thirdparty\openssl\include\openssl\x509.h        77      1       mycrypto<br>Error 188     error C2365: 'sk_' : redefinition; previous definition was 'function'   xxxxxx\thirdparty\openssl\include\openssl\x509.h        77      1       mycrypto<br>Error 200     error C2065: 'X509_EXTENSION' : undeclared identifier   xxxxxx\thirdparty\openssl\include\openssl\x509.h        85      1       mycrypto<br>Error 213     error C4430: missing type specifier - int assumed. Note: C++ does not support default-int       xxxxxx\thirdparty\openssl\include\openssl\x509_vfy.h    77      1       mycrypto<br>Error 245     error C2061: syntax error : identifier 'X509_STORE_CTX_lookup_certs_fn' xxxxxx\thirdparty\openssl\include\openssl\x509_vfy.h    315     1       mycrypto<br>Error 252     error C2373: 'X509_STORE_CTX_lookup_crls_fn' : redefinition; different type modifiers   xxxxxx\thirdparty\openssl\include\openssl\x509_vfy.h    321     1       mycrypto<br>Error 274     error C2377: 'ASN1_INTEGER' : redefinition; typedef cannot be overloaded with any other symbol  xxxxxx\thirdparty\openssl\include\openssl\x509_vfy.h    386     1       mycrypto<br><div><br></div><div><br></div><div>Error in "opensslconf.h" points to 'extern "C"' statement the following code:</div><div>#ifdef  __cplusplus<br>extern "C" {<br>#endif<br></div><div><br></div><div>Can you please suggest us to remove these errors. </div><div>Appreciate your help on this.</div><div><br></div><div><br></div><div>Regards,</div><div>Ramaraju</div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 6, 2020 at 12:27 AM Michael Wojcik <<a href="mailto:Michael.Wojcik@microfocus.com" target="_blank">Michael.Wojcik@microfocus.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> From: openssl-users [mailto:<a href="mailto:openssl-users-bounces@openssl.org" target="_blank">openssl-users-bounces@openssl.org</a>] On Behalf Of Venkata Ramaraju Vana via openssl-users<br>
> Sent: Wednesday, February 05, 2020 00:40<br>
<br>
> Error 300 error C3646: 'DEPRECATEDIN_1_1_0' : unknown override specifier xxxxxx\thirdparty\openssl\include\openssl\bio.h 689 1 xxxxx<br>
<br>
You seem to be failing to include the opensslconf.h that was created as part of the build process (before including bio.h, etc). opensslconf.h is included by many of the OpenSSL headers, but not bio.h.<br>
<br>
So either you need an explicit #include <openssl/opensslconf.h> before including any other OpenSSL headers; or you have one, but you're picking up the wrong opensslconf.h. (The latter is an easy mistake to make, as not everyone realizes opensslconf.h is a generated file and applications must include the one corresponding to the precise build they're using.)<br>
<br>
--<br>
Michael Wojcik<br>
Distinguished Engineer, Micro Focus<br>
<br>
<br>
<br>
</blockquote></div>