Subject: port-hp300/3091: grf.c fails to compile w/o ite
To: None <>
From: Klaus Klein <>
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
>Originator:     Klaus Klein
private site
>Release:        970108
System: NetBSD 1.2B NetBSD 1.2B (QUESERA) #8: Thu Jan  9 16:39:23 MET 1997 hp300

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.

Compile kernel w/o an ite.

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