On Friday 10 Jan 2003 12:42 pm, Rolf Dubitzky wrote: > Hi, > > I have more problems compiling with gcc 2.x. Now that you use 'round' all > over the place, me crude fix to define ISOC99_SOURCE before including > <cmath> does not work anymore, since this macro actually needs to be > defined before the first include of <features.h> (not just before > <math.h>). In a normal autotools project, the propper way to handle this is > to add the apropriate macro to config.am, have it place an entry in > config.h, and then make sure that "config.h" is the first thing you include > in each of your files. I am not sure how that works with kdevelop though > (some "GNU_SOUCRE" checkbox maybe ;-)
I think the easiest solution is to go back to using floor(x + 0.5); as the round function. Hey, it worked before! I'll go through and change all references now. Cheers, Jason -- Jason Wood Homepage : www.uchian.pwp.blueyonder.co.uk
