[ 
https://issues.apache.org/jira/browse/XERCESC-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16688405#comment-16688405
 ] 

Philip Armstrong commented on XERCESC-2159:
-------------------------------------------

This is the error I’m getting from the build:
{code}
"C:\Windows\Temp\tmps71t5b\src\xerces-c.vcxproj" (default target) (4) ->
(ClCompile target) -> 
  c:\windows\temp\tmplr9l3m\src\xercesc\util\xmldatetime.cpp(583): error C2065: 
'timezone': undeclared identifier 
[C:\Windows\Temp\tmps71t5b\src\xerces-c.vcxproj]

    98 Warning(s)
    1 Error(s)
{code}
using cmake to do the build:
{code}
Xerces-C++ configuration summary
-- --------------------------------
-- 
--   Version:                   3.2.2
--   Library interface version: 3.2
-- 
--   Installation directory:    C:/mvf-build/debug/third_party/xerces/Debug
--   C compiler:                C:/Program Files (x86)/Microsoft Visual 
Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe
--   C++ compiler:              C:/Program Files (x86)/Microsoft Visual 
Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe
-- 
--   Build shared libraries:    OFF
--   Path delimiters:           "/\"
--   File Manager:              windows
--   Mutex Manager:             standard
--   Transcoder:                windows
--   NetAccessor:               OFF
--   Message Loader:            inmemory
--   XMLCh type:                char16_t
-- Configuring done
{code}
(Actually it looks like we’re using VS 2017 there)

> Xerces fails to build with VS 2015 due to deprecated timezone symbol
> --------------------------------------------------------------------
>
>                 Key: XERCESC-2159
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2159
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.2.2
>            Reporter: Philip Armstrong
>            Priority: Major
>         Attachments: 0001-Fix-timezone-error-with-VS-2015.patch
>
>
> timezone was deprecated in VS 2013 and removed in VS 2015.
> The attached patch fixes the 
> problem.[^0001-Fix-timezone-error-with-VS-2015.patch]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to