RE: [PATCH][2.4.30-pre1] preliminary fixes for gcc-4.0

From: Mikael Pettersson
Date: Wed Mar 16 2005 - 09:32:48 EST


Mikael Starvik writes:
> Another comment:
>
> >CFLAGS += -ffreestanding to avoid gcc magically turning sprintf()
> > into calls to non-existent strcpy().
>
> You could use -fno-builtin-sprintf instead and thus also avoid the abs
> change.

Cool. I'll test that and if it works w/o exposing other breakage hidden
by -ffreestanding I'll drop the abs() changes.

Thanks.

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