<AWT Dev> RFR: 8241087: Build failure with VS 2019 (16.5.0) due to C2039 and C2873

Yasumasa Suenaga suenaga at oss.nttdata.com
Tue Mar 17 11:48:38 UTC 2020


Hi all,

Please review this change:

   JBS: https://bugs.openjdk.java.net/browse/JDK-8241087
   webrev: http://cr.openjdk.java.net/~ysuenaga/JDK-8241087/webrev.00/

I tried to build OpenJDK with VS 2019 (version 16.5.0), but it failed due to C2039 and C2873.

alloc.h defines malloc / calloc / realloc to undeclared value not for using them. They seem to affect to C++ runtime internal call (in cstdlib).

Please see error message from cl.exe on JBS.


Thanks,

Yasumasa


More information about the awt-dev mailing list