Error 444 with ATL COM -Qms Doesn't Help

Error 444 with ATL COM -Qms Doesn't Help

I'm testing out 7.0 with my (very large) ATL COM application. We use ATL, STL and WTL.

I get lots of Error #444 - base class doesn't have virtual destructor - with every last interface declared in .h, the output of the MIDL compiler. I also get this error from our CComModule-derived classes. I switched on -Qms to try to ignore this error, but I still receive it.

What to do?

Thanks in advance,

--Kevin

2 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

We refer to numbered error messages as discretionary errors. They can be downgraded with the -Qww switch. Try -Qww444 on your command line.

It would be nice to know if there is an actual problem with your code or the compiler. If MS compiles this with no diagnostic, it might be nice if we matched the behavior. Do you think you can roll up a small testcase and submit a QUAD?

Thanks,

Max [Intel Compiler Team]

登陆并发表评论。