Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2002 15:17:20 -0800
From:      "David O'Brien" <obrien@freebsd.org>
To:        "M. Warner Losh" <imp@village.org>
Cc:        alpha@freebsd.org
Subject:   Re: Expected compiler error on GENERIC?
Message-ID:  <20020320151720.A90111@dragon.nuxi.com>
In-Reply-To: <20020320.153148.103780390.imp@village.org>; from imp@village.org on Wed, Mar 20, 2002 at 03:31:48PM -0700
References:  <20020320.153148.103780390.imp@village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Gn Wed, Mar 20, 2002 at 03:31:48PM -0700, M. Warner Losh wrote:
> cc -c -O -pipe -mcpu=ev56 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -g -nostdinc -I-  -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I/usr/include  -D_KERNEL -ffreestanding -include opt_global.h -fno-common -elf  -mno-fp-regs -ffixed-8 -Wa,-mev56 -Werror  ../../../alpha/pci/t2.c
> cc1: warnings being treated as errors
> ../../../alpha/pci/t2.c: In function `t2_probe':
> ../../../alpha/pci/t2.c:340: warning: cast discards qualifiers from pointer target type
> *** Error code 1


I looked at this today.  I don't know enough about the code to figure out
a good correct fix.  What is being complained about is the structure is
'volatile'.

This is the only remaining warning for compiling GENERIC.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020320151720.A90111>