[cfe-dev] a bug : c++ construction initialization list is not supportted

Jiandong Lu lujiandong1001 at yahoo.com.cn
Sun May 24 20:29:41 PDT 2009


use "g++ test.cpp -o test" to compile the file in my attachment,execute test. its output is v = 3 value = 3 in C constructorv = 3 value = 3 in C constructor
but, use "clang -ccc-clang-cxx  test.cpp -o test" tp compile ,execute test.its output is 
v = 3 value = 0 in C constructorv = 3 value = 3 in C constructor
currently, c++ construction initialization list  is not supportted.


      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090525/b28e844c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cpp
Type: application/octet-stream
Size: 288 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090525/b28e844c/attachment.obj>


More information about the cfe-dev mailing list