<div dir="auto">We compile using Visual Studio. We don't use 'warnings as errors' and selected a warning level that minimized warnings. The 'make test' runs cleanly.<div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 30, 2019, 3:16 AM Nagalakshmi V J <<a href="mailto:nagalakshmi.j@altran.com">nagalakshmi.j@altran.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_-37500344883122754WordSection1">
<p style="margin-right:0in;margin-bottom:12.0pt;margin-left:0in;vertical-align:baseline">
<span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">Hi,<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:12.0pt;margin-left:0in;vertical-align:baseline">
<span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">I am using openssl 1.1.c from our product code. While compiling the code, I am getting the errors which can be suppressed as warnings using -fpermissive flag in Linux (gcc/g++). In windows,
 I am getting the same compilation errors in visual studio (2005). Would like to know the alternative of -fpermissive flag that can be used in visual studio to suppress the errors.<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:12.0pt;margin-left:0in;vertical-align:baseline;border-bottom-color:currentColor;border-left-color:currentColor;border-right-color:currentColor;border-top-color:currentColor;box-sizing:inherit;font-size-adjust:none;font-stretch:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit">
<span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">I tried adding the flags such as '/fpermissive' , '/Ze' in module properties->C/C++->command Line->Additional options. But it did not resolve the problem.<u></u><u></u></span></p>
<p style="margin:0in;margin-bottom:.0001pt;vertical-align:baseline;border-bottom-color:currentColor;border-left-color:currentColor;border-right-color:currentColor;border-top-color:currentColor;box-sizing:inherit;font-size-adjust:none;font-stretch:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit">
<i><span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">Getting the errors like below. ssl/packet_locl.h(429) : error C2440: '=' : cannot convert from 'void *' to 'unsigned char
</span></i><em><span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729;border:none windowtext 1.0pt;padding:0in;font-style:normal">'Conversion from 'void</span></em><i><span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">'
 to pointer to non-'void' requires an explicit cast<u></u><u></u></span></i></p>
<p style="margin:0in;margin-bottom:.0001pt;vertical-align:baseline"><i><span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729"><u></u> <u></u></span></i></p>
<p style="margin-right:0in;margin-bottom:12.0pt;margin-left:0in;vertical-align:baseline">
<span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">Since it is giving error in Openssl code, we cannot make any code changes there. Has anyone faced this kind of issue?<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:12.0pt;margin-left:0in;vertical-align:baseline">
<span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">Please let me know how to resolve this issue.<u></u><u></u></span></p>
<p class="MsoNormal" style="border-bottom-color:currentColor;border-left-color:currentColor;border-right-color:currentColor;border-top-color:currentColor;box-sizing:inherit;font-size-adjust:none;font-stretch:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit">
<u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><i><u></u> <u></u></i></p>
<p class="MsoNormal"><i>Thanks and regards,<u></u><u></u></i></p>
<p class="MsoNormal"><i>Nagalakshmi<u></u><u></u></i></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
=====================================================<br>
<font face="Arial" color="Black" size="2">Please refer to <a href="https://northamerica.altran.com/email-disclaimer" target="_blank" rel="noreferrer">https://northamerica.altran.com/email-disclaimer</a><br>
for important disclosures regarding this electronic communication.<br>
</font>=====================================================<br>
</div>

</blockquote></div>