From: Keith, T. <ke...@um...> - 2005-07-18 19:40:07
|
We use qwtplot3d on a variety of platforms, including Win32, Mac-OSX, = Irix, Solaris, AIX, HPUX, Linuxes, etc. ... We use the typical build = environments on these platforms and the corresponding default Qt release = compiler options. Please consider the following minor changes to avoid = build errors with qwtplot3d. Thanks! =20 qwt3d_helper.h ---------------------- Please change name of MAX() function. "MAX" function name gets = clobbered by preprocessor macro in at least one build environment, which = then produces compilation errors. =20 qwt3d_openglhelper.h ------------------------------- Please change "list" to "lst" (or something else) in SaveGlDeleteLists. = "list" variable name gets clobbered by preprocessor macro in at least = one build environment, which then produces compilation errors. =20 qwt3d_types.h --------------------- Please remove the unnecessary comma after the last enum item (FLOORDATA) = in the FLOORSTYLE enum. Causes compilation error in at least one build = environment. =20 qwt3d_colorlegend.cpp --------------------------------- Please change the "orient" to "ori" (or something else) in = ColorLegend::setOrientation(). "orient" variable name gets clobbered by = preprocessor macro in at least one build environment, which then = produces compilation errors. =20 qwt3d_types.cpp ------------------------ Change #include "float.h" to #include <float.h> since float.h is a = "system" header. =20 qwt3d_types.h --------------------- Triple and Parallelipiped classes need explicit copy constructors and = operator=3D() functions. Irix 6.5 when compiling with optimization. =20 qwt3d_plot.cpp ---------------------- void Plot3D::createCoordinateSystem() { calculateHull(); Triple beg =3D hull().minVertex; Triple end =3D hull().maxVertex; createCoordinateSystem(beg, end); } Irix 6.5 when compiling with optimization ... =20 |