From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30465 invoked by alias); 31 Aug 2010 21:22:37 -0000 Received: (qmail 30456 invoked by uid 22791); 31 Aug 2010 21:22:37 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 31 Aug 2010 21:22:32 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 2EE712BABC2; Tue, 31 Aug 2010 17:22:31 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5ORqY8X3haXH; Tue, 31 Aug 2010 17:22:31 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id EC8B32BABBF; Tue, 31 Aug 2010 17:22:30 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 2AE78F599F; Tue, 31 Aug 2010 23:22:23 +0200 (CEST) Date: Tue, 31 Aug 2010 21:22:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: gdb-patches@sourceware.org, Jan Kratochvil Subject: Re: [commit] Build memmem with -Wno-error. Message-ID: <20100831212223.GO2986@adacore.com> References: <1283281706-30409-1-git-send-email-brobecker@adacore.com> <201008312048.35034.pedro@codesourcery.com> <20100831201455.GA24500@host1.dyn.jankratochvil.net> <201008312134.16818.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201008312134.16818.pedro@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00578.txt.bz2 > I'm not sure whether this may break the build on older gcc's, but > given --disable-werror, it's fine with me to give this a try. I had a look at the documentation for older versions of GCC, up to version 2.95.3, and all manuals say that for every -Wsomething, there is the counter-part Wno-something. Unless there was an omission in the implementation, I think that the sed adjustment should be fine. -- Joel