[Bug 3631] New: Static destructors or atexit not called if app is
compiled with mingw32
Wine Bugs
wine-bugs at winehq.org
Fri Oct 21 00:47:48 CDT 2005
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 at winehq.org
ReportedBy: ovek at arcticnet.no
Muschick Christian <muschick_christian at 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.
More information about the wine-bugs
mailing list