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

2012-07-30 Thread Stephen Rothwell
Hi Mauro, On Fri, 13 Jul 2012 11:25:30 +1000 Stephen Rothwell wrote: > > On Thu, 12 Jul 2012 18:06:24 +0200 Hans Verkuil 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

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

2012-07-12 Thread Stephen Rothwell
Hi Hans, On Thu, 12 Jul 2012 18:06:24 +0200 Hans Verkuil 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. >

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

2012-07-12 Thread Randy Dunlap
On 07/12/2012 09:06 AM, Hans Verkuil wrote: > Hi Mauro, > > 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 i