i386/41930: declaration clash for ffs() and ${CXX}

Ceri Davies ceri at FreeBSD.org
Sun May 25 11:00:26 PDT 2003


The following reply was made to PR i386/41930; it has been noted by GNATS.

From: Ceri Davies <ceri at FreeBSD.org>
To: FreeBSD Gnats Submit <freebsd-gnats-submit at FreeBSD.org>
Cc:  
Subject: Re: i386/41930: declaration clash for ffs() and ${CXX}
Date: Sun, 25 May 2003 18:55:40 +0100

 Adding to audit trail, from misfiled PR i386/52458:
 
 Date: Tue, 20 May 2003 17:57:08 +1000
 From: Edwin Groothuis <edwin at mavetju.org>
 Message-Id: <20030520075708.GK605 at k7.mavetju>
 References: <200208230950.g7N9oXDs000777 at terrorfish.uni.stoert.net> <20030520074754.GA95715 at i2.informatik.rwth-aachen.de>
 
  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 at 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
  


More information about the freebsd-bugs mailing list