From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31042 invoked by alias); 15 Apr 2010 08:09:34 -0000 Received: (qmail 31028 invoked by uid 22791); 15 Apr 2010 08:09:33 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Apr 2010 08:09:27 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id o3F88v3l059911 ; Thu, 15 Apr 2010 10:08:58 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms1.u-strasbg.fr [IPv6:2001:660:2402:d::10]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id o3F88v3t091921 ; Thu, 15 Apr 2010 10:08:57 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from d620muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id o3F88uLx083562 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Thu, 15 Apr 2010 10:08:56 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Pedro Alves'" Cc: "'Joel Brobecker'" , References: <003001cadae7$2e639860$8b2ac920$@muller@ics-cnrs.unistra.fr> <20100414155944.GK19194@adacore.com> <000001cadbef$a21bad70$e6530850$@muller@ics-cnrs.unistra.fr> <201004141738.22662.pedro@codesourcery.com> In-Reply-To: <201004141738.22662.pedro@codesourcery.com> Subject: RE: [RFA] Fix compilation failure on cygwin due to ncurses macro. Date: Thu, 15 Apr 2010 08:09:00 -0000 Message-ID: <000601cadc72$e751a330$b5f4e990$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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/msg00464.txt.bz2 I finally found the whole series of patches at http://ftp.ec-m.fr/pub/FreeBSD/ports/local-distfiles/rafan/ncurses/ The separate NCURSES_CAST(int, (win)->attrs) was introduced in 20090829 patch. According to NEWS, this is to solve Debian #542031. Thus it should become: /* We need to cast the return value of wstandout to void because in 2009/08/29 patch to release "5.7" of ncurses library, the wstandout macro expands to code that generates a unused-value warning at compilation. */ Is this correct? Pierre