This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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: [PATCH] [portability] avoid nested functions


On Monday 23 September 2013 11:13:22 Petr Machata wrote:
> Mike Frysinger <vapier@gentoo.org> writes:
> > Trying to build with clang fails due to the use of a small nested
> > function.  Change it to a macro instead.
> 
> Please change it to a function instead.

if it'll get merged to the main tree, then sure.  but last time i posted 
portability stuff, it was only going into the portability patchset.  in which 
case this define approach makes more sense imo -- it's a lot less invasive.
-mike

Attachment: signature.asc
Description: PGP signature


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