Date: Wed, 10 Jul 2013 12:32:54 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Andreas Tobler <andreast-list@fgznet.ch> Cc: FreeBSD Current <current@freebsd.org> Subject: Re: kernel compile broken in latest HEAD Message-ID: <20130710123254.00004266@unknown> In-Reply-To: <51DC750C.6090707@fgznet.ch> References: <20130709173233.275469b4@ernst.home> <20130709223356.000005ad@unknown> <51DC750C.6090707@fgznet.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 09 Jul 2013 22:39:40 +0200 Andreas Tobler <andreast-list@fgznet.ch> wrote: > On 09.07.13 22:33, Alexander Leidinger wrote: > > Here's what I wrote as a reference: > > ---snip--- > > 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. > > ---snip--- > > I did so and my kernelbuild is happy now. Yes, I do not use this > header at all. The linuxulator uses it for v4l2 compatibility. If you use skype, you use the header. The fix above is wrong (it changes the size of the structs with gcc and with clang). I will commit a fix in a few minutes. 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?20130710123254.00004266>