SVN r252892: videodev2.h update breaks gcc compilation

Alexander Leidinger Alexander at Leidinger.net
Mon Jul 8 06:56:16 UTC 2013


On Sun, 07 Jul 2013 06:59:59 -0400
Michael Butler <imb at protected-networks.net> wrote:

> The recent linux header update triggers the following error:
> 
> In file included from /usr/src/sys/compat/linux/linux_ioctl.c:91:
> /usr/src/sys/contrib/v4l/videodev2.h:430: warning: declaration does
> not declare anything

Does someone know what this is supposed to result in?

I would assume as the unions are unnamed and no variable is declared
inside the struct with it, that the size of the struct is the same as
not having those unions inside the structs.

If this is correct I would assume the correct fix would be to #if-0
them out.

Bye,
Alexander.

-- 
http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-current mailing list