On Monday 06 Jan 2003 9:00 pm, Rolf Dubitzky wrote: > > I think they should work the same, but could you try changing it to > > math.h and tell me if it works? > > 'round' is not pat of ISO C89. You have to define __ISOC99_SOURCE before > includeing <cmath>. I fixed it in the latest KdenLive! CVS.
Ah, that explains why I was using floor(x + 0.5) a lot in my code until recently, and I couldn't remember why :-) Cheers, Jason -- Jason Wood Homepage : www.uchian.pwp.blueyonder.co.uk
