Subject: Re: fix for mc*
To: Michael Wolfson <michael@nosflow.com>
From: Thomas Klausner <wiz@NetBSD.org>
List: port-macppc
Date: 12/06/2004 14:29:18
On Sun, Dec 05, 2004 at 07:31:27PM -0800, Michael Wolfson wrote:
> First, awacs spits out a warning, which I worked around by removing 
> -Werror.
> 
> #   compile  AL/awacs.o
> cc -msoft-float -ffreestanding -O2 -Wreturn-type -Werror -Wall 
> -Wno-main -Wno-fo
> rmat-zero-length -Wpointer-arith -Wmissing-prototypes 
> -Wstrict-prototypes -Wno-s
> ign-compare -fno-zero-initialized-in-bss -Dmacppc=macppc -I. 
> -I../../../../arch
> -I../../../.. -nostdinc -DDIAGNOSTIC -DOFB_ENABLE_CACHE -DMAXUSERS=32 
> -D_KERNEL
> -D_KERNEL_OPT -c ../../../../arch/macppc/dev/awacs.c
> In file included from ../../../../arch/macppc/dev/awacs.c:38:
> ../../../../dev/auconv.h:144: warning: `struct audio_params' declared 
> inside par
> ameter list
> ../../../../dev/auconv.h:144: warning: its scope is only this 
> definition or decl
> aration, which is probably not what you want
> *** Error code 1

I committed a fix for this one (update dev/auconv.h).
 Thomas