Send MinGW-Notify mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.osdn.me/mailman/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-Notify digest..."


Please do not reply to this notification; the sender address is unable to 
accept incoming e-mail.  If you wish to unsubscribe you can do so at 
https://lists.osdn.me/mailman/listinfo/mingw-notify.



Today's Topics:

   1. [mingw] #42383: Implement a "legacy-safe" emulation of
      Microsoft's "versionhelpers" API. (MinGW Notification List)
   2. [mingw] #42383: Implement a "legacy-safe" emulation of
      Microsoft's "versionhelpers" API. (MinGW Notification List)


----------------------------------------------------------------------

Message: 1
Date: Mon, 24 May 2021 20:00:56 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #42383: Implement a "legacy-safe"
        emulation of Microsoft's "versionhelpers" API.
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#42383: Implement a "legacy-safe" emulation of Microsoft's "versionhelpers" API.

  Open Date: 2021-05-24 20:00
Last Update: 2021-05-24 20:00

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/42383
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=42383

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2021-05-24 20:00 Updated by: keith
 * New Ticket "Implement a "legacy-safe" emulation of Microsoft's 
"versionhelpers" API." created


---------------------------------------------------------------------
Ticket Status:

      Reporter: keith
         Owner: keith
          Type: Feature Request
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: (None)
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

The Ada component for GCC-10 has introduced a gratuitous dependency on 
Microsoft's <versionhelpers.h> API.  Notwithstanding that this is an appalling 
choice, by the GCC-Ada developers — OS version, (which is what this API tests,) 
is never a reliable indicator of feature availability — to facilitate 
continuing support for GCC-Ada, in MinGW, it is almost imperative that we 
provide our own <versionhelpers.h> API emulation; (the alternative would be to 
commit to patching future versions of GCC-Ada, in perpetuity, to circumvent 
this ill-advised dependency).

-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/mingw/ticket/42383
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=42383


------------------------------

Message: 2
Date: Mon, 24 May 2021 21:43:22 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #42383: Implement a "legacy-safe"
        emulation of Microsoft's "versionhelpers" API.
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#42383: Implement a "legacy-safe" emulation of Microsoft's "versionhelpers" API.

  Open Date: 2021-05-24 20:00
Last Update: 2021-05-24 21:43

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/42383
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=42383

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2021-05-24 21:43 Updated by: keith

Comment:

Microsoft first introduced the <versionhelpers.h> API as a component of the 
Windows 8.1 Software Development Kit. However, as noted in Microsoft's 
documentation, this API is based on the VerifyVersionInfo() function, which, 
according to the pertinent documentation, has been supported on all WinNT 
derivatives since Windows 2000, and thus, the <versionhelpers.h> API is 
backwardly compatible with Win2K, and all subsequent WinNT derivatives.
Unfortunately, while backward compatibility with Win2K, and all later WinNT 
derivatives, may be sufficient for many applications, it does not satisfy 
MinGW's objective of supporting even earlier WinNT variants, and Win9x; 
(indeed, the MinGW libraries are compiled with nominal support for WinNT4, with 
additional compatibility infrastructure to support Win9x).  Any MinGW emulation 
would, thus, need to incorporate such "legacy-support" infrastructure, even if 
such support offered no more than an indication that the run-time platform is 
too old for the requested level of support; (indeed, such an indication would 
be entirely appropriate, since the API specification incorporates no test for 
any OS version prior to IsWindowsXPOrGreater()).

---------------------------------------------------------------------
Ticket Status:

      Reporter: keith
         Owner: keith
          Type: Feature Request
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: (None)
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

The Ada component for GCC-10 has introduced a gratuitous dependency on 
Microsoft's <versionhelpers.h> API.  Notwithstanding that this is an appalling 
choice, by the GCC-Ada developers — OS version, (which is what this API tests,) 
is never a reliable indicator of feature availability — to facilitate 
continuing support for GCC-Ada, in MinGW, it is almost imperative that we 
provide our own <versionhelpers.h> API emulation; (the alternative would be to 
commit to patching future versions of GCC-Ada, in perpetuity, to circumvent 
this ill-advised dependency).

-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/mingw/ticket/42383
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=42383


------------------------------

Subject: Digest Footer

_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify


------------------------------

End of MinGW-Notify Digest, Vol 44, Issue 12
********************************************

Reply via email to