Subject: Re: c++ finds errors in math.h
To: Martin Husemann <firstname.lastname@example.org>
From: =?iso-8859-1?Q?C=E9sar_Catri=E1n_Carre=F1o?= <email@example.com>
Date: 04/27/2005 11:38:13
On Tue, Apr 26, 2005 at 08:09:59AM +0200, Martin Husemann wrote:
> On Tue, Apr 26, 2005 at 12:36:23AM -0400, César Catrián Carreño wrote:
> > > > /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)'
> > >
> > I could not find a rintf function in the source.
> Look at your math.h at line 258 - there is a round() function declared.
> Something in your source, before including math.h, maybe on the command line,
> defines round as rintf.
Indeed, round() was defined as rintf(). A deeper look into the source allowed me to see it.