Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2013 08:55:54 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        current@FreeBSD.org
Subject:   Re: SVN r252892: videodev2.h update breaks gcc compilation
Message-ID:  <20130708085554.0000063d@unknown>
In-Reply-To: <51D94A2F.30401@protected-networks.net>
References:  <51D94A2F.30401@protected-networks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 07 Jul 2013 06:59:59 -0400
Michael Butler <imb@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130708085554.0000063d>