This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [RFA] Fix compilation failure on cygwin due to ncurses macro.


 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]