compile warnings, gcc4, 2.6.13, fedora core 4

  CC [M]  /root/code/ivtv/driver/cx25840-audio.o
/root/code/ivtv/driver/cx25840-audio.c: In function 'cx25840_set_v4l_audio':
/root/code/ivtv/driver/cx25840-audio.c:242: warning: large integer
implicitly truncated to unsigned type
/root/code/ivtv/driver/cx25840-audio.c:245: warning: large integer
implicitly truncated to unsigned type


On 10/5/05, Hans Verkuil <[EMAIL PROTECTED]> wrote:
> On Wednesday 05 October 2005 06:06, Tyler Trafford wrote:
> > Nicholas Gibson wrote:
> > > I get the following errors when attempting to compile
> > > ivtv 0.3.9 on a Fedora Core 3 system.  What could be
> > > causing them?  Any help would be much appreciated, I
> > > have been able to compile older version of ivtv
> > > without any problems.
> > >
> > > Thanks
> > >
> > > created ivtv-svnversion.h
> > > make CONFIG_VIDEO_IVTV=m -C
> > > /lib/modules/2.6.11-1.35_FC3/build M=/tmp/ivtv-0.3.9
> > > /driver modules
> > > make[1]: Entering directory
> > > `/lib/modules/2.6.11-1.35_FC3/build'
> > >   CC [M]  /tmp/ivtv-0.3.9/driver/cx25840-audio.o
> > > /tmp/ivtv-0.3.9/driver/cx25840-audio.c: In function
> > > `cx25840_set_v4l_audio':
> > > /tmp/ivtv-0.3.9/driver/cx25840-audio.c:238: warning:
> > > passing arg 1 of `cx25840_w
> > > rite' makes pointer from integer without a cast
> > > /tmp/ivtv-0.3.9/driver/cx25840-audio.c:238: error: too
> > > few arguments to function
> >
> > Easy mistake, easy fix.  Check out again and it will work.
>
> Right. Always compile before you commit. I really have to remember that next
> time it's late in the day and I do a commit :-)
>
>         Hans
>
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-devel
>

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to