Re: [PATCH] [i2c]: Fix some gcc 4.0 compile failures and warnings

From: Greg KH
Date: Wed Feb 23 2005 - 18:28:59 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/