[
https://issues.apache.org/jira/browse/XERCESC-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072989#comment-17072989
]
Scott Cantor commented on XERCESC-2190:
---------------------------------------
I definitely agree *for my purposes* but my point was that I tend not to
introduce changes that don't actually fix an issue *and* end up changing where
the code will run if I don't have a reason to do it.
In this case, I would say to leave it and if/when GetVersionEx does disappear
and start causing real problems on supported platforms, we can have a record
that it's safe to just yank.
So I think we have what we need but no reason to do anything at this time.
But as I say, that's just my perspective on how to deal with these kinds of
issues.
> deprecated GetVersionEx
> -----------------------
>
> Key: XERCESC-2190
> URL: https://issues.apache.org/jira/browse/XERCESC-2190
> Project: Xerces-C++
> Issue Type: Bug
> Affects Versions: 3.2.2
> Reporter: Aleksey Dobrunov
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Hello.
> *"GetVersionEx* may be altered or unavailable for releases after Windows 8.1.
> Instead, use the [Version Helper
> functions"|https://docs.microsoft.com/windows/desktop/SysInfo/version-helper-apis]
>
> [https://docs.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getversionexa]
> .
> {code:java}
> C:\Work\code\xerces-c\src\xercesc\util\Transcoders\Win32\Win32TransService.cpp(323):
> warning C4996: 'GetVersionExA': was declared deprecated
> C:\Program Files (x86)\Windows
> Kits\10\include\10.0.18362.0\um\sysinfoapi.h(387): note: see declaration of
> 'GetVersionExA'
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]