Hi Laurent,

On Thu, 2003-01-09 at 23:55, Laurent Pinchart wrote:
> Yes, that's not good news. And those boards use a zoran chip which does not 
> implement the PCI subsystem ID feature, so we'll have to detect the 
> differences manually.

Or require users to do this manually (card=X insmod option)... Anyway,
that option isn't finished yet. Didn't work on it the past few days
(school started again).

> > > file vpx3220.c
> > >   removed all the '__func__' so it compiled on redhat 8
> > I noticed the same thing... Use #define __func__ __FUNCTION__ and it'll
> > compile (with a lot of warnings).
> Which version of gcc are you using ? A redhat gcc-2.96 ?__func__ works fine in 
> gcc 2.95.3.

It's actually a gcc-3.2 problem. With gcc-2.96, it works fine. I think
you have to use non-concatenated strings and use __FUNCTION__, so
something like:

printk(KERN_INFO "%s: %s - blabla\n", zr->name, __FUNCTION__);

instead of

printk(KERN_INFO "%s: " __func__ " - blabla\n", zr->name);

That's probably what the warnings are trying to tel us...

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

Reply via email to