On Fri, Nov 18, 2011 at 08:50:20AM +0700, Nguyen Thai Ngoc Duy wrote: > > Unless you really need macro-like behavior, you're probably better off > > using a variadic function and making it a static inline on platforms > > which can do so. > > I need to save __FILE__ and __LINE__ of call site, inline functions > probably don't help. Yeah, you'd have to pass them in to the function. Which of course you can't wrap with a macro, because the whole thing is variadic. -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html