RFR: 8216154: C4819 warnings at HotSpot sources on Windows

Kim Barrett kim.barrett at oracle.com
Mon Jan 7 20:54:42 UTC 2019


> On Jan 7, 2019, at 7:36 AM, Yasumasa Suenaga <yasuenag at gmail.com> wrote:
> 
> Hi Kim,
> 
> On 2019/01/07 7:18, Kim Barrett wrote:
>>> On Jan 6, 2019, at 12:54 PM, Kim Barrett <kim.barrett at oracle.com> wrote:
>>> 
>>>> On Jan 6, 2019, at 7:53 AM, Yasumasa Suenaga <yasuenag at gmail.com> wrote:
>>>> 
>>>> Hi Kim,
>>>> 
>>>> Thank you for your comment.
>>>> I uploaded new webrev to use pragma warning push/pop:
>>>> 
>>>> http://cr.openjdk.java.net/~ysuenaga/JDK-8216154/webrev.01/
>>>> 
>>>> 
>>>> Please review again.
>>> 
>>> Looks good.
>> It later occurred to me to wonder whether _WINDOWS was the right macro to conditionalize
>> on.  All other uses of #pragma warning push/pop (there are 5 in HotSpot) use _MSC_VER.
> 
> I updated webrev to use _MSC_VER. Is it ok?
> 
>  http://cr.openjdk.java.net/~ysuenaga/JDK-8216154/webrev.02/

Thanks for doing that.  I don’t know that _WINDOWS was actually wrong, or that _MSC_VER is
actually better, but it seems better to be consistent about it.  And sorry for not noticing earlier.

Looks good.



More information about the hotspot-compiler-dev mailing list