From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10026 invoked by alias); 10 Apr 2002 15:11:30 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 9999 invoked from network); 10 Apr 2002 15:11:27 -0000 Received: from unknown (HELO ariane.ens-cachan.fr) (138.231.176.4) by sources.redhat.com with SMTP; 10 Apr 2002 15:11:27 -0000 Received: from mayo.cmla.ens-cachan.fr (mayo.cmla.ens-cachan.fr [138.231.64.2]) by ariane.ens-cachan.fr (8.12.2/jtpda-5.3.3) with ESMTP id g3AFBDfa026945 ; Wed, 10 Apr 2002 17:11:13 +0200 Received: from jambon.cmla.ens-cachan.fr (jambon.cmla.ens-cachan.fr [138.231.64.60]) by mayo.cmla.ens-cachan.fr (8.9.1a/jtpda-5.3.2) with ESMTP id RAA21284 ; Wed, 10 Apr 2002 17:11:06 +0200 (MET DST) Received: from (dosreis@localhost) by jambon.cmla.ens-cachan.fr (8.9.3/jtpda-5.3.1/CL) id RAA15229 ; Wed, 10 Apr 2002 17:11:07 +0200 (MET DST) To: Joe Buck Cc: mark@codesourcery.com (Mark Mitchell), phil@jaj.com (Phil Edwards), gcc@gcc.gnu.org (gcc@gcc.gnu.org), bkoz@redhat.com (bkoz@redhat.com) Subject: Re: GCC 3.1 Release References: <200204101455.HAA23170@atrus.synopsys.com> From: Gabriel Dos Reis In-Reply-To: Joe Buck's message of "Wed, 10 Apr 2002 07:55:19 -0700 (PDT)" Organization: CodeSourcery, LLC Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Date: Wed, 10 Apr 2002 08:17:00 -0000 Message-ID: X-SW-Source: 2002-04/txt/msg00388.txt.bz2 Joe Buck writes: [...] | I'm going to give you a partial patch. The reason is that I still | haven't won my battle with a company lawyer who doesn't like the FSF's | patent clause in the contribution document. So instead I'll show you | how to fix the bug by giving one of the four new templates needed. | That way the size of my contribution will be smaller than the limit | RMS feels comfortable with for folks with no papers on file. | | The issue is that, for std::rel_ops::operator!=, the types of the two | arguments are constrained to be the same, while in stl_iterator.h, we | define another operator!= template that allows the two arguments to be | different. The solution is to add another template definition, as | follows: A better solution is to move all those things that have no business in std:: into __gnu_cxx::. If we don't do it now we can't do it in a dot release as it would be an ABI change -- and I would hate to maintain two different versions. -- Gaby