On Friday 10 Jan 2003 12:52 pm, Jason Wood wrote: > 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);
Ok, I have committed this change now. I don't think I've missed any round functions, but if I have feel free to commit changes. It's hard for me to be sure since I don't have gcc 2.9x on my computer any more. Cheers, Jason -- Jason Wood Homepage : www.uchian.pwp.blueyonder.co.uk
