>>>> 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...
>> 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 ! Exactly. It's a #define that I don't think can be got rid of by using a function, even an inline function, instead. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML mo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B