From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29187 invoked by alias); 9 Sep 2014 21:19:37 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 29177 invoked by uid 89); 9 Sep 2014 21:19:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: topped-with-meat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: "Carlos O'Donell" Cc: "Joseph S. Myers" , GNU C Library Subject: Re: In debug/tst-chk1 we purposely test gets and getwd? In-Reply-To: Carlos O'Donell's message of Monday, 8 September 2014 11:37:18 -0400 <540DCD2E.7060107@redhat.com> References: <540D0803.5030502@redhat.com> <540DCD2E.7060107@redhat.com> Message-Id: <20140909211933.6466B2C39D8@topped-with-meat.com> Date: Tue, 09 Sep 2014 21:19:00 -0000 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=SvUDtp+0 c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=14OXPxybAAAA:8 a=-7gZD5v-YwUA:10 a=MOOsK4-upSMA:10 a=Z6MIti7PxpgA:10 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=KSIoZkbDH6nfpsl7DOsA:9 a=CjuIK1q_8ugA:10 a=rt6LkG89LPEA:10 a=MibZr4LcZowA:10 X-SW-Source: 2014-09/txt/msg00146.txt.bz2 4.4 supports '#pragma GCC diagnostic ignored "..."', but only at top level, and it does not support '#pragma GCC push'. Even a file-wide pragma seems preferable to using command-line options (and we should clean up existing cases of 'CFLAGS-foo.c = -Wno-...'). But perhaps before we get to this, we'll decide to bump the minimum compiler up to 4.6, and then we could use tight push/pop regions to disable around just the one line, which is better.