Re: [PATCH] Fixes for gcc 3.3

From: Falk Hueffner (falk.hueffner@student.uni-tuebingen.de)
Date: Sun May 18 2003 - 09:33:36 EST


achurch@achurch.org (Andrew Church) writes:

> The following is a short set of modifications I had to make to the
> 2.4.20 source to get it to compile under gcc 3.3.
>
> --- linux-2.4.20-orig/drivers/ide/ide-cd.h 2002-12-10 17:46:28 +0900
> +++ linux-2.4.20/drivers/ide/ide-cd.h 2003-05-16 00:59:53 +0900
> @@ -437,7 +437,7 @@
>
> byte curlba[3];
> byte nslots;
> - __u8 short slot_tablelen;
> + __u8 slot_tablelen;
> };

Please check out the 2.5 source whether things are fixed there
already, and maybe differently. This for example should really be
__u16.

-- 
	Falk
-
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/



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:29 EST