On Mon, Dec 10, 2012 at 06:47:16PM -0500, Mouse wrote: > > >> b) __LINE__ (etc) have the value of the use, not the definition. > > Yes, but if you use static inlines, the debugger's got both -- which > > it won't, if you use macros... > > Huh? > > Okay, what's the static inline version of log() here? > > #define log(msg) log_(__FILE__,__LINE__,(msg)) > extern void log_(const char *, int, const char *);
I see a #define lurking ! David -- David Laight: da...@l8s.co.uk