# # patch "sanity.hh" # from [6b56adc96cdc67cfec9cb5e0d6cc5c1cc1e3f823] # to [d20631b056fb0bb0005451bcc4fdd775a9d17388] # ======================================================================== --- sanity.hh 6b56adc96cdc67cfec9cb5e0d6cc5c1cc1e3f823 +++ sanity.hh d20631b056fb0bb0005451bcc4fdd775a9d17388 @@ -243,9 +243,14 @@ // them.) However, while fake_M does nothing directly, it doesn't pass its // line argument to ##; therefore, its line argument is fully expanded before // being passed to real_M. +#ifdef __GNUC__ +// even worse, this is g++ only! #define real_M(obj, line) Musing this_is_a_musing_fnord_object_ ## line (obj, #obj, __FILE__, __LINE__, __PRETTY_FUNCTION__) #define fake_M(obj, line) real_M(obj, line) #define MM(obj) fake_M(obj, __LINE__) +#else +#define MM(obj) /* */ +#endif void dump(std::string const & obj, std::string & out);