http://bugs.winehq.org/show_bug.cgi?id=3410
Summary: msvcrt rtti typeid with primitive types Product: Wine Version: 20050211 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: arik@tidex.co.il
Trying to execute the following program causes wine to crash. Alternatively, it may result in corruption. The program was compiled using VC6 with STLport 4.6.2; the command line was: CL /GX /GR /MD rtti.cpp . I suspect the problem is in the WINE MSVCRT implementation.
#include <iostream> #include <ostream> #include <typeinfo>
int main() { std::cout << typeid(float).name() << '\n'; return 0; }