[cgma-dev] r4489 - cgm/trunk/util

Hong-Jun Kim hongjun at mcs.anl.gov
Mon Feb 14 12:02:15 CST 2011


It still makes problems for me.
At least, comma should be added at the end of "UNDEFINED_LUMP_TYPE" and removed from "OFFSET_SURFACE_TYPE,".

But, after this change, I have the following errors about const declaration about "CUBIT_RESABS" in "GeometryDefines.h".
Can you check it for me?
Thanks.

Hong-Jun

-------------------------------------------------------------
libtool: compile:  /homes/hongjun/lib/mpich2-1.2.1p1-gcc4.4/bin/mpicxx -DHAVE_CONFIG_H -I. -I.. -I../geom/parallel -I../itaps -DLITTLE_ENDIAN=BYTE_ORDER -DTEMPLATE_DEFS_INCLUDED -Wall -pipe -pedantic -g -MT CubitPlane.lo -MD -MP -MF .deps/CubitPlane.Tpo -c CubitPlane.cpp -o CubitPlane.o
In file included from CubitPlane.cpp:15:
GeometryDefines.h:17: error: expected constructor, destructor, or type conversion before ‘const’
CubitPlane.cpp: In member function ‘int CubitPlane::mk_plane_with_points(const CubitVector&, const CubitVector&, const CubitVector&)’:
CubitPlane.cpp:111: error: ‘CUBIT_RESABS’ was not declared in this scope
CubitPlane.cpp: In member function ‘int CubitPlane::intersect(const CubitPlane&, CubitVector&, CubitVector&) const’:
CubitPlane.cpp:187: error: ‘CUBIT_RESABS’ was not declared in this scope
make[2]: *** [CubitPlane.lo] Error 1
make[2]: Leaving directory `/nfs/mcs-homes138/hongjun/source/CGM/util'
--------------------------------------------------------------

----- Original Message -----
> From: "jiangtao ma" <jiangtao_ma at yahoo.com>
> To: cgma-dev at mcs.anl.gov
> Sent: Monday, February 14, 2011 10:26:46 AM
> Subject: [cgma-dev] r4489 - cgm/trunk/util
> Author: janehu
> Date: 2011-02-14 10:26:46 -0600 (Mon, 14 Feb 2011)
> New Revision: 4489
> 
> Modified:
> cgm/trunk/util/GeometryDefines.h
> Log:
> Moved all OCC specific geometrytype to the end of the enum list for a
> possible fix for nightly build.
> 
> Modified: cgm/trunk/util/GeometryDefines.h
> ===================================================================
> --- cgm/trunk/util/GeometryDefines.h 2011-02-13 02:48:06 UTC (rev
> 4488)
> +++ cgm/trunk/util/GeometryDefines.h 2011-02-14 16:26:46 UTC (rev
> 4489)
> @@ -83,6 +83,14 @@
> 
> /* Lump types */
> UNDEFINED_LUMP_TYPE
> +
> + /* OCC types */
> + BSPLINE_CURVE_TYPE, //OCC curve types
> + BSPLINE_SURFACE_TYPE, //OCC surface type
> + REVOLUTION_SURFACE_TYPE, //OCC surface type
> + EXTRUSION_SURFACE_TYPE, //OCC surface type
> + OFFSET_SURFACE_TYPE, //OCC surface type
> +
> };
> 
> #endif


More information about the cgma-dev mailing list