RFR : [XS] 8209942: [epsilon] range function for EpsilonTLABElasticity causes compiler warning

Erik Joelsson erik.joelsson at oracle.com
Wed Sep 5 16:57:06 UTC 2018



On 2018-09-05 04:03, Baesken, Matthias wrote:
> Hello,  when compiling    jdk/jdk   on Windows,  (with VS2017 update level 15.8 and not disabling warnings as errors )
> I came across  this  warning   leading to build error :
>
> C:/jdk-just-clone/src/hotspot/share/runtime/flags/jvmFlagRangeList.cpp(341): error C2220: warning treated as error - no 'object' file generated
> C:/jdk-just-clone/src/hotspot/share/runtime/flags/jvmFlagRangeList.cpp(341): warning C4305: 'argument': truncation from 'const intx' to 'double'
>
> Would have been helpful  to have a compiler flag set  that really   ***shows  the code***  leading to the warning/error  (because it comes from heavy macro expansion).
>
Do you know of such a flag? If so we certain would like to add it.

/Erik




More information about the build-dev mailing list