From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Miller" Subject: Re: gcc-3.5 patches Date: Sun, 25 Jan 2004 11:05:36 -0800 (PST) Sender: netdev-bounce@oss.sgi.com Message-ID: <20040125.110536.26281486.davem@redhat.com> References: <20040125030624.54abfacf.akpm@osdl.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@oss.sgi.com Return-path: To: akpm@osdl.org In-Reply-To: <20040125030624.54abfacf.akpm@osdl.org> Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org From: Andrew Morton Date: Sun, 25 Jan 2004 03:06:24 -0800 Dave, let me unload a bunch of patches which fix compilation errors and warnings with gcc-3.5. Most or all of these are applicable to gcc-3.4 as well. The most common problem is using a typecasted expression as an lvalue. This is actually a fatal error in gcc-3.5. All applied, except the drivers/net ones (sans tg3) which Jeff said that he got. The sctp fix is interesting - sctp.h is using attribute((packed)) on all its structures and as far as I can tell, it never did anything. Amusing...