[xmlsec] Win32 msvc build warnings

iso8583 iso8583 at free.fr
Sat Dec 3 02:52:54 PST 2016


Hi,

FWIW, no such errors on my side (building master GitHub repo, VS 2013, Windows 7 64).

Regards,

Michel.

-----Message d'origine-----
De : xmlsec [mailto:xmlsec-bounces at aleksey.com] De la part de Aleksey Sanin
Envoyé : jeudi 1 décembre 2016 16:42
À : Ranier VF; xmlsec at aleksey.com
Objet : Re: [xmlsec] Win32 msvc build warnings

Please send a pull request in github!

Aleksey

On 12/1/16 5:09 AM, Ranier VF wrote:
> Hi,
> Is possible make small changes?
> 
> 1. win32\makefile.msvc
> Change /OPT:NOWIN98 to /RELEASE
> Recent msvc compilers deprecated "NOWIN98" and generate error.
> 
> 2. include\xmltree.h (line 53)
> XMLSEC_EXPORT xmlNodePtr        xmlSecEnsureEmptyChild  (xmlNodePtr parent,
>                                                          const xmlChar *name,
>                                                          const xmlChar 
> *ns); to
> XMLSEC_EXPORT xmlNodePtr        xmlSecEnsureEmptyChild  (const xmlNodePtr parent,
>                                                          const xmlChar *name,
>                                                          const xmlChar 
> *ns);
> 
> to fix:
> ..\src\xmltree.c(312) : warning C4028: formal parameter 1 different 
> from declaration
> 
> 3. unreachable code with MSVC WIN32 defines?
> c:\dll\xmlsec-1.2.23\src\openssl\evp_signatures.c(145) : warning 
> C4702: unreachable code
> c:\dll\xmlsec-1.2.23\src\openssl\signatures.c(180) : warning C4702: 
> unreachable code
> c:\dll\xmlsec-1.2.23\src\openssl\hmac.c(176) : warning C4702: 
> unreachable code
> c:\dll\xmlsec-1.2.23\src\openssl\digests.c(135) : warning C4702: 
> unreachable code
> 
> Best regards,
> 
> Ranier Vilela
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
> 
_______________________________________________
xmlsec mailing list
xmlsec at aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec



More information about the xmlsec mailing list