delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <43DA5D6C.2090209@opnet.com> |
Date: | Fri, 27 Jan 2006 18:50:36 +0100 |
From: | Stein Somers <ssomers AT opnet DOT com> |
User-Agent: | Mozilla Thunderbird 1.0.6 (Windows/20050716) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: bug report: abort in g++ 3.4.4 generated DLL & client |
References: | <42EFA9DC DOT 7030800 AT opnet DOT com> |
In-Reply-To: | <42EFA9DC.7030800@opnet.com> |
X-OPNET-MailScanner: | Found to be clean |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |