This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bug report: abort in g++ 3.4.4 generated DLL & client
- From: Stein Somers <ssomers at opnet dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 27 Jan 2006 18:50:36 +0100
- Subject: Re: bug report: abort in g++ 3.4.4 generated DLL & client
- References: <42EFA9DC.7030800@opnet.com>
FYI, this problem persists in the latest cygwin release. Or as I would
put it, "cygwin 1.5.17-1 good, 1.5.19-4 bad". I'll around get to it as
soon as I'm retired, I promise...
Source file 1: ==> testdll.cpp <==
#include <string>
std::string test() { return std::string(); }
Source file 2: ==> main.cpp <==
#include <string>
std::string test();
int main() {
puts("hello");
test();
puts("goodbye");
return 0;
}
Commands applied:
g++ -Wall testdll.cpp -shared -o test.dll
g++ -Wall main.cpp test.dll
./a.exe
--
Stein
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/