RFR: 8214944: replace strerror by os::strerror

Kim Barrett kim.barrett at oracle.com
Thu Dec 6 21:01:16 UTC 2018


> On Dec 6, 2018, at 10:17 AM, Baesken, Matthias <matthias.baesken at sap.com> wrote:
> However we disable   warning C4996    in    jdk/src/hotspot/share/utilities/globalDefinitions_visCPP.hpp   , 
> so no wonder we do not get it.
> Probably  removing the  disabling  of    warning C4996    in    jdk/src/hotspot/share/utilities/globalDefinitions_visCPP.hpp      might  cause  much more warnings than just  the strerror-warning  "family" ,  
> so I am not sure if it is really  an option  at the moment .

The _CRT_SECURE_NO_WARNINGS &etc stuff is *not* something we
want to change.  This misfeature declares a bunch of standard
functions to be "deprecated" in favor of corresponding non-standard
functions.



More information about the hotspot-dev mailing list