[xmlsec] Win32 msvc build warnings

Aleksey Sanin aleksey at aleksey.com
Thu Dec 1 07:42:15 PST 2016


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
> 


More information about the xmlsec mailing list