info-inventor-dev
[Top] [All Lists]

Re: [patch] do not use trunc()

To: info-inventor-dev@xxxxxxxxxxx
Subject: Re: [patch] do not use trunc()
From: Jonathan Lim <jlim@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Mar 2002 15:01:46 -0800 (PST)
In-reply-to: <20020219185817.GE1893@nyongwa.montreal.qc.ca> from "Steve M. Robbins" at Feb 19, 2002 01:58:17 PM
Sender: owner-info-inventor-dev@xxxxxxxxxxx
On Tue Feb 19 10:58:17 2002, steven.robbins@xxxxxxxxxxxx wrote:
> 
> Hi,
> 
> I maintain OpenInventor for Debian.  On some combination of
> hardware and compiler, GCC complained about the function trunc():
> 
>  ../../lib/database/src/sb/SbTime.c++:71: new declaration `int trunc(double)'
>  /usr/include/bits/mathcalls.h:291: ambiguates old declaration `double 
>     trunc(double)'

Fixed in revision 1.5 of lib/database/src/sb/SbTime.c++.


              Jonathan Lim  _  Silicon Graphics  _  Mountain View
              GPS Graphics     Computer Systems        CA, USA

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [patch] do not use trunc(), Jonathan Lim <=