Hi Laurent, On Fri, 2003-01-10 at 10:45, [EMAIL PROTECTED] wrote: > Hi Ronald,\"Note that these semantics are deprecated, and that GCC 3.2 > will handle __FUNCTION__ and __PRETTY_FUNCTION__ the same way as > __func__. __func__ is defined by th! e ISO standard C99.\" [..] > I thus suggest that we change > printk(KERN_INFO \"%s: \" __func__ \" - blabla \", zr->name); > to > printk(KERN_INFO \"%s: %s - blabla \", zr->name, __func__ ); > which would work for both gcc-2.95 and gcc-3.2, and be in accordance > with the C99 standard.
Sounds good, let's do that. Are you gonna send up a patch or should I make up something myself? If me, then that'll be next week, I won't be home this weekend. If __func__ doesn't work (compiler screams about undefined thing), I'll use __FUNCTION__ instead - that always works. Ronald -- Ronald Bultje <[EMAIL PROTECTED]> Linux Video/Multimedia developer ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users