Subject: lib/4839: Warning in lib/libkvm/kvm_m68k.c
To: None <gnats-bugs@gnats.netbsd.org>
From: Bjoern Labitzke <hermit@cs.tu-berlin.de>
List: netbsd-bugs
Date: 01/18/1998 16:20:48
>Number:         4839
>Category:       lib
>Synopsis:       /* in comment warning in lib/libkvm/kvm_m68k.c
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 18 07:50:01 1998
>Last-Modified:
>Originator:     Bjoern Labitzke
>Organization:
-- 
Bjoern Labitzke   | E-Mail: hermit@cs.tu-berlin.de
PGP-Key available | Use PGP! Or don't you use envelopes for your letters?
>Release:        current of Jan 17, 1998 <NetBSD-current source date>
>Environment:
	
System: NetBSD labitzke.isdn.cs.tu-berlin.de 1.3B NetBSD 1.3B (LABITZKE) #62: Sun Jan 18 09:53:29 CET 1998 root@labitzke.isdn.cs.tu-berlin.de:/usr/src/sys/arch/amiga/compile/LABITZKE amiga


>Description:
	The string "[...] <machine/*.h> [...]" in lib/libkvm/kvm_m68k.c
	includes "/*". That fact is warned about which stops the build.
	
>How-To-Repeat:
	Do "make" in lib/libkvm on a m68k-architecture.
	
>Fix:
	Apply the following patch or substitute the problematic /* with
	anything you want

*** kvm_m68k.c.org	Sun Jan 18 16:04:08 1998
--- kvm_m68k.c	Sun Jan 18 16:06:19 1998
***************
*** 42,48 ****
   * kvm_m68k_cmn.c kvm_sun3.c ...
   *
   * Note: This file has to build on ALL m68k machines,
!  * so do NOT include any <machine/*.h> files here.
   */
  
  #include <sys/param.h>
--- 42,48 ----
   * kvm_m68k_cmn.c kvm_sun3.c ...
   *
   * Note: This file has to build on ALL m68k machines,
!  * so do NOT include any <machine/<anything>.h> files here.
   */
  
  #include <sys/param.h>

	
>Audit-Trail:
>Unformatted: