On Jul 9, 2008, at 11:23 PM, Glynn Clements wrote:
William Kyngesburye wrote:
But, there is this in gui/wxpython/nviz/nviz.h:
#include <grass/gis.h>
#include <grass/gsurf.h>
#include <grass/gstypes.h>
#include <grass/nviz.h>
Since <grass/nviz.h> already includes gsurf.h and gstypes.h, perhaps
those should be removed to let <grass/nviz.h> handle the proper
include order?
Any source or header file which uses types or macros from a header
file should explicitly include that header file.
Header files should guard against repeated inclusion; AFAICT, all of
the headers mentioned here do so.
OK. Haven't got that far anyways - stuck on my struct render_window
error in the nviz lib.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
All generalizations are dangerous, even this one.
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev