Re: drivers/scsi/aic7xxx/aic7xxx_core.c -Werror causes build to stop

Adrian Bunk (bunk@fs.tum.de)
Fri, 27 Jun 2003 16:45:40 +0200


On Fri, Jun 27, 2003 at 12:17:19PM +0200, Kees Bakker wrote:
> To build 2.5.73 using my SuSE 8.2 system (gcc 3.3) I need the following
> patch:
>
> --- linux-2.5.73/drivers/scsi/aic7xxx/Makefile.orig 2003-06-22 20:33:34.000000000 +0200
> +++ linux-2.5.73/drivers/scsi/aic7xxx/Makefile 2003-06-27 10:38:40.000000000 +0200
> @@ -33,7 +33,7 @@
> aic79xx_proc.o \
> aic79xx_osm_pci.o
>
> -EXTRA_CFLAGS += -Idrivers/scsi -Werror
> +EXTRA_CFLAGS += -Idrivers/scsi -Werror -Wno-sign-compare
> #EXTRA_CFLAGS += -g
>
> # Files generated that shall be removed upon make clean
>...

The -Wno-sign-compare is not needed with the official gcc 3.3 release.
It's only needed for beta versions of gcc 3.3 .

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

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