Karsten Blees <karsten.blees@xxxxxxxxx> writes: > +#else > + > +/* > + * Macros to add file:line - see above for C-style declarations of how these > + * should be used. > + * > + * TRACE_CONTEXT may be set to __FUNCTION__ if the compiler supports it. The > + * default is __FILE__, as it is consistent with assert(), and static function > + * names are not necessarily unique. > + */ > +#define TRACE_CONTEXT __FILE__ Hmph, seeing "may be set to" forces me to wonder how. Perhaps #ifndef/#endif around it? Also, can it be set to something like __FILE__ ":" __FUNCTION__ which may alleviate the alleged problem of "not necessarily unique" perhaps? -- 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