Subject: Re: Compiling an kernel with egcs?
To: None <current-users@NetBSD.ORG>
From: Bernd Ernesti <>
List: current-users
Date: 04/12/1998 23:21:49
On Sun Apr 12 21:38:03 1998, wrote:
> In message <>, Bernd Ernesti writes:
> >I know that egcs (gcc 2.8) has now a warning about the return type of main,
> >but how do I disable this warning during an kernel build (I don't want to
> >remove -Werror)?
> -Wno-main, or -ffreestanding.  At least, assuming it hasn't been changed;
> my original patch warns:

Ah -ffreestanding fixed the warning. Thank you.

I allready tried -Wno-main before I send the mail to current-user, but that
doesn't fix the error.