Subject: Re: c++ finds errors in math.h
To: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n?= C. <ccatrian@eml.cc>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/25/2005 08:47:29
On Sun, 24 Apr 2005, [UTF-8] C=C3=A9sar Catri=C3=A1n C. wrote:

> c++ finds errors in math.h. Is there some work-around for this kind of pr=
oblem?
> I am using NetBSD 2.0.

> /usr/include/math.h:384: error: declaration of C function `float rintf(fl=
oat)'
>    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


 Jeremy C. Reed

 =09  =09 =09 BSD News, BSD tutorials, BSD links
=09  =09 =09 http://www.bsdnewsletter.com/