Re: [PATCH] Use a named union in struct v4l2_ioctl_info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mauro,

On Fri, 13 Jul 2012 11:25:30 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> On Thu, 12 Jul 2012 18:06:24 +0200 Hans Verkuil <hverkuil@xxxxxxxxx> wrote:
> >
> > struct v4l2_ioctl_info uses an anonymous union, which is initialized
> > in the v4l2_ioctls table.
> > 
> > Unfortunately gcc < 4.6 uses a non-standard syntax for that, so trying to
> > compile v4l2-ioctl.c with an older gcc will fail.
> > 
> > It is possible to work around this by testing the gcc version, but in this
> > case it is easier to make the union named since it is used in only a few
> > places.
> > 
> > Randy, Stephen, this patch should solve the v4l2-ioctl.c compilation problem
> > in linux-next. Since Mauro is still on holiday you'll have to apply it manually.
> 
> I have added this as a merge fix for today.

Ping?
-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx

Attachment: pgpJcYOfJxdnb.pgp
Description: PGP signature


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux