Re: Compile errors with the patch-2.4.20-pre11-kraxel

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



>  v4l2-common.c:144: duplicate array index in initializer
>  v4l2-common.c:144: (near initialization for
>  `v4l2_ioctl_names_Rsmp_1cfb1467')

Hmm.  This is this one:

char *v4l2_ioctl_names[] = {
	[0 ... 255]                      = "UNKNOWN",
	[_IOC_NR(VIDIOC_QUERYCAP)]       = "VIDIOC_QUERYCAP",
	[_IOC_NR(VIDIOC_RESERVED)]       = "VIDIOC_RESERVED",
[ ... ]

_IOC_NR(VIDIOC_QUERYCAP) ends up in the 0-255 range to and thus
there is a duplicate.  My compiler accepts this through ...

Anyone has the C99 specs and can lookup whenever this is legal?

>  First machine is a Slackware-9.0-beta  that I have installed gcc-2.95.3 on
>  to compile kernels with.  Second machine is a Slackware-8.1.

/me uses gcc 3.2 to build kernels.

  Gerd

-- 
You can't please everybody.  And usually if you _try_ to please
everybody, the end result is one big mess.
				-- Linus Torvalds, 2002-04-20





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux