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: Joel Brobecker <brobecker at adacore dot com>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: 'Pedro Alves' <pedro at codesourcery dot com>, gdb-patches at sourceware dot org
- Date: Tue, 13 Apr 2010 08:26:09 -0700
- Subject: Re: [RFA] Fix compilation failure on cygwin due to ncurses macro.
- 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>
> 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