[GitHub] [xerces-c] rleigh-codelibre opened a new pull request #16: XERCESC-2200: Update AppVeyor for VS2017 and vcpkg

2020-06-04 Thread GitBox


rleigh-codelibre opened a new pull request #16:
URL: https://github.com/apache/xerces-c/pull/16


   * Use VS2017 image, which also updates MinGW, and adds CMake, Ninja and 
vcpkg.
   * Build with VS2017
   * Newer versions of MinGW are currently broken with Xerces-C++; XERCESC-2203 
opened as a followup



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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



[jira] [Created] (XERCESC-2203) MingGW time functions are broken

2020-06-04 Thread Roger Leigh (Jira)
Roger Leigh created XERCESC-2203:


 Summary: MingGW time functions are broken
 Key: XERCESC-2203
 URL: https://issues.apache.org/jira/browse/XERCESC-2203
 Project: Xerces-C++
  Issue Type: Bug
  Components: Utilities
Affects Versions: 3.3.0
Reporter: Roger Leigh
Assignee: Roger Leigh
 Fix For: 3.3.0


{noformat}
C:/projects/xerces-c/src/xercesc/util/XMLDateTime.cpp:583:29: error: use of 
undeclared identifier 'timezone'
return mktime() - timezone;
{noformat}

Newer versions of MinGW have added functions which were previously missing, 
like gmtime_r and localtime_r.  It's possible the autodetection logic is 
incomplete and it's not using the correct ifdefs.  For Xalan-C, I added 
additional feature detection and this solved the problem and will work with old 
or new MinGW versions.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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