Corrected: RFR 8059557 (XL): Validate JVM Command-Line Flag Arguments
Kim Barrett
kim.barrett at oracle.com
Thu May 21 21:31:33 UTC 2015
On May 21, 2015, at 12:54 PM, Gerard Ziemski <gerard.ziemski at oracle.com> wrote:
>
> hi Alexander,
>
> Yes, handling it this way was an alternative, but I thought it required a C++ compiler with some specific feature support? C++ 11?
>
> It was my understanding that such solution was more restrictive, than the one I used.
>
> Thank you.
>
> On 5/21/2015 11:26 AM, Alexander Harlap wrote:
>> And what about this:
>>
>> void emit_range_bool(const char* /* name */) { }
Unnamed arguments in C++ are not new; see, for example, C++ ARM 8.2.5 (p.140).
See also C++03 8.3.5/8 Functions, and Note regarding them in 8.4/6 Function definitions.
That’s the standard way to deal with the problem. I’ve not heard of a compiler that is so
stupid as to warn about that usage.
More information about the hotspot-dev
mailing list