Hello, I have some code that was using :
printf (__func__ "Message", ...); This doesn't build anymore with gcc 3.x, since __func__ is treated as a variable, not a string literal. What would be the best way of working around this ? Replacing all these constructs with : printf ("%sMessage", __func__, ...); Works, but seems a bit ugly, and there are _lots_ of those lines. Is there a compiler switch to consider __func__ as string literal or something such ? Naturally, using 2.95 kinda works, but i don't think this is a good idea. Thanks for your help. Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]