<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Feb 7, 2012, at 4:04 PM, Kostya Serebryany wrote:</div><blockquote type="cite"><div class="gmail_quote">On Tue, Feb 7, 2012 at 3:46 PM, John McCall <span dir="ltr"><<a href="mailto:rjmccall@apple.com" target="_blank">rjmccall@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">

On Feb 7, 2012, at 2:07 PM, Kostya Serebryany wrote:<br>
> Slightly formatted/commented patch.<br>
> WDYT?<br>
<br>
This seems to work fine, except that reading a field from a const<br>
AttrConst is not a constant expression in C++03, so the "set"<br>
declarations (ParameterOnly, FunctionOnly, VarArgsIncompatible,<br>
and MutuallyIncompatible) still require a global constructor.</blockquote><div>OMG, yes, indeed.  </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">  You<br>
can split the values into separate 'const uint64_t' declarations and<br>
use those;  it makes the header even uglier, but it works.<br></blockquote><div><br></div><div>like this (see the new patch)? </div></div></blockquote><br></div><div>Yes, that's great, thanks!</div><div><br></div><div>John.</div><br></body></html>