A couple issues compiling without the C stdlib/runtime

1. When I have a virtual destructor I get a link error totype_info::~type_info. After I put this in

///////////////////////////////////////////////////////////////////////
#include <typeinfo.h>
type_info::~type_info()
{
type_info::_Type_info_dtor(this);
}
void __cdecl type_info::_Type_info_dtor(type_info * WSUNUSED(t))
{
}
///////////////////////////////////////////////////////////////////////

everything works fine. Is there any way to get around this without a hack?

2. When calling a virtual function (any) it crashes.

I can provide more info on these issues if need be. Last time I filed a bug report it was already fixed, so maybe that's happened again.

[838 byte] By [WikiServerGuy] at [2007-12-16]
# 1
Hi,

It hard to say from code snippet you have provided what the issue is. If you a bug report on lab.msdn.microsoft.com is marked fixed, it may take sometime before fix is ported to CTP release. You can also post a link to the bug report and I can double check on this report in our database, or just wait for July CTP.

Thanks,
Nikola
VC++

NikolaDudar at 2007-9-8 > top of Msdn Tech,Visual C++,Visual C++ General...