X-Spam-Check-By: sourceware.org Message-ID: <44567F78.9070107@ucsd.edu> Date: Mon, 01 May 2006 14:36:56 -0700 From: Steven Brown User-Agent: Thunderbird 1.4 (Windows/20050908) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Fixing the state of C++ in Cygwin References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylisting: NO DELAY (Trusted relay host); processed by UCSD_GL-v2.1 on mailbox8.ucsd.edu; Mon, 01 May 2006 14:36:58 -0700 (PDT) X-MailScanner: PASSED (v1.2.8 98477 k41Lav7R033764 mailbox8.ucsd.edu) 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 Angelo Graziosi wrote: > After applying the PR24196 patch to basic_string.h and basic_string.tcc, > rebuilding ROOT, it works! Possibly ROOT uses a templated form of string other than the ones explicitly instantiated in libstdc++ (char/wchar I believe), as this simply shouldn't work due to the explicit instantiation, and even if disabled for the types it did that for (as in my fancy attempt at m4 to fix it), it's a flip of a coin as to if you get the broken version in libstdc++ or not. There's simply no way to solve this for all cases without a recompile of libstdc++. Since no one's made a call on whether to use the patch or the config option, I'll look into rolling one using the config option sometime this week when I get time and fixing up the build/patch, as I much prefer a known-working option to a still-in-progress patch. As an example of why just patching the headers won't work, try to compile and run my old weirdbug[1] example - type make and run xxx-cygwin.exe. If it aborts, the problem still exists on your system. I just tested it, and as expected, simply patching the files like that didn't fix it. [1] http://svn.variadic.org/public/trunk/weirdbug/ -- 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/