[cfe-dev] Compile errors on MSVC

章磊 ioripolo at gmail.com
Wed Dec 23 22:31:45 PST 2009


The latest version of clang has many explicit calls to the destructor of
Class Stmt. These produce some compile errors in MSVC.

something like this:

1>.\Stmt.cpp(112) : error C2300: 'clang::SwitchStmt' : class does not have a
destructor called '~Stmt'
1>.\Stmt.cpp(476) : error C2300: 'clang::IfStmt' : class does not have a
destructor called '~Stmt'
1>.\Stmt.cpp(501) : error C2300: 'clang::WhileStmt' : class does not have a
destructor called '~Stmt'

I don't know how to do with this. Can someone fix it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091224/a3e8c5ee/attachment.html>


More information about the cfe-dev mailing list