[PATCH] [portability] avoid nested functions

Mike Frysinger vapier at gentoo.org
Sun Sep 29 03:13:50 UTC 2013


On Monday 23 September 2013 11:13:22 Petr Machata wrote:
> Mike Frysinger <vapier at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.fedorahosted.org/pipermail/elfutils-devel/attachments/20130928/d03ac4f8/attachment.sig>


More information about the elfutils-devel mailing list