From mike@espresso.bsdmike.org  Tue May 20 06:46:16 2003
Return-Path: <mike@espresso.bsdmike.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B7F6337B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 20 May 2003 06:46:16 -0700 (PDT)
Received: from espresso.bsdmike.org (espresso.bsdmike.org [65.39.129.122])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3DBFC43F93
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 20 May 2003 06:46:16 -0700 (PDT)
	(envelope-from mike@espresso.bsdmike.org)
Received: by espresso.bsdmike.org (Postfix, from userid 1002)
	id 4B1949C4C; Tue, 20 May 2003 09:30:32 -0400 (EDT)
Message-Id: <20030520093032.C84644@espresso.bsdmike.org>
Date: Tue, 20 May 2003 09:30:32 -0400
From: Mike Barcroft <mike@FreeBSD.org>
To: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Cc: FreeBSD-gnats-submit@freebsd.org, edwin@mavetju.org,
	corecode@corecode.ath.cx, Bruce Evans <bde@zeta.org.au>
In-Reply-To: <20030520074754.GA95715@i2.informatik.rwth-aachen.de>; from stolz@i2.informatik.rwth-aachen.de on Tue, May 20, 2003 at 09:47:54AM +0200
Subject: Re: declaration clash for ffs() and ${CXX}
References: <200208230950.g7N9oXDs000777@terrorfish.uni.stoert.net> <20030520074754.GA95715@i2.informatik.rwth-aachen.de>

>Number:         52474
>Category:       i386
>Synopsis:       Re: declaration clash for ffs() and ${CXX}
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ceri
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 20 06:50:00 PDT 2003
>Closed-Date:    Sun May 25 10:58:17 PDT 2003
>Last-Modified:  Wed Aug 13 13:06:57 PDT 2003
>Originator:     Mike Barcroft
>Release:        
>Organization:
>Environment:
>Description:
 [Added BDE to CC list.]
 
 Volker Stolz <stolz@i2.informatik.rwth-aachen.de> writes:
 > On Fri, Aug 23, 2002 at 11:50:33AM +0200, Simon 'corecode' Schubert wrote:
 > > >Description:
 > > 	when including both <string.h> and <machine/cpufunc.h> from a C++
 > > 	source, gcc yields a declaration error:
 > > 
 > > From: Edwin Groothuis <edwin@mavetju.org>
 > >  I ran into the same problem today with ports/audio/mpmf20.
 > >  machine/cpufunc.h does set a flag if it has has been processed:
 > >  HAVE_INLINE_FFS (line 106 of /usr/include/machine/cpufunc.h).
 > >  
 > >  So strings.h could be modified  [...]
 > 
 > I've just been bit by another instance of this (hpoj-printer driver
 > port). Are there any intentions to fix this RSN? Is there somebody
 > specific who could be contacted about this issue?
 > I'm cc:ing mike@ who last touched strings.h.
 
 IIRC, the conclusion last time this was brought up was that
 <machine/cpufunc.h> is an implementation detail and should never be
 used by anything except the implementation.
 
 Best regards,
 Mike Barcroft
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ceri 
State-Changed-When: Sun May 25 10:56:17 PDT 2003 
State-Changed-Why:  
Misfiled followup to i386/41930 [content migrated]. 


Responsible-Changed-From-To: gnats-admin->ceri 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Sun May 25 10:56:17 PDT 2003 
Responsible-Changed-Why:  
Take from gnats-admin. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52457 
State-Changed-From-To: open->closed 
State-Changed-By: ceri 
State-Changed-When: Sun May 25 10:56:17 PDT 2003 
State-Changed-Why:  
Misfiled followup to i386/41930 [content migrated]. 


Responsible-Changed-From-To: gnats-admin->ceri 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Sun May 25 10:56:17 PDT 2003 
Responsible-Changed-Why:  
Take from gnats-admin. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52458 
State-Changed-From-To: open->closed 
State-Changed-By: ceri 
State-Changed-When: Sun May 25 10:56:17 PDT 2003 
State-Changed-Why:  
Misfiled followup to i386/41930 [content migrated]. 


Responsible-Changed-From-To: gnats-admin->ceri 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Sun May 25 10:56:17 PDT 2003 
Responsible-Changed-Why:  
Take from gnats-admin. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52474 
>Unformatted:
