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.


> 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


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