[openssl-dev] [openssl.org #3968] HOSENT: redefinition error
Michel
michel.sales at free.fr
Fri Jul 31 12:45:56 UTC 2015
Hi Julius,
I am afraid this is not related to the 'dev' list.
Did you try to modify the order of your header files as mentioned on several other forums ?
http://comments.gmane.org/gmane.comp.encryption.openssl.devel/14135
(and include WinSock2.h before windows.h)
Regards,
Michel
-----Message d'origine-----
De : openssl-dev [mailto:openssl-dev-bounces at openssl.org] De la part de Julius Villapando via RT
Envoyé : jeudi 30 juillet 2015 13:25
Cc : openssl-dev at openssl.org
Objet : [openssl-dev] [openssl.org #3968] HOSENT: redefinition error
Hi,
I'm trying to use the openssl library along with other libraries but the HOSENT in bio.h conflicts with winsock.h HOSENT, do you guys have a solution for this, or can I request that you change the name of HOSENT to avoid the redefinition error? Thanks in advance.
Here is the error:openssl/bio.h(729) : error C2371: 'HOSTENT' : redefinition; different basic types
winsock.h(1029) : see declaration of 'HOSTENT'
More information about the openssl-dev
mailing list