Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/powerpc/conf



> > It cannot be compiled with -Wno-cast-qual due to a volatile pointer
>
> You mean "with -Wcast-qual"?

Yes.

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

OK, thanks.  I'll also look at that plus the other suggestion
from Matthias Drochner.

Regards,

- Håvard



Home | Main Index | Thread Index | Old Index