X-Spam-Check-By: sourceware.org Message-ID: <43DA5D6C.2090209@opnet.com> Date: Fri, 27 Jan 2006 18:50:36 +0100 From: Stein Somers 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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OPNET-MailScanner: Found to be clean X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 std::string test() { return std::string(); } Source file 2: ==> main.cpp <== #include 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/