http://bugs.winehq.org/show_bug.cgi?id=3631 Summary: Static destructors or atexit not called if app is compiled with mingw32 Product: Wine Version: 20050930 Platform: PC URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=290795 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-binary AssignedTo: wine-bugs(a)winehq.org ReportedBy: ovek(a)arcticnet.no Muschick Christian <muschick_christian(a)aon.at> reports that when this app is compiled with mingw32, it runs properly on Windows, but not on Wine. (When it is compiled with a Windows compiler, it runs properly on both.) #include <iostream> class Foo { public: ~Foo() { std::cout << "Destructor\n"; } }; Foo foo; void f() { std::cout << "f\n"; } int main(int c, char ** p) { std::cout << "main\n"; atexit(f); return 0; } -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.