[RFC] Use macro for void typecast necessary for ncurses library.
Tom Tromey
tromey@redhat.com
Tue Apr 20 15:45:00 GMT 2010
>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> writes:
Pierre> I am unsure about:
Pierre> - the name we should give to the macro.
Pierre> - should the macro have a parameter?
Pierre> - should I mention that it would also apply to uses of wattrset?
If you are going to use a macro, then I would say it ought to have a
parameter. I think the CURSES_CAST_TO_VOID thing is less readable than
a plain (void) cast.
Tom
More information about the Gdb-patches
mailing list