On Mon, 2004-06-07 at 15:48, Colin Marquardt wrote:
I had to fix a few things:
Use <inttypes.h>, not <stdint.h> in src/display/sp-canvas.h, src/livarot/DblLinked.h, src/livarot/LivarotDefs.h, src/livarot/AVL.h, src/livarot/Shape.h, src/livarot/ShapeUtils.h, src/livarot/Ligne.h (see http://www.lns.cornell.edu/public/COMP/info/autoconf/Header-Portability.html)
Done in CVS.
Replace round() with rint() according to http://news.gw.com/freebsd.gnome/1237 in src/object-edit.cpp, src/spiral-context.cpp
I've replaced these with the sp_round() macro in use elsewhere (for consistency).
fabsf() was undeclared (I just put in "fabs()", not sure if this is correct) in src/sp-shape.cpp (see http://gcc.gnu.org/ml/java/2001-01/msg00465.html).
The extra precision shouldn't hurt. Done.
I could make a patch for these changes if wanted.
If you find any more such issues, please do. ^_^ (sorry to deprive you of the opportunity this time around TT)
I really appreciate the effort and research you invested in this. ^_^
(I'll write about the remainder of the warnings in my next email)
-mental