[jira] [Updated] (XERCESC-2203) MingGW time functions are broken
[ https://issues.apache.org/jira/browse/XERCESC-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Cantor updated XERCESC-2203: -- Affects Version/s: (was: 3.3.0) 3.2.0 3.2.1 3.2.2 3.2.3 > 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.2.0, 3.2.1, 3.2.2, 3.2.3 >Reporter: Roger Leigh >Assignee: Roger Leigh >Priority: Major > Fix For: 4.0.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
[jira] [Updated] (XERCESC-2203) MingGW time functions are broken
[ https://issues.apache.org/jira/browse/XERCESC-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roger Leigh updated XERCESC-2203: - Fix Version/s: (was: 3.3.0) 4.0.0 > 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 >Priority: Major > Fix For: 4.0.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