Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261704AbVBWXXc (ORCPT ); Wed, 23 Feb 2005 18:23:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261688AbVBWXU2 (ORCPT ); Wed, 23 Feb 2005 18:20:28 -0500 Received: from mail.kroah.org ([69.55.234.183]:49042 "EHLO perch.kroah.org") by vger.kernel.org with ESMTP id S261689AbVBWXSE (ORCPT ); Wed, 23 Feb 2005 18:18:04 -0500 Date: Wed, 23 Feb 2005 15:17:47 -0800 From: Greg KH To: linux-os Cc: Mickey Stein , Linux kernel Subject: Re: [PATCH] [i2c]: Fix some gcc 4.0 compile failures and warnings Message-ID: <20050223231747.GB6500@kroah.com> References: <421CFFDC.90806@pacbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1133 Lines: 35 On Wed, Feb 23, 2005 at 05:57:14PM -0500, linux-os wrote: > On Wed, 23 Feb 2005, Mickey Stein wrote: > > >From: Mickey Stein > >Versions: linux-2.6.11-rc4-bk11, gcc4 (GCC) 4.0.0 20050217 (latest fc > >rawhide from 19Feb DL) > > > >gcc 4.0.x cvs seems to dislike "include/linux/i2c.h file" and others due > >to a current gcc 4.0.x change having to do with > >array declarations. > > > >Example error msg: include/linux/i2c.h:{55,194} error: array type has > >incomplete element type > > > >A. Daplas has recently done a workaround for this on another header file. > >A thread discussing this > >can be found by following the link below: > > > >http://gcc.gnu.org/ml/gcc/2005-02/msg00053.html > > > > Do you know if the new compiler will compile.... > > int main(int argc, char *argv[]){} > > ????? That's not the point here. See the above thread for the real point. greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/