From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25253 invoked by alias); 13 Apr 2010 15:26:30 -0000 Received: (qmail 25245 invoked by uid 22791); 13 Apr 2010 15:26:30 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=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, 13 Apr 2010 15:26:26 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 3B4462BAB41; Tue, 13 Apr 2010 11:26:25 -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 8F3FPN-ce6qv; Tue, 13 Apr 2010 11:26:25 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 07F8D2BAB3D; Tue, 13 Apr 2010 11:26:25 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 5E42CF58C2; Tue, 13 Apr 2010 08:26:09 -0700 (PDT) Date: Tue, 13 Apr 2010 15:26:00 -0000 From: Joel Brobecker To: Pierre Muller Cc: 'Pedro Alves' , gdb-patches@sourceware.org Subject: Re: [RFA] Fix compilation failure on cygwin due to ncurses macro. Message-ID: <20100413152609.GF19194@adacore.com> References: <003001cadae7$2e639860$8b2ac920$@muller@ics-cnrs.unistra.fr> <201004131237.53420.pedro@codesourcery.com> <004201cadb02$b4a525e0$1def71a0$@muller@ics-cnrs.unistra.fr> <20100413150707.GE19194@adacore.com> <004e01cadb1c$5ea1cdf0$1be569d0$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004e01cadb1c$5ea1cdf0$1be569d0$@muller@ics-cnrs.unistra.fr> 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-04/txt/msg00407.txt.bz2 > Would this change be OK? > Any better description is equally OK for me... How about the following? Please replace "unused-value" by what the compiler actually complained about... /* We need to cast the return value of wstandout to void because older versions of the ncurses implementation (for instance, the version used with cygwin 1.5) expand to some code leading to an unused-value warning from the compiler. */ -- Joel