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: [RFC] Use macro for void typecast necessary for ncurses library.


>>>>> "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


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