delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/01/18:14:04

X-Spam-Check-By: sourceware.org
Message-ID: <44567F78.9070107@ucsd.edu>
Date: Mon, 01 May 2006 14:36:56 -0700
From: Steven Brown <swbrown AT ucsd DOT edu>
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: <Pine DOT OSF DOT 4 DOT 21 DOT 0605012153040 DOT 25930-100000 AT ax0rm1 DOT roma1 DOT infn DOT it>
In-Reply-To: <Pine.OSF.4.21.0605012153040.25930-100000@ax0rm1.roma1.infn.it>
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: <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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019