4 ms·
Hm, I'd rather pay the cost of having to add a virtual keyword in a few places (easily found using the equivalent of g++ -Wnon-virtual-dtor, and you do ship C++
by copper 15y ago
Hm, I'd rather pay the cost of having to add a virtual keyword in a few places (easily found using the equivalent of g++ -Wnon-virtual-dtor, and you do ship C++ code that is warning-free, right? :) rather than have to deal with up to eight bytes extra per instance in all my classes.
- malkia 15y agoThanks for the hint! Actually I did not know about this option. I've just fixed such bug in one of our tools, written using wxWidgets for Windows. Have to check MSVC on this option. At the same time a coworker was able to get the Xbox360 analyze thing and it worked finding suspicious stuff in the runtime code. But we have only the professional version for PC :(
- DCoder 15y agoIn MSVC, this warning's off by default: http://msdn.microsoft.com/en-us/library/wzxffy8c(v=VS.100).aspx http://msdn.microsoft.com/en-us/library/wzxffy8c(v=VS.100).a...