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.


On Tuesday 13 April 2010 09:56:17, Pierre Muller wrote:
> Is this patch OK?

Sure.

> 2010-04-13  Pierre Muller  <muller@ics.u-strasbg.fr>
> 
>         Suppress unused value warning during compilation .

                                                          ^

spurious space.

>         * tui/tui-regs.c (tui_display_register): Cast wstandout and
> wstandend
>         calls to (void).
>         * tui/tui-stack.c (tui_show_locator_content): Likewise.


FYI: the type is void, not (void).  ()'s are part of the
C cast syntax.

-- 
Pedro Alves


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