Subject: Re: CVS commit: src/sys/arch/powerpc/conf
To: Havard Eidnes <he@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: source-changes
Date: 06/02/2005 17:14:04
On Thu, Jun 02, 2005 at 10:22:20 +0000, Havard Eidnes wrote:

> It cannot be compiled with -Wno-cast-qual due to a volatile pointer

You mean "with -Wcast-qual"?

> being passed to memset(), and there's no easy way other than open-
> coding memset() to fix this.  So instead we cheat for now and add
> -Wno-cast-qual to CFLAGS for this file.  To be documented in doc/HACKS.

BTW, I've added CWARNFLAGS.filename.c to Makefile.kern.inc for -Wno-
hacks.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen