On Tue, 18 Jun 2024 11:29:20 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

> From the JBS description:
> 
> We use various POSIX functions in the JDK in shared code, and possibly even 
> in Windows-specific code. The UCRT optionally provides the relevant 
> functionality under alternate names with leading underscores, and optionally 
> provides the POSIX names and by default warns about their use.
> https://learn.microsoft.com/en-us/cpp/c-runtime-library/compatibility?view=msvc-170
> 
> We currently define _CRT_NONSTDC_NO_DEPRECATE to request the POSIX names be 
> defined and to suppress the deprecation warnings. However, that macro seems 
> to be undocumented (or perhaps is no longer documented). Instead, recent 
> versions of that compatibility page suggest the use of 
> _CRT_NONSTDC_NO_WARNINGS and _CRT_DECLARE_NONSTDC_NAMES. We should update our 
> usage accordingly.

This pull request has now been integrated.

Changeset: 78682fe7
Author:    Magnus Ihse Bursie <i...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/78682fe78e18268b1857855c3595b4d118808c66
Stats:     6 lines in 1 file changed: 0 ins; 0 del; 6 mod

8329288: Update Visual Studio visibility support for POSIX functions

Reviewed-by: kbarrett

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

PR: https://git.openjdk.org/jdk/pull/19766

Reply via email to