[cfe-dev] Compile errors on MSVC

Douglas Gregor dgregor at apple.com
Tue Jan 5 07:28:40 PST 2010


On Dec 23, 2009, at 10:31 PM, 章磊 wrote:

> 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?

This should already have been fixed?

	- Doug



More information about the cfe-dev mailing list