> 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