[llvm-commits] [lld] r173125 - /lld/trunk/include/lld/Core/LinkerOptions.h
Shankar Easwaran
shankare at codeaurora.org
Tue Jan 22 07:00:08 PST 2013
On 1/21/2013 10:48 PM, Chandler Carruth wrote:
> On Mon, Jan 21, 2013 at 8:12 PM, Shankar Easwaran
> <shankare at codeaurora.org <mailto:shankare at codeaurora.org>> wrote:
>
> Author: shankare
> Date: Mon Jan 21 22:12:03 2013
> New Revision: 173125
>
> URL: http://llvm.org/viewvc/llvm-project?rev=173125&view=rev
> Log:
> 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)
>
>
> The more common solution is to use an 'unsigned' bitfield and cast the
> values back to the enumeration.
>
This would need the values to be casted everywhere that the variable is
used. I changed the enum class to a plain enumeration.
Committed revision *173166.
*Thanks
Shankar Easwaran
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130122/4b1d0883/attachment.html>
More information about the llvm-commits
mailing list