[lldb-dev] Delegating Constructor Issue on Linux
Malea, Daniel
daniel.malea at intel.com
Wed Feb 6 08:49:15 PST 2013
Thanks Abid; committed in r174519.
If you're evaluating LLDB on Linux and try to run the tests, you may notice some assertion failures at the moment (in RecordLayoutBuilder.cpp) which we are hoping to address soon :)
Cheers,
Dan
On 2013-02-06, at 9:14 AM, "Abid, Hafiz" <Hafiz_Abid at mentor.com> wrote:
> Hi,
> I am new to lldb. I was trying to build it in Ubunto 12.04(g++ 4.6.3) and got some build error due to the use of delegating constructors in FormatCache::Entry class. Delegating constructor are not supported in g++ version less then 4.7[1]. So I tried to solve it by initializing the required members in initializer list in every constructor. A common init function seemed a bit overkill to me here.
>
> My patch is attached. Please review it.
>
> Thanks,
> Abid
>
> [1] http://gcc.gnu.org/projects/cxx0x.html
> <lldb_delegate_ctor.patch>_______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
More information about the lldb-dev
mailing list