Subject: Re: c++ finds errors in math.h
To: Jeremy C. Reed <reed@reedmedia.net>
From: =?iso-8859-1?Q?C=E9sar_Catri=E1n_Carre=F1o?= <ccatrian@eml.cc>
List: tech-pkg
Date: 04/26/2005 00:36:23
On Mon, Apr 25, 2005 at 08:47:29AM -0700, Jeremy C. Reed wrote:
> On Sun, 24 Apr 2005, [UTF-8] César Catrián C. wrote:
> 
> > c++ finds errors in math.h. Is there some work-around for this kind of problem?
> > I am using NetBSD 2.0.
> 
> > /usr/include/math.h:384: error: declaration of C function `float rintf(float)'
> >    conflicts with
> > /usr/include/math.h:258: error: previous declaration `double rintf(double)'
> 
> See where the rintf was defined in your local source. And maybe comment it
> our or put
> #if 0
> #endif
> around it
> 

I could not find a rintf function in the source.

Csar