<br><br><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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

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><br></div><div>--kcc </div><div><br></div><div><br></div><div><br></div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span><font color="#888888"><br>
John.<br>
</font></span></blockquote></div><br>