OpenSSL compilation errors in Windows
Nagalakshmi V J
nagalakshmi.j at altran.com
Mon Sep 30 10:54:21 UTC 2019
Hi Michael,
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.
We also don’t use the ‘warning as errors’ and warning level 3 we are using currently.
Thanks and regards,
Nagalakshmi
From: Michael Mueller <abaci.mjm at gmail.com>
Sent: Monday, September 30, 2019 4:05 PM
To: Nagalakshmi V J <nagalakshmi.j at altran.com>
Cc: openssl-users at openssl.org; Umamaheswari Nagarajan <umamaheswari.nagarajan at altran.com>
Subject: Re: OpenSSL compilation errors in Windows
** This mail has been sent from an external source **
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.
On Mon, Sep 30, 2019, 3:16 AM Nagalakshmi V J <nagalakshmi.j at altran.com<mailto:nagalakshmi.j at altran.com>> wrote:
Hi,
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.
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.
Getting the errors like below. ssl/packet_locl.h(429) : error C2440: '=' : cannot convert from 'void *' to 'unsigned char 'Conversion from 'void' to pointer to non-'void' requires an explicit cast
Since it is giving error in Openssl code, we cannot make any code changes there. Has anyone faced this kind of issue?
Please let me know how to resolve this issue.
Thanks and regards,
Nagalakshmi
=====================================================
Please refer to https://northamerica.altran.com/email-disclaimer
for important disclosures regarding this electronic communication.
=====================================================
=====================================================
Please refer to https://northamerica.altran.com/email-disclaimer
for important disclosures regarding this electronic communication.
=====================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20190930/3bedc4c0/attachment-0001.html>
More information about the openssl-users
mailing list