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: Support Windows extended error numbers in safe_strerror


> Date: Fri, 3 Feb 2006 22:29:26 -0800
> From: Jim Blandy <jimb@red-bean.com>
> 
> A macro that takes documented arguments and is expected not to
> randomly refer to stuff from its context is a big improvement for
> me.

The problem with a macro is where to define it.  We previously defined
them on the various *.mt and *.mh files, but now we are trying to
eliminate those.  And the code we are talking about is unsuitable for
the configury stuff, since it is quite long.

So I think, in practice, in this case a macro is not a good solution,
except if it names a function whose implementation is elsewhere.


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