Subject: port-hp300/3091: grf.c fails to compile w/o ite
To: None <gnats-bugs@gnats.netbsd.org>
From: Klaus Klein <kleink@layla.inka.de>
List: netbsd-bugs
Date: 01/09/1997 19:17:48
>Number:         3091
>Category:       port-hp300
>Synopsis:       grf.c fails to compile w/o ite
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan  9 10:35:01 1997
>Last-Modified:
>Originator:     Klaus Klein
>Organization:
private site
>Release:        970108
>Environment:
System: NetBSD quesera.inka.de 1.2B NetBSD 1.2B (QUESERA) #8: Thu Jan  9 16:39:23 MET 1997 kleink@quesera.inka.de:/mnt/src/sys/arch/hp300/compile/QUESERA hp300


>Description:
Due to a cast to void in line 384, dev/grf.c fails to compile when no ite
is configured into the kernel, since iteon()/iteoff() are #defined as NOPs
in this case.

>How-To-Repeat:
Compile kernel w/o an ite.

>Fix:
"#if NITE > 0" the cast to void (or the whole line) in dev/grf.c:384.
(However, this is ugly.)
>Audit-Trail:
>Unformatted: