Bug 993

Summary: g++ complains about /usr/include/machine/cpufunc.h
Product: Base System Reporter: smp <smp>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 2.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description smp 1996-02-03 21:00:02 UTC
	cpufunc.h has 2 lines that generate 'noise' on every compile:

/usr/include/machine/cpufunc.h: In function `void insque(void *, void *)':
In file included from ds1820.c:23:
/usr/include/machine/cpufunc.h:310: warning: ANSI C++ forbids implicit conversion from `void *' in initialization
/usr/include/machine/cpufunc.h:310: warning: ANSI C++ forbids implicit conversion from `void *' in initialization
/usr/include/machine/cpufunc.h: In function `void remque(void *)':
/usr/include/machine/cpufunc.h:321: warning: ANSI C++ forbids implicit conversion from `void *' in initialization

Fix: apply the following patch to /usr/include/machine/cpufunc.h:
How-To-Repeat: 
	compile a program with g++ that includes
	/usr/include/machine/cpufunc.h
Comment 1 Wolfram Schneider freebsd_committer freebsd_triage 1996-09-25 01:14:26 UTC
State Changed
From-To: open->analyzed

We are now update to gcc 2.7.2  


Comment 2 Wolfram Schneider freebsd_committer freebsd_triage 1996-09-25 01:14:26 UTC
Responsible Changed
From-To: freebsd-bugs->peter

Comment 3 Bruce Evans freebsd_committer freebsd_triage 1996-09-25 04:25:56 UTC
State Changed
From-To: analyzed->suspended

This was fixed before it was reported, in rev.1.42 of cpufunc.h, 
but only in -current.  I'm not happy with closing PR's that 
still apply to -stable. 
Comment 4 Poul-Henning Kamp freebsd_committer freebsd_triage 1998-04-13 09:42:56 UTC
State Changed
From-To: suspended->closed

I am. 


Comment 5 Poul-Henning Kamp freebsd_committer freebsd_triage 1998-04-13 09:42:56 UTC
Responsible Changed
From-To: peter->freebsd-bugs