[ https://issues.apache.org/jira/browse/XERCESC-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17073098#comment-17073098 ]
Roger Leigh commented on XERCESC-2177: -------------------------------------- As mentioned on XERCESC-2190 I think we would be better off deleting use of this function entirely and assuming that we're on a recent enough Windows platform. Since the affected versions are over two decades old and thoroughly obsolete, and no supported development environment can target them, that's a fairly safe assumption to make. > invalid windows version check for `onXPOrLater` > ----------------------------------------------- > > Key: XERCESC-2177 > URL: https://issues.apache.org/jira/browse/XERCESC-2177 > Project: Xerces-C++ > Issue Type: Bug > Components: Utilities > Affects Versions: 3.2.0, 3.2.1, 3.2.2 > Environment: win10 x64 > Reporter: Vvv > Assignee: Alberto Massari > Priority: Minor > Labels: beginner, easyfix, windows > Fix For: 3.2.3 > > > in > {{xerces-c-3.2.2\src\xercesc\util\Transcoders\Win32\Win32TransService.cpp:324}} > > {{ if ((OSVer.dwPlatformId == VER_PLATFORM_WIN32_NT) &&}} > {{ ((OSVer.dwMajorVersion == 5) && (OSVer.dwMinorVersion > 0)))}} > {{ {}} > {{ onXPOrLater = true;}} > {{ }}} > on win10 {{OSVer.dwMajorVersion = 6}} -- 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