[lkml]   [2002]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: compile warning fix for smb_debug.h
On Fri, 13 Sep 2002, Andreas Steinmetz wrote:

> Hi,
> attached is a fix for gcc 3.2 deprecated usage warnings for __FUNCTION__
> in smb_debug.h. As gcc 2.95.3 doesn't issue the warning and can't handle
> the new macro there's a macro selection based on the compiler major
> version. Patch is against 2.4.20pre7.

Why not just take the version from 2.5?
Or is there a problem with this one too and gcc2.95.3?

# define PARANOIA(f, a...) printk(KERN_NOTICE "%s: " f, __FUNCTION__ , ## a)
# define PARANOIA(f, a...) do { ; } while(0)


Note the extra space ...


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:6.653 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site