This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [RFA] Fix compilation failure on cygwin due to ncurses macro.
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Pedro Alves'" <pedro at codesourcery dot com>
- Cc: "'Joel Brobecker'" <brobecker at adacore dot com>, <gdb-patches at sourceware dot org>
- Date: Thu, 15 Apr 2010 10:08:59 +0200
- Subject: RE: [RFA] Fix compilation failure on cygwin due to ncurses macro.
- 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>
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