From edwin@mavetju.org  Tue May 20 00:57:15 2003
Return-Path: <edwin@mavetju.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 6CF6737B401; Tue, 20 May 2003 00:57:15 -0700 (PDT)
Received: from topaz.ad1810.com (topaz.ad1810.com [212.204.230.141])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id C9B1B43F75; Tue, 20 May 2003 00:57:14 -0700 (PDT)
	(envelope-from edwin@mavetju.org)
Received: from k7.mavetju (topaz.ad1810.com [212.204.230.141])
	by topaz.ad1810.com (Postfix) with ESMTP
	id 64DE02B986; Tue, 20 May 2003 09:57:11 +0200 (CEST)
Received: by k7.mavetju (Postfix, from userid 1001)
	id 13E4D6A7101; Tue, 20 May 2003 17:57:08 +1000 (EST)
Message-Id: <20030520075708.GK605@k7.mavetju>
Date: Tue, 20 May 2003 17:57:08 +1000
From: Edwin Groothuis <edwin@mavetju.org>
To: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Cc: FreeBSD-gnats-submit@freebsd.org, corecode@corecode.ath.cx,
	mike@freebsd.org
In-Reply-To: <20030520074754.GA95715@i2.informatik.rwth-aachen.de>
Subject: Re: declaration clash for ffs() and ${CXX}
References: <200208230950.g7N9oXDs000777@terrorfish.uni.stoert.net> <20030520074754.GA95715@i2.informatik.rwth-aachen.de>

>Number:         52458
>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 01:00:22 PDT 2003
>Closed-Date:    Sun May 25 10:57:45 PDT 2003
>Last-Modified:  Wed Aug 13 13:06:46 PDT 2003
>Originator:     Edwin Groothuis
>Release:        
>Organization:
>Environment:
>Description:
 On Tue, May 20, 2003 at 09:47:54AM +0200, Volker Stolz wrote:
 > 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.
 
 I've asked tjr@ to do something with it but he didn't come further
 than "well if you swap the two functions you have the same problem
 again"...
 
 Edwin
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |    Weblog: http://www.mavetju.org/weblog/weblog.php 
>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 
>Unformatted:
