[lldb-dev] Delegating Constructor Issue on Linux

Abid, Hafiz Hafiz_Abid at mentor.com
Wed Feb 6 06:14:42 PST 2013

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.


[1] http://gcc.gnu.org/projects/cxx0x.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lldb_delegate_ctor.patch
Type: text/x-patch
Size: 1052 bytes
Desc: lldb_delegate_ctor.patch
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130206/2b152a89/attachment.bin>

More information about the lldb-dev mailing list