<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 1/21/2013 10:48 PM, Chandler Carruth
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAGCO0KjFSdShXQuPG4BOtY_MS0TAKtUNQinyvzkqxA_F2hXhZA@mail.gmail.com"
      type="cite">
      <div dir="ltr">On Mon, Jan 21, 2013 at 8:12 PM, Shankar Easwaran <span
          dir="ltr"><<a moz-do-not-send="true"
            href="mailto:shankare@codeaurora.org" target="_blank"
            class="cremed">shankare@codeaurora.org</a>></span> wrote:<br>
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Author:
              shankare<br>
              Date: Mon Jan 21 22:12:03 2013<br>
              New Revision: 173125<br>
              <br>
              URL: <a moz-do-not-send="true"
                href="http://llvm.org/viewvc/llvm-project?rev=173125&view=rev"
                target="_blank" class="cremed">http://llvm.org/viewvc/llvm-project?rev=173125&view=rev</a><br>
              Log:<br>
              it looks like g++ 4.7.2 doesnot like bit fields when the
              type is a enumeration (Throws an error as bit-field with
              non integral type)<br>
            </blockquote>
            <div><br>
            </div>
            <div style="">The more common solution is to use an
              'unsigned' bitfield and cast the values back to the
              enumeration.</div>
            <div> </div>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    This would need the values to be casted everywhere that the variable
    is used. I changed the enum class to a plain enumeration.<br>
    <br>
    Committed revision <b>173166.<br>
      <br>
    </b>Thanks<br>
    <br>
    Shankar Easwaran<br>
    <pre class="moz-signature" cols="72">-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation</pre>
  </body>
</html>