I added it in cunit and dfbfreerdp after they wouldn't build because of the
missing ceil function. Looking at the previous commits, I noticed the -lm
option, so I added it just so they would build. When was this introduced and
why do we need it exactly?
On Sun, Mar 6, 2011 at 1:46 AM, Jay Sorg <[email protected]> wrote:
> > I was looking at latest commits and I see we need -lm.
> > Why do we need this?
> > Are we doing floating point operations?
>
> I see why it's there.
>
> This line occurs twice in orders.c
>
> data = ceil(((double)os->nentries) / 2.0);
>
> I think we can do the same thing with integers and avoid an additional
> 150K library requirement.
>
> Jay
>
>
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> Freerdp-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Freerdp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freerdp-devel