<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>const should be removed. If it compiles for you without 'const', you should commit it.<div>It passes make check for me (when I removed const)<br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span><div><font size="2">It get the following message when compiling: </font></div><div><font size="2"> ^</font></div><div><font size="2">libtool: compile: /usr/local/bin/mpicxx -DHAVE_CONFIG_H -I. -I.. -I../geom/parallel -I../geom -DLITTLE_ENDIAN=BYTE_ORDER -DTEMPLATE_DEFS_INCLUDED -DHAVE_OCC -DHAVE_OCC_IGES -DHAVE_OCC_STEP -DHAVE_OCC_STL -DSRCDIR=. -I../util -I../geom -I../init -I../geom/parallel -DUSE_MPI -Wall -pipe -pedantic -g -MT CATag.lo -MD -MP -MF .deps/CATag.Tpo -c CATag.cpp -o CATag.o >/dev/null 2>&1</font></div><div><font size="2" style="font-weight: bold;">iGeom_CGMA.cc:6882:19: error: cannot initialize a variable of type 'TopologyEntity *' with an rvalue of type</font></div><div><font size="2" style="font-weight: bold;"> 'const TopologyEntity *'</font></div><div><font size="2" style="font-weight: bold;"> TopologyEntity *topo_ent = dynamic_cast<const TopologyEntity*>(face);</font></div><div><font size="2" style="font-weight: bold;"> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</font></div><div><font size="2">1 warning and 1 error generated.</font></div><div><font size="2">make[4]: *** [iGeom_CGMA.lo] Error 1</font></div><div><font size="2">make[4]: *** Waiting for unfinished jobs....</font></div><div><font size="2">mv -f .deps/CATag.Tpo .deps/CATag.Plo</font></div><div><font size="2">make[3]: *** [all-recursive] Error 1</font></div><div><font size="2">make[2]: *** [all] Error 2</font></div><div><font size="2">make[1]: *** [all-recursive] Error 1</font></div><div><font size="2">make: *** [all] Error 2</font></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div></span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><font style="font-family: arial, helvetica, sans-serif; " size="2">Rajeev</font><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><font style="font-family:arial, helvetica, sans-serif;" size="2" class="yui_3_2_0_18_133228002530655">This is on Mac OSX Lion </font></div></div></blockquote><br></div></div></body></html>