<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:inherit;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi Michael,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">OpenSSL code is compiling without any issues. When it is used from our product code and while compiling using C++ compiler, the issue is seen.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We also don’t use the ‘warning as errors’ and warning level 3 we are using currently.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks and regards,<o:p></o:p></p>
<p class="MsoNormal">Nagalakshmi<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Michael Mueller <abaci.mjm@gmail.com> <br>
<b>Sent:</b> Monday, September 30, 2019 4:05 PM<br>
<b>To:</b> Nagalakshmi V J <nagalakshmi.j@altran.com><br>
<b>Cc:</b> openssl-users@openssl.org; Umamaheswari Nagarajan <umamaheswari.nagarajan@altran.com><br>
<b>Subject:</b> Re: OpenSSL compilation errors in Windows<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#FDFEFE"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">** This mail has been sent from an external source **
<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">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.
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Mon, Sep 30, 2019, 3:16 AM Nagalakshmi V J <<a href="mailto:nagalakshmi.j@altran.com">nagalakshmi.j@altran.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p style="margin-bottom:12.0pt;vertical-align:baseline"><span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">Hi,</span><o:p></o:p></p>
<p style="margin-bottom:12.0pt;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.</span><o:p></o:p></p>
<p style="margin-bottom:12.0pt;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.</span><o:p></o:p></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</span></i><o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt;vertical-align:baseline"><i><span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729"> </span></i><o:p></o:p></p>
<p style="margin-bottom:12.0pt;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?</span><o:p></o:p></p>
<p style="margin-bottom:12.0pt;vertical-align:baseline"><span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">Please let me know how to resolve this issue.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;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">
 <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i> </i><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>Thanks and regards,</i><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i>Nagalakshmi</i><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<p class="MsoNormal">=====================================================<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Please refer to
<a href="https://northamerica.altran.com/email-disclaimer" target="_blank">https://northamerica.altran.com/email-disclaimer</a><br>
for important disclosures regarding this electronic communication.<br>
</span>=====================================================<o:p></o:p></p>
</div>
</blockquote>
</div>
</div>
</div>
=====================================================<br>
<font face="Arial" color="Black" size="2">Please refer to https://northamerica.altran.com/email-disclaimer<br>
for important disclosures regarding this electronic communication.<br>
</font>=====================================================<br>
</body>
</html>