[jira] [Commented] (XERCESC-2159) Xerces fails to build with VS 2015 due to deprecated timezone symbol
[ https://issues.apache.org/jira/browse/XERCESC-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688410#comment-16688410 ] Philip Armstrong commented on XERCESC-2159: --- (We’re just using the cmake build that comes with xerces 3.2.2) > 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
[jira] [Commented] (XERCESC-2159) Xerces fails to build with VS 2015 due to deprecated timezone symbol
[ https://issues.apache.org/jira/browse/XERCESC-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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
[jira] [Commented] (XERCESC-2159) Xerces fails to build with VS 2015 due to deprecated timezone symbol
[ https://issues.apache.org/jira/browse/XERCESC-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688384#comment-16688384 ] Roger Leigh commented on XERCESC-2159: -- It's building with VS2015 and VS2017 for me. Are you using additional compiler options to disable deprecated features? Or are there feature macros to expose it (looks like _XOPEN_SOURCE is used on Linux according to timezone(3))? > 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
[jira] [Commented] (XERCESC-2159) Xerces fails to build with VS 2015 due to deprecated timezone symbol
[ https://issues.apache.org/jira/browse/XERCESC-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688340#comment-16688340 ] Scott Cantor commented on XERCESC-2159: --- Since it's building in VS2017 they must have added it back, or it was never actually removed, FWIW. > 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