From owner-freebsd-current@FreeBSD.ORG Mon Jul 8 06:56:16 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CA29BC01 for ; Mon, 8 Jul 2013 06:56:16 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 87A281BC0 for ; Mon, 8 Jul 2013 06:56:15 +0000 (UTC) Received: from outgoing.leidinger.net (p57A39D80.dip0.t-ipconnect.de [87.163.157.128]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 1B35384408D for ; Mon, 8 Jul 2013 08:55:57 +0200 (CEST) Received: from unknown (Titan.Leidinger.net [192.168.1.17]) by outgoing.leidinger.net (Postfix) with ESMTP id 6A602154E for ; Mon, 8 Jul 2013 08:55:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1373266554; bh=SLMKZ5W054WZt+62PgJ0xUgc9FdBvAwVSlOZB7ZV0Sg=; h=Date:From:To:Subject:In-Reply-To:References; b=IDwYHjZQRZF/KYHPMbLfzOQTmg/dfc4qmmohBq4R1ruB/xHpZZr1cRSvgyBNDtKqg DoV0BDjmUyAaBjvQCFvtlNK47iNJnWWmrvvg6f6VOOddIvJNpK438ZwX3SqW/0G+b8 F8yR30IT6K0WMCnV67znh4H+AopWw4mMJhxYOYK7cEr6YPEhqyU+wt36pOQBCx8ops A67t1txXAGNhpteosUSXUJAAaaTdztiOXKg7bOHu3acG78rX9K9xxlluraXj52SY68 oriq6BDQVU0BguQFiE8M4h347qLm9PbVdmmGKy9B34OQNISD1XcJEucXyM855zIsZr 4QHbNRnZh+DzQ== Date: Mon, 8 Jul 2013 08:55:54 +0200 From: Alexander Leidinger 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> X-Mailer: Claws Mail 3.9.1-2-g66aa06 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 1B35384408D.AF9EB X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.147, required 6, autolearn=disabled, ALL_TRUSTED -1.00, AWL -0.04, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, T_RP_MATCHES_RCVD -0.01, URIBL_BLOCKED 0.00) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1373871357.43214@LcW8PKkXy2Q57lTNEvndSQ X-EBL-Spam-Status: No X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2013 06:56:16 -0000 On Sun, 07 Jul 2013 06:59:59 -0400 Michael Butler 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