<86>May 26 11:30:55 userdel[71715]: delete user 'rooter' <86>May 26 11:30:55 userdel[71715]: removed group 'rooter' owned by 'rooter' <86>May 26 11:30:55 groupadd[71730]: group added to /etc/group: name=rooter, GID=663 <86>May 26 11:30:55 groupadd[71730]: group added to /etc/gshadow: name=rooter <86>May 26 11:30:55 groupadd[71730]: new group: name=rooter, GID=663 <86>May 26 11:30:55 useradd[71743]: new user: name=rooter, UID=663, GID=663, home=/root, shell=/bin/bash <86>May 26 11:30:55 userdel[71767]: delete user 'builder' <86>May 26 11:30:55 userdel[71767]: removed group 'builder' owned by 'builder' <86>May 26 11:30:55 groupadd[71779]: group added to /etc/group: name=builder, GID=664 <86>May 26 11:30:55 groupadd[71779]: group added to /etc/gshadow: name=builder <86>May 26 11:30:55 groupadd[71779]: new group: name=builder, GID=664 <86>May 26 11:30:55 useradd[71789]: new user: name=builder, UID=664, GID=664, home=/usr/src, shell=/bin/bash <13>May 26 11:30:57 rpmi: libquadmath0-8.3.1-alt3 sisyphus+228100.100.1.1 1556142437 installed <13>May 26 11:30:57 rpmi: libquadmath8-devel-8.3.1-alt3 sisyphus+228100.100.1.1 1556142437 installed <13>May 26 11:30:57 rpmi: libgfortran5-8.3.1-alt3 sisyphus+228100.100.1.1 1556142437 installed <13>May 26 11:30:57 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615009 installed <13>May 26 11:30:57 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>May 26 11:30:57 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>May 26 11:30:57 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>May 26 11:30:57 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>May 26 11:30:58 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>May 26 11:30:58 rpmi: libX11-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615005 installed <13>May 26 11:30:58 rpmi: gcc-fortran-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>May 26 11:30:58 rpmi: libgfortran8-devel-8.3.1-alt3 sisyphus+228100.100.1.1 1556142437 installed <13>May 26 11:30:59 rpmi: gcc8-fortran-8.3.1-alt3 sisyphus+228100.100.1.1 1556142437 installed <13>May 26 11:30:59 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>May 26 11:31:00 rpmi: libstdc++8-devel-8.3.1-alt3 sisyphus+228100.100.1.1 1556142437 installed <13>May 26 11:31:01 rpmi: gcc8-c++-8.3.1-alt3 sisyphus+228100.100.1.1 1556142437 installed <13>May 26 11:31:01 rpmi: gcc-c++-8-alt1 sisyphus+222164.100.1.1 1550685959 installed <13>May 26 11:31:01 rpmi: gcc-fortran-8-alt1 sisyphus+222164.100.1.1 1550685959 installed <13>May 26 11:31:01 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615005 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/bamg-0.60-alt4.nosrc.rpm Installing bamg-0.60-alt4.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.59115 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf bamg-0.60 + echo 'Source #0 (bamg-0.60.tar):' Source #0 (bamg-0.60.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/bamg-0.60.tar + cd bamg-0.60 + /bin/chmod -c -Rf u+rwX,go-w . + install -p -m644 /usr/src/RPM/SOURCES/bamg.ps.gz . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.52560 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd bamg-0.60 + NPROCS=1 + make -j1 HOSTTYPE=linux world make: Entering directory '/usr/src/RPM/BUILD/bamg-0.60' g++ -pipe -Wall -O2 -DLONGLONG -g -c Mesh2.cpp Mesh2.cpp:110:3: warning: multi-line comment [-Wcomment] // / | \ / \ ^ Mesh2.cpp:1501:3: warning: multi-line comment [-Wcomment] // /|\ ^ Mesh2.cpp:1505:3: warning: multi-line comment [-Wcomment] // / |s \ ^ In file included from Mesh2.h:79, from Mesh2.cpp:24: Metric.h: In constructor 'MetricAnIso::MetricAnIso(Real8)': Metric.h:71:17: warning: 'MetricAnIso::a22' will be initialized after [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] MetricAnIso(Real8 a): a11(1/(a*a)),a22(1/(a*a)),a21(0){} ^~~~~~~~~~~ In file included from Mesh2.cpp:24: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ In file included from Mesh2.cpp:24: Mesh2.h: In constructor 'ListofIntersectionTriangles::ListofIntersectionTriangles(int, int)': Mesh2.h:505:7: warning: 'ListofIntersectionTriangles::state' will be initialized after [-Wreorder] int state; ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] int MaxSize; // ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] int NbSeg; ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] int MaxNbSeg; ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Mesh2.cpp:24: Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ In file included from Mesh2.cpp:24: Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom()': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] VertexOnGeom(): mv(0),abscisse(0){gv=0;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalVertex&)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalVertex &g) : mv(&m),abscisse(-1){gv=&g;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalEdge&, Real8)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalEdge &g,Real8 s) : mv(&m),abscisse(s){ge=&g;} ^~~~~~~~~~~~ In file included from Mesh2.cpp:24: Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ In file included from Mesh2.cpp:24: Mesh2.h: In constructor 'Triangles::Triangles(Int4)': Mesh2.h:713:15: warning: 'Triangles::BTh' will be initialized after [-Wreorder] Triangles & BTh; // Background Mesh Bth==*this =>no background ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] Geometry & Gh; // Geometry ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] Triangles(Int4 i) :BTh(*this),Gh(*NULLGeometry){PreInit(i);} ^~~~~~~~~ In file included from Mesh2.cpp:24: Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ In file included from Mesh2.cpp:24: Mesh2.h: In member function 'void VertexOnGeom::Set(const VertexOnGeom&, const Triangles&, Triangles&)': Mesh2.h:1099:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (gv) ^ In file included from Mesh2.cpp:24: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.cpp: In member function 'Triangle* Triangles::FindTriangleContening(const I2&, Icoor2*, Triangle*) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:191:4: note: in expansion of macro 'assert' assert(quadtree); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:191:4: note: in expansion of macro 'assert' assert(quadtree); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:201:3: note: in expansion of macro 'assert' assert(a>= vertices && a < vertices+nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:201:3: note: in expansion of macro 'assert' assert(a>= vertices && a < vertices+nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:207:3: note: in expansion of macro 'assert' assert(t>= triangles && t < triangles+nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:207:3: note: in expansion of macro 'assert' assert(t>= triangles && t < triangles+nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:216:7: note: in expansion of macro 'assert' assert(k0>=0); // k0 the NULL vertex ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:216:7: note: in expansion of macro 'assert' assert(k0>=0); // k0 the NULL vertex ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:223:7: note: in expansion of macro 'assert' assert(kkkk++ < 2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:223:7: note: in expansion of macro 'assert' assert(kkkk++ < 2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:231:7: note: in expansion of macro 'assert' assert( kkkk++ < 2000 /* infinity loop */ ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:231:7: note: in expansion of macro 'assert' assert( kkkk++ < 2000 /* infinity loop */ ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:265:7: note: in expansion of macro 'assert' assert ( k < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:265:7: note: in expansion of macro 'assert' assert ( k < 3); ^~~~~~ Mesh2.cpp: In function 'Int4 FindTriangle(Triangles&, Real8, Real8, double*, int&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:284:4: note: in expansion of macro 'assert' assert(&Th); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:284:4: note: in expansion of macro 'assert' assert(&Th); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:309:3: note: in expansion of macro 'assert' assert(tc->link); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:309:3: note: in expansion of macro 'assert' assert(tc->link); ^~~~~~ Mesh2.cpp: In function 'TriangleAdjacent CloseBoundaryEdge(I2, Triangle*, double&, double&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:324:3: note: in expansion of macro 'assert' assert(k>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:324:3: note: in expansion of macro 'assert' assert(k>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:331:5: note: in expansion of macro 'assert' assert(kkk++<1000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:331:5: note: in expansion of macro 'assert' assert(kkk++<1000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:347:5: note: in expansion of macro 'assert' assert(IJ2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:347:5: note: in expansion of macro 'assert' assert(IJ2); ^~~~~~ Mesh2.cpp: In member function 'TriangleAdjacent Triangle::FindBoundaryEdge(int) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:377:7: note: in expansion of macro 'assert' assert(k<2000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:377:7: note: in expansion of macro 'assert' assert(k<2000); ^~~~~~ Mesh2.cpp:358:21: warning: unused variable 's' [-Wunused-variable] register Vertex * s = ns[i]; ^ In file included from Mesh2.cpp:24: Mesh2.cpp: In function 'TriangleAdjacent CloseBoundaryEdgeV2(I2, Triangle*, double&, double&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:392:3: note: in expansion of macro 'assert' assert(t->link == 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:392:3: note: in expansion of macro 'assert' assert(t->link == 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:471:4: note: in expansion of macro 'assert' assert(cas !=-2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:471:4: note: in expansion of macro 'assert' assert(cas !=-2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:487:3: note: in expansion of macro 'assert' assert(edge.EdgeVertex(0)==s && kkk++<10000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:487:3: note: in expansion of macro 'assert' assert(edge.EdgeVertex(0)==s && kkk++<10000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:523:8: note: in expansion of macro 'assert' assert((Triangle *) er); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:523:8: note: in expansion of macro 'assert' assert((Triangle *) er); ^~~~~~ Mesh2.cpp:391:8: warning: unused variable 'dir' [-Wunused-variable] int dir=0; ^~~ In file included from Mesh2.cpp:24: Mesh2.cpp: In member function 'void ListofIntersectionTriangles::SplitEdge(const Triangles&, const R2&, const R2&, int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:621:7: note: in expansion of macro 'assert' assert(k>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:621:7: note: in expansion of macro 'assert' assert(k>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:692:2: note: in expansion of macro 'assert' assert(i+j+k == 0 + 1 +2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:692:2: note: in expansion of macro 'assert' assert(i+j+k == 0 + 1 +2); ^~~~~~ Mesh2.cpp: In member function 'int ListofIntersectionTriangles::NewItem(Triangle*, Real8, Real8, Real8)': Mesh2.cpp:835:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (v=(*tt)(0)) m0 = v->m; ~^~~~~~~~~ Mesh2.cpp:836:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (v=(*tt)(1)) m1 = v->m; ~^~~~~~~~~ Mesh2.cpp:837:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (v=(*tt)(2)) m2 = v->m; ~^~~~~~~~~ In file included from Mesh2.cpp:24: Mesh2.cpp: In member function 'Real8 ListofIntersectionTriangles::Length()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:866:3: note: in expansion of macro 'assert' assert(Size>0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:866:3: note: in expansion of macro 'assert' assert(Size>0); ^~~~~~ Mesh2.cpp:893:14: warning: unused variable 'sy' [-Wunused-variable] Real8 &sy= lIntTria[jj].sn; // next seg ^~ Mesh2.cpp: In member function 'Int4 ListofIntersectionTriangles::NewPoints(Vertex*, Int4&, Int4)': Mesh2.cpp:946:14: warning: unused variable 'lx' [-Wunused-variable] double lx = lIntTria[ii-1].sn; ^~ Mesh2.cpp:950:14: warning: unused variable 'ly' [-Wunused-variable] double ly =lIntTria[ii].sp; ^~ In file included from Mesh2.cpp:24: Mesh2.cpp: In function 'int SwapForForcingEdge(Vertex*&, Vertex*&, TriangleAdjacent&, Icoor2&, Icoor2&, Icoor2&, int&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:996:3: note: in expansion of macro 'assert' assert ( a1 >= 0 && a1 < 3 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:996:3: note: in expansion of macro 'assert' assert ( a1 >= 0 && a1 < 3 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1044:3: note: in expansion of macro 'assert' assert((det1>0 ) && (det2 > 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1044:3: note: in expansion of macro 'assert' assert((det1>0 ) && (det2 > 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1045:3: note: in expansion of macro 'assert' assert ( (detsa < 0) && (detsb >0) ); // [a,b] cut infinite line va,bb ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1045:3: note: in expansion of macro 'assert' assert ( (detsa < 0) && (detsb >0) ); // [a,b] cut infinite line va,bb ^~~~~~ Mesh2.cpp:1107:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ToSwap) ^ Mesh2.cpp:999:12: warning: unused variable 'sb' [-Wunused-variable] Vertex & sb= (*t1)[VerticesOfTriangularEdge[a1][1]]; ^~ In file included from Mesh2.cpp:24: Mesh2.cpp: In function 'int ForceEdge(Vertex&, Vertex&, TriangleAdjacent&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1130:3: note: in expansion of macro 'assert' assert(a.t && b.t); // the 2 vertex is in a mesh ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1130:3: note: in expansion of macro 'assert' assert(a.t && b.t); // the 2 vertex is in a mesh ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1145:5: note: in expansion of macro 'assert' assert(v2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1145:5: note: in expansion of macro 'assert' assert(v2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1169:7: note: in expansion of macro 'assert' assert ( v1 && v2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1169:7: note: in expansion of macro 'assert' assert ( v1 && v2); ^~~~~~ Mesh2.cpp:1184:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (ks=SwapForForcingEdge( va, vb, tc, detss, det1,det2,NbSwap)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.cpp:1217:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (( aa == &a ) && (bb == &b) || (bb == &a ) && (aa == &b)) { ~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from Mesh2.cpp:24: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1226:5: note: in expansion of macro 'assert' assert(k++<2000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1226:5: note: in expansion of macro 'assert' assert(k++<2000); ^~~~~~ Mesh2.cpp:1128:2: warning: label 'restart' defined but not used [-Wunused-label] restart: // for debug ^~~~~~~ In file included from Mesh2.cpp:24: Mesh2.cpp: In member function 'Real8 Vertex::Smoothing(Triangles&, const Triangles&, Triangle*&, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1414:6: note: in expansion of macro 'assert' assert(k<2000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1414:6: note: in expansion of macro 'assert' assert(k<2000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1485:2: note: in expansion of macro 'assert' assert(k<2000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1485:2: note: in expansion of macro 'assert' assert(k<2000); ^~~~~~ Mesh2.cpp:1461:9: warning: unused variable 'detold' [-Wunused-variable] double detold = tria->det; ^~~~~~ Mesh2.cpp:1383:18: warning: unused variable 'NbSwap' [-Wunused-variable] register Int4 NbSwap =0; ^~~~~~ Mesh2.cpp: In member function 'void Triangles::Add(Vertex&, Triangle*, Icoor2*)': Mesh2.cpp:1516:45: warning: the compiler can assume that the address of 's2' will never be NULL [-Waddress] int infv = &s0 ? (( &s1 ? ( &s2 ? -1 : 2) : 1 )) : 0; ^ Mesh2.cpp:1516:45: warning: the compiler can assume that the address of 's2' will never be NULL [-Waddress] Mesh2.cpp:1516:50: warning: the compiler can assume that the address of 's1' will never be NULL [-Waddress] int infv = &s0 ? (( &s1 ? ( &s2 ? -1 : 2) : 1 )) : 0; ^ Mesh2.cpp:1516:50: warning: the compiler can assume that the address of 's1' will never be NULL [-Waddress] Mesh2.cpp:1516:58: warning: the compiler can assume that the address of 's0' will never be NULL [-Waddress] int infv = &s0 ? (( &s1 ? ( &s2 ? -1 : 2) : 1 )) : 0; ^ Mesh2.cpp:1516:58: warning: the compiler can assume that the address of 's0' will never be NULL [-Waddress] Mesh2.cpp:1522:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( ( infv <0 ) && (detOld <0) || ( infv >=0 ) && (detOld >0) ) ~~~~~~~~~~~~^~~~~~~~~~~~~~ Mesh2.cpp:1539:43: warning: the compiler can assume that the address of 's0' will never be NULL [-Waddress] det3[0]= &s0 ? -1 : ::det(s ,s1,s2) ; ^ Mesh2.cpp:1539:43: warning: the compiler can assume that the address of 's0' will never be NULL [-Waddress] Mesh2.cpp:1540:42: warning: the compiler can assume that the address of 's1' will never be NULL [-Waddress] det3[1]= &s1 ? -1 : ::det(s0,s ,s2) ; ^ Mesh2.cpp:1540:42: warning: the compiler can assume that the address of 's1' will never be NULL [-Waddress] Mesh2.cpp:1541:42: warning: the compiler can assume that the address of 's2' will never be NULL [-Waddress] det3[2]= &s2 ? -1 : ::det(s0,s1,s ) ;}} ^ Mesh2.cpp:1541:42: warning: the compiler can assume that the address of 's2' will never be NULL [-Waddress] Mesh2.cpp:1548:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (nbd0 >0 ) // point s on a egde or on a vertex ^ In file included from Mesh2.cpp:24: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1628:5: note: in expansion of macro 'assert' assert(rswap); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1628:5: note: in expansion of macro 'assert' assert(rswap); ^~~~~~ Mesh2.cpp: In member function 'Int4 Triangles::SplitInternalEdgeWithBorderVertices()': Mesh2.cpp:1658:21: warning: the compiler can assume that the address of 'tt' will never be NULL [-Waddress] if ( &tt && tt.link && it < Number(tt)) ^~~~ Mesh2.cpp:1658:21: warning: the compiler can assume that the address of 'tt' will never be NULL [-Waddress] In file included from Mesh2.cpp:24: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1719:7: note: in expansion of macro 'assert' assert (tcvi && tcvi->det >= 0) ;// internal ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1719:7: note: in expansion of macro 'assert' assert (tcvi && tcvi->det >= 0) ;// internal ^~~~~~ Mesh2.cpp: In member function 'Int4 Triangles::InsertNewPoints(Int4, Int4&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1778:2: note: in expansion of macro 'assert' assert( &vj== ordre[j]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1778:2: note: in expansion of macro 'assert' assert( &vj== ordre[j]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1809:2: note: in expansion of macro 'assert' assert (tcvj && tcvj->det >= 0) ;// internal ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1809:2: note: in expansion of macro 'assert' assert (tcvj && tcvj->det >= 0) ;// internal ^~~~~~ Mesh2.cpp: In member function 'void Triangles::NewPoints(Triangles&, int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1947:7: note: in expansion of macro 'assert' assert(i>=0 && i < nbt ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1947:7: note: in expansion of macro 'assert' assert(i>=0 && i < nbt ); ^~~~~~ Mesh2.cpp:1972:15: warning: unused variable 'NbvOld' [-Wunused-variable] const Int4 NbvOld = nbv; ^~~~~~ In file included from Mesh2.cpp:24: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2004:3: note: in expansion of macro 'assert' assert( ta.EdgeVertex(0) == s); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2004:3: note: in expansion of macro 'assert' assert( ta.EdgeVertex(0) == s); ^~~~~~ Mesh2.cpp:2013:19: warning: variable 'NbSwp' set but not used [-Wunused-but-set-variable] Int4 NbSwapf =0,NbSwp; ^~~~~ In file included from Mesh2.cpp:24: Mesh2.cpp: In member function 'void Triangles::NewPointsOld(Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2084:7: note: in expansion of macro 'assert' assert(i>=0 && i < nbt ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2084:7: note: in expansion of macro 'assert' assert(i>=0 && i < nbt ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2136:6: note: in expansion of macro 'assert' assert ((*t)(VerticesOfTriangularEdge[j][0]) == (*ta)(VerticesOfTriangularEdge[kk][1])); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2136:6: note: in expansion of macro 'assert' assert ((*t)(VerticesOfTriangularEdge[j][0]) == (*ta)(VerticesOfTriangularEdge[kk][1])); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2137:6: note: in expansion of macro 'assert' assert ((*t)(VerticesOfTriangularEdge[j][1]) == (*ta)(VerticesOfTriangularEdge[kk][0])); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2137:6: note: in expansion of macro 'assert' assert ((*t)(VerticesOfTriangularEdge[j][1]) == (*ta)(VerticesOfTriangularEdge[kk][0])); ^~~~~~ Mesh2.cpp:2160:9: warning: unused variable 'NbvNp' [-Wunused-variable] Int4 NbvNp = lIntTria.NewPoints(vertices,nbv,nbvx); ^~~~~ Mesh2.cpp:2236:11: warning: variable 'VP' set but not used [-Wunused-but-set-variable] R2 VP = V10*s + V11*(1-s); ^~ In file included from Mesh2.cpp:24: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2278:8: note: in expansion of macro 'assert' assert(i1 < nbv && i1 >= 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2278:8: note: in expansion of macro 'assert' assert(i1 < nbv && i1 >= 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2279:8: note: in expansion of macro 'assert' assert(i0 < nbv && i0 >= 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2279:8: note: in expansion of macro 'assert' assert(i0 < nbv && i0 >= 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2280:8: note: in expansion of macro 'assert' assert(i1 != i0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2280:8: note: in expansion of macro 'assert' assert(i1 != i0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2294:8: note: in expansion of macro 'assert' assert (i0 >= nbvold); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2294:8: note: in expansion of macro 'assert' assert (i0 >= nbvold); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2295:8: note: in expansion of macro 'assert' assert (i1 >= nbvold); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2295:8: note: in expansion of macro 'assert' assert (i1 >= nbvold); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2296:8: note: in expansion of macro 'assert' assert(i0 != i1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2296:8: note: in expansion of macro 'assert' assert(i0 != i1); ^~~~~~ Mesh2.cpp:2299:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ( d01 < seuil) ^ Mesh2.cpp:2203:11: warning: unused variable 'savRef' [-Wunused-variable] Int4 savRef[10]; ^~~~~~ In file included from Mesh2.cpp:24: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2405:7: note: in expansion of macro 'assert' assert (tcvi->det >= 0) ;// internal ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2405:7: note: in expansion of macro 'assert' assert (tcvi->det >= 0) ;// internal ^~~~~~ Mesh2.cpp:2398:13: warning: unused variable 'kt' [-Wunused-variable] Int4 kt = Number(tcvi); ^~ In file included from Mesh2.cpp:24: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2432:3: note: in expansion of macro 'assert' assert( ta.EdgeVertex(0) == s); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2432:3: note: in expansion of macro 'assert' assert( ta.EdgeVertex(0) == s); ^~~~~~ Mesh2.cpp:2049:8: warning: unused variable 'trace' [-Wunused-variable] Int4 trace=0; ^~~~~ Mesh2.cpp:2052:8: warning: variable 'ColorEdge' set but not used [-Wunused-but-set-variable] Int4 ColorEdge[3]; ^~~~~~~~~ In file included from Mesh2.cpp:24: Mesh2.cpp: In member function 'void Triangles::FindSubDomain(int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2771:7: note: in expansion of macro 'assert' assert(k== NbSubDomains); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2771:7: note: in expansion of macro 'assert' assert(k== NbSubDomains); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2851:9: note: in expansion of macro 'assert' assert(&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2851:9: note: in expansion of macro 'assert' assert(&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2864:9: note: in expansion of macro 'assert' assert(t && sens); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2864:9: note: in expansion of macro 'assert' assert(t && sens); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2868:10: note: in expansion of macro 'assert' assert( v0 == ta.EdgeVertex(1) ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2868:10: note: in expansion of macro 'assert' assert( v0 == ta.EdgeVertex(1) ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2895:7: note: in expansion of macro 'assert' assert(mark[Number(tt)]<0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2895:7: note: in expansion of macro 'assert' assert(mark[Number(tt)]<0); ^~~~~~ Mesh2.cpp: In member function 'void Triangles::ReNumberingTheTriangleBySubDomain()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3028:6: note: in expansion of macro 'assert' assert(t0); // no empty sub domain ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3028:6: note: in expansion of macro 'assert' assert(t0); // no empty sub domain ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3031:8: note: in expansion of macro 'assert' assert(kt>=0 && kt < nbt ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3031:8: note: in expansion of macro 'assert' assert(kt>=0 && kt < nbt ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3032:8: note: in expansion of macro 'assert' assert(renu[kt]==-1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3032:8: note: in expansion of macro 'assert' assert(renu[kt]==-1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3045:5: note: in expansion of macro 'assert' assert(k == nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3045:5: note: in expansion of macro 'assert' assert(k == nbt); ^~~~~~ Mesh2.cpp: In member function 'Int4 Triangles::ConsRefTriangle(Int4*) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3080:3: note: in expansion of macro 'assert' assert(reft); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3080:3: note: in expansion of macro 'assert' assert(reft); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3088:6: note: in expansion of macro 'assert' assert(t0); // no empty sub domain ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3088:6: note: in expansion of macro 'assert' assert(t0); // no empty sub domain ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3092:8: note: in expansion of macro 'assert' assert(num>=0 &&num < nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3092:8: note: in expansion of macro 'assert' assert(num>=0 &&num < nbt); ^~~~~~ Mesh2.cpp: In member function 'void Triangles::PreInit(Int4, char*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3195:5: note: in expansion of macro 'assert' assert(vertices); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3195:5: note: in expansion of macro 'assert' assert(vertices); ^~~~~~ Mesh2.cpp:3196:30: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ In file included from Mesh2.cpp:24: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3197:5: note: in expansion of macro 'assert' assert(ordre); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3197:5: note: in expansion of macro 'assert' assert(ordre); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3199:5: note: in expansion of macro 'assert' assert(triangles);} ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3199:5: note: in expansion of macro 'assert' assert(triangles);} ^~~~~~ Mesh2.cpp: In member function 'void Triangles::GeomToTriangles1(Int4, int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3272:3: note: in expansion of macro 'assert' assert(&BTh.Gh == &Gh); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3272:3: note: in expansion of macro 'assert' assert(&BTh.Gh == &Gh); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3308:3: note: in expansion of macro 'assert' assert(vertices); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3308:3: note: in expansion of macro 'assert' assert(vertices); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3325:3: note: in expansion of macro 'assert' assert(gv->to);// use of Geom -> Th ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3325:3: note: in expansion of macro 'assert' assert(gv->to);// use of Geom -> Th ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3330:3: note: in expansion of macro 'assert' assert(NbVertexOnBThVertex == NbVerticesOnGeomVertex); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3330:3: note: in expansion of macro 'assert' assert(NbVertexOnBThVertex == NbVerticesOnGeomVertex); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3375:19: note: in expansion of macro 'assert' assert (A0-vertices>=0 && A0-vertices =0 && A0-vertices = L0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3393:6: note: in expansion of macro 'assert' assert (sNew >= L0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3394:6: note: in expansion of macro 'assert' assert(LAB); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3394:6: note: in expansion of macro 'assert' assert(LAB); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3397:6: note: in expansion of macro 'assert' assert(vertices && nbv=0 && se < 1.000000001); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3405:6: note: in expansion of macro 'assert' assert(se>=0 && se < 1.000000001); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3411:6: note: in expansion of macro 'assert' assert(se>=0 && se <= 1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3411:6: note: in expansion of macro 'assert' assert(se>=0 && se <= 1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3458:9: note: in expansion of macro 'assert' assert(ee.on->CurveNumber==ei.on->CurveNumber); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3458:9: note: in expansion of macro 'assert' assert(ee.on->CurveNumber==ei.on->CurveNumber); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3463:4: note: in expansion of macro 'assert' assert (A1-vertices>=0 && A1-vertices =0 && A1-vertices 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3954:5: note: in expansion of macro 'assert' assert(coefIcoor >0); ^~~~~~ Mesh2.cpp:3977:20: warning: the compiler can assume that the address of 'v0' will never be NULL [-Waddress] if ( &v0 && &v1 && &v2 ) // a good triangles; ^~ Mesh2.cpp:3977:20: warning: the compiler can assume that the address of 'v0' will never be NULL [-Waddress] Mesh2.cpp:3977:20: warning: the compiler can assume that the address of 'v1' will never be NULL [-Waddress] Mesh2.cpp:3977:20: warning: the compiler can assume that the address of 'v1' will never be NULL [-Waddress] Mesh2.cpp:3977:28: warning: the compiler can assume that the address of 'v2' will never be NULL [-Waddress] if ( &v0 && &v1 && &v2 ) // a good triangles; ^~ Mesh2.cpp:3977:28: warning: the compiler can assume that the address of 'v2' will never be NULL [-Waddress] Mesh2.cpp:3982:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(Nberr==1) ^ In file included from Mesh2.cpp:24: Mesh2.cpp: In member function 'void Triangles::FillHoleInMesh()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4018:5: note: in expansion of macro 'assert' assert(ordre); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4018:5: note: in expansion of macro 'assert' assert(ordre); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4048:6: note: in expansion of macro 'assert' assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4048:6: note: in expansion of macro 'assert' assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); ^~~~~~ Mesh2.cpp:4082:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (st[i] >=0) // edge alone ^ In file included from Mesh2.cpp:24: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4239:10: note: in expansion of macro 'assert' assert(st[k] >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4239:10: note: in expansion of macro 'assert' assert(st[k] >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4260:6: note: in expansion of macro 'assert' assert(savenbt+NbTfillHoll <= savenbtx ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4260:6: note: in expansion of macro 'assert' assert(savenbt+NbTfillHoll <= savenbtx ); ^~~~~~ Mesh2.cpp:4202:7: warning: unused variable 'nbtfillhole' [-Wunused-variable] Int4 nbtfillhole = nbt; ^~~~~~~~~~~ In file included from Mesh2.cpp:24: Mesh2.cpp: In member function 'Int4 Triangle::Optim(Int2, int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4484:2: note: in expansion of macro 'assert' assert(k++<20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4484:2: note: in expansion of macro 'assert' assert(k++<20000); ^~~~~~ Mesh2.cpp:4465:13: warning: unused variable 's' [-Wunused-variable] Vertex * s = ns[i]; ^ Mesh2.cpp: In member function 'void Triangles::ShowHistogram() const': Mesh2.cpp:4577:22: warning: the compiler can assume that the address of 'vP' will never be NULL [-Waddress] if ( !& vP || !&vQ) continue; ^~ Mesh2.cpp:4577:22: warning: the compiler can assume that the address of 'vP' will never be NULL [-Waddress] Mesh2.cpp:4577:30: warning: the compiler can assume that the address of 'vQ' will never be NULL [-Waddress] if ( !& vP || !&vQ) continue; ^~ Mesh2.cpp:4577:30: warning: the compiler can assume that the address of 'vQ' will never be NULL [-Waddress] In file included from Mesh2.cpp:24: Mesh2.cpp: In member function 'int Triangles::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4623:5: note: in expansion of macro 'assert' assert(NbCrackedEdges ==0 || NbCrackedVertices >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4623:5: note: in expansion of macro 'assert' assert(NbCrackedEdges ==0 || NbCrackedVertices >0); ^~~~~~ Mesh2.cpp: In member function 'int Triangles::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4631:3: note: in expansion of macro 'assert' assert(NbCrackedEdges ==0 || NbCrackedVertices >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4631:3: note: in expansion of macro 'assert' assert(NbCrackedEdges ==0 || NbCrackedVertices >0); ^~~~~~ Mesh2.cpp: In member function 'int Triangles::CrackMesh()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4684:7: note: in expansion of macro 'assert' assert(tbegin && (i >= 0 ) && (i <3)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4684:7: note: in expansion of macro 'assert' assert(tbegin && (i >= 0 ) && (i <3)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4695:6: note: in expansion of macro 'assert' assert(tta.Cracked()); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4695:6: note: in expansion of macro 'assert' assert(tta.Cracked()); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4702:4: note: in expansion of macro 'assert' assert(it < nt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4702:4: note: in expansion of macro 'assert' assert(it < nt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4713:7: note: in expansion of macro 'assert' assert(k); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4713:7: note: in expansion of macro 'assert' assert(k); ^~~~~~ Mesh2.cpp:4742:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int iec =0;iec < NbCrackedEdges; iec ++) ^~~ Mesh2.cpp:4764:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' NbVerticesOnGeomVertex = n; ^~~~~~~~~~~~~~~~~~~~~~ Mesh2.cpp:4724:7: warning: unused variable 'nbvo' [-Wunused-variable] int nbvo = nbv; ^~~~ In file included from Mesh2.cpp:24: Mesh2.h: In member function 'int VertexOnGeom::OnGeomVertex() const': Mesh2.h:602:39: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] int OnGeomVertex()const {return this? abscisse <0 :0;} ~~~~^~~~~~~~~~~~~~~~ Mesh2.h: In member function 'int VertexOnGeom::OnGeomEdge() const': Mesh2.h:603:38: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] int OnGeomEdge() const {return this? abscisse >=0 :0;} ~~~~^~~~~~~~~~~~~~~~~ Mesh2.h: In member function 'int VertexOnGeom::IsRequiredVertex()': Mesh2.h:614:38: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] int IsRequiredVertex(){ return this? (( abscisse<0 ? (gv?gv->Required():0):0 )) : 0;} ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Mesh2.cpp:24: Mesh2.cpp: In function 'Int4 FindTriangle(Triangles&, Real8, Real8, double*, int&)': Mesh2.h:48:28: warning: nonnull argument 'Th' compared to NULL [-Wnonnull-compare] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.cpp:284:4: note: in expansion of macro 'assert' assert(&Th); ^~~~~~ Mesh2.cpp: In member function 'void Triangles::Add(Vertex&, Triangle*, Icoor2*)': Mesh2.cpp:1244:2: warning: 'iedge' may be used uninitialized in this function [-Wmaybe-uninitialized] if(a/4 !=0) return 0;// arete lock or MarkUnSwap ^~ Mesh2.cpp:1519:28: note: 'iedge' was declared here register int izerodet=-1,iedge; // izerodet = egde contening the vertex s ^~~~~ Mesh2.cpp: In member function 'void ListofIntersectionTriangles::SplitEdge(const Triangles&, const R2&, const R2&, int)': Mesh2.cpp:758:20: warning: 'ocut' may be used uninitialized in this function [-Wmaybe-uninitialized] if (dt[ocut] >0) // triangle upper AB ~~~~~~~^ Mesh2.cpp: In member function 'void Triangles::GeomToTriangles0(Int4)': Mesh2.cpp:3579:21: warning: 'e' may be used uninitialized in this function [-Wmaybe-uninitialized] GeometricalEdge * e; ^ Mesh2.cpp:3808:29: warning: 'PreviousNewEdge' may be used uninitialized in this function [-Wmaybe-uninitialized] PreviousNewEdge->adj[1] = & edges[nbe]; ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ Mesh2.cpp:3802:21: warning: 'vb' may be used uninitialized in this function [-Wmaybe-uninitialized] edges[nbe].v[1]=vb; ~~~~~~~~~~~~~~~^~~ Mesh2.cpp:3801:21: warning: 'va' may be used uninitialized in this function [-Wmaybe-uninitialized] edges[nbe].v[0]=va; ~~~~~~~~~~~~~~~^~~ Mesh2.cpp:3816:10: warning: 'NbEdgeCurve' may be used uninitialized in this function [-Wmaybe-uninitialized] nbe += NbEdgeCurve; ~~~~^~~~~~~~~~~~~~ mv Mesh2.o Mesh2_o.o g++ -pipe -Wall -O2 -DLONGLONG -g -c MeshRead.cpp In file included from MeshRead.cpp:6: Meshio.h: In member function 'std::istream& MeshIstream::cm()': Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while ( in.get(c) && ^~~~~ Meshio.h:58:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if (in.good()) in.putback(c); ^~ Meshio.h: In constructor 'MeshIstream::MeshIstream(const char*)': Meshio.h:50:16: warning: 'MeshIstream::CurrentFile' will be initialized after [-Wreorder] const char * CurrentFile; ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] int LineNumber,LineError,opened; ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] MeshIstream(const char * file_name) ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~ Meshio.h:80:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(char*)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(const char*, std::ios_base::openmode)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(std::ostream&)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from Mesh2.h:79, from MeshRead.cpp:7: Metric.h: In constructor 'MetricAnIso::MetricAnIso(Real8)': Metric.h:71:17: warning: 'MetricAnIso::a22' will be initialized after [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] MetricAnIso(Real8 a): a11(1/(a*a)),a22(1/(a*a)),a21(0){} ^~~~~~~~~~~ In file included from MeshRead.cpp:7: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ In file included from MeshRead.cpp:7: Mesh2.h: In constructor 'ListofIntersectionTriangles::ListofIntersectionTriangles(int, int)': Mesh2.h:505:7: warning: 'ListofIntersectionTriangles::state' will be initialized after [-Wreorder] int state; ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] int MaxSize; // ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] int NbSeg; ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] int MaxNbSeg; ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from MeshRead.cpp:7: Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ In file included from MeshRead.cpp:7: Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom()': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] VertexOnGeom(): mv(0),abscisse(0){gv=0;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalVertex&)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalVertex &g) : mv(&m),abscisse(-1){gv=&g;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalEdge&, Real8)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalEdge &g,Real8 s) : mv(&m),abscisse(s){ge=&g;} ^~~~~~~~~~~~ In file included from MeshRead.cpp:7: Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ In file included from MeshRead.cpp:7: Mesh2.h: In constructor 'Triangles::Triangles(Int4)': Mesh2.h:713:15: warning: 'Triangles::BTh' will be initialized after [-Wreorder] Triangles & BTh; // Background Mesh Bth==*this =>no background ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] Geometry & Gh; // Geometry ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] Triangles(Int4 i) :BTh(*this),Gh(*NULLGeometry){PreInit(i);} ^~~~~~~~~ In file included from MeshRead.cpp:7: Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ In file included from MeshRead.cpp:7: Mesh2.h: In member function 'void VertexOnGeom::Set(const VertexOnGeom&, const Triangles&, Triangles&)': Mesh2.h:1099:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (gv) ^ In file included from MeshRead.cpp:7: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ MeshRead.cpp: In member function 'void Triangles::Read(MeshIstream&, int, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:47:12: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:47:12: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:82:12: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:82:12: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:88:5: note: in expansion of macro 'assert' assert(vertices); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:88:5: note: in expansion of macro 'assert' assert(vertices); ^~~~~~ MeshRead.cpp:89:30: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ In file included from MeshRead.cpp:7: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:90:5: note: in expansion of macro 'assert' assert(ordre); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:90:5: note: in expansion of macro 'assert' assert(ordre); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:103:5: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:103:5: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:175:9: note: in expansion of macro 'assert' assert(VerticesOnGeomVertex); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:175:9: note: in expansion of macro 'assert' assert(VerticesOnGeomVertex); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:193:9: note: in expansion of macro 'assert' assert(VerticesOnGeomEdge); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:193:9: note: in expansion of macro 'assert' assert(VerticesOnGeomEdge); ^~~~~~ MeshRead.cpp:198:21: warning: unused variable 'v' [-Wunused-variable] VertexOnGeom & v =VerticesOnGeomVertex[i0]; ^ In file included from MeshRead.cpp:7: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:211:11: note: in expansion of macro 'assert' assert(edges); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:211:11: note: in expansion of macro 'assert' assert(edges); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:223:8: note: in expansion of macro 'assert' assert(i1 >0 && i2 >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:223:8: note: in expansion of macro 'assert' assert(i1 >0 && i2 >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:224:8: note: in expansion of macro 'assert' assert(i1 <= nbv && i2 <= nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:224:8: note: in expansion of macro 'assert' assert(i1 <= nbv && i2 <= nbv); ^~~~~~ MeshRead.cpp:244:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=0;i=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:310:3: note: in expansion of macro 'assert' assert(head < nbt && head >=0); ^~~~~~ MeshRead.cpp: In member function 'void Triangles::Read_am_fmt(MeshIstream&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:352:6: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:352:6: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ MeshRead.cpp:354:31: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ MeshRead.cpp: In member function 'void Triangles::Read_am(MeshIstream&)': MeshRead.cpp:384:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (verbosity>1) ^~ MeshRead.cpp:386:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Metric M1(1); ^~~~~~ In file included from MeshRead.cpp:7: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:391:3: note: in expansion of macro 'assert' assert(l==2*sizeof(Int4)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:391:3: note: in expansion of macro 'assert' assert(l==2*sizeof(Int4)); ^~~~~~ MeshRead.cpp:394:11: warning: comparison of integer expressions of different signedness: 'Int4' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] assert(l==nbt*sizeof(long)*4 + nbv*(2*sizeof(float)+sizeof(long))); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:48:30: note: in definition of macro 'assert' #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:394:3: note: in expansion of macro 'assert' assert(l==nbt*sizeof(long)*4 + nbv*(2*sizeof(float)+sizeof(long))); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:394:3: note: in expansion of macro 'assert' assert(l==nbt*sizeof(long)*4 + nbv*(2*sizeof(float)+sizeof(long))); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:401:3: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:401:3: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ MeshRead.cpp:403:28: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Triangles::Read_nopo(MeshIstream&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:444:2: note: in expansion of macro 'assert' assert(i==32); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:444:2: note: in expansion of macro 'assert' assert(i==32); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:473:2: note: in expansion of macro 'assert' assert(l == 27); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:473:2: note: in expansion of macro 'assert' assert(l == 27); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:500:3: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:500:3: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ MeshRead.cpp:502:28: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ In file included from MeshRead.cpp:7: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:510:3: note: in expansion of macro 'assert' assert(l==2*np); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:510:3: note: in expansion of macro 'assert' assert(l==2*np); ^~~~~~ MeshRead.cpp:533:11: warning: unused variable 'ng' [-Wunused-variable] Int4 ng[4]={0,0,0,0}; ^~ MeshRead.cpp:534:17: warning: unused variable 'nn' [-Wunused-variable] Int4 np[4],nn[4],rv[4],re[4]; ^~ In file included from MeshRead.cpp:7: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:625:2: note: in expansion of macro 'assert' assert(k==nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:625:2: note: in expansion of macro 'assert' assert(k==nbt); ^~~~~~ MeshRead.cpp:483:7: warning: unused variable 'nef' [-Wunused-variable] Int4 nef = nop2[13]; ^~~ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Triangles::Read_ftq(MeshIstream&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:664:3: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:664:3: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ MeshRead.cpp:666:28: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ In file included from MeshRead.cpp:7: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:697:3: note: in expansion of macro 'assert' assert(k==nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:697:3: note: in expansion of macro 'assert' assert(k==nbt); ^~~~~~ MeshRead.cpp: In member function 'void Triangles::Read_msh(MeshIstream&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:724:6: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:724:6: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ MeshRead.cpp:726:31: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Triangles::Read_amdba(MeshIstream&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:760:6: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:760:6: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ MeshRead.cpp:762:31: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ In file included from MeshRead.cpp:7: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:767:4: note: in expansion of macro 'assert' assert( j >0 && j <= nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:767:4: note: in expansion of macro 'assert' assert( j >0 && j <= nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:778:5: note: in expansion of macro 'assert' assert( j >0 && j <= nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:778:5: note: in expansion of macro 'assert' assert( j >0 && j <= nbt); ^~~~~~ MeshRead.cpp: In constructor 'Triangles::Triangles(char*, Real8)': MeshRead.cpp:817:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (f_in.IsString("MeshVersionFormatted")) ^ MeshRead.cpp:796:7: warning: unused variable 'type_file' [-Wunused-variable] int type_file=0; ^~~~~~~~~ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Geometry::ReadGeometry(MeshIstream&, char*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:860:3: note: in expansion of macro 'assert' assert(empty()); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:860:3: note: in expansion of macro 'assert' assert(empty()); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:896:11: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:896:11: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:944:11: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:944:11: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:952:11: note: in expansion of macro 'assert' assert(nbvx >= nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:952:11: note: in expansion of macro 'assert' assert(nbvx >= nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:980:6: note: in expansion of macro 'assert' assert(coefIcoor >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:980:6: note: in expansion of macro 'assert' assert(coefIcoor >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1006:8: note: in expansion of macro 'assert' assert(edges); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1006:8: note: in expansion of macro 'assert' assert(edges); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1007:8: note: in expansion of macro 'assert' assert (nbv >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1007:8: note: in expansion of macro 'assert' assert (nbv >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1069:8: note: in expansion of macro 'assert' assert( i <= nbe ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1069:8: note: in expansion of macro 'assert' assert( i <= nbe ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1070:8: note: in expansion of macro 'assert' assert( i > 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1070:8: note: in expansion of macro 'assert' assert( i > 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1071:8: note: in expansion of macro 'assert' assert ( j == 1 || j==2 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1071:8: note: in expansion of macro 'assert' assert ( j == 1 || j==2 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1085:13: note: in expansion of macro 'assert' assert( j <= nbv ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1085:13: note: in expansion of macro 'assert' assert( j <= nbv ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1086:13: note: in expansion of macro 'assert' assert( j > 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1086:13: note: in expansion of macro 'assert' assert( j > 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1098:13: note: in expansion of macro 'assert' assert( j <= nbv ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1098:13: note: in expansion of macro 'assert' assert( j <= nbv ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1099:13: note: in expansion of macro 'assert' assert( j > 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1099:13: note: in expansion of macro 'assert' assert( j > 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1115:3: note: in expansion of macro 'assert' assert(i0 == 2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1115:3: note: in expansion of macro 'assert' assert(i0 == 2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1116:3: note: in expansion of macro 'assert' assert(i1<=nbe && i1>0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1116:3: note: in expansion of macro 'assert' assert(i1<=nbe && i1>0); ^~~~~~ mv MeshRead.o MeshRead_o.o g++ -pipe -Wall -O2 -DLONGLONG -g -c MeshWrite.cpp In file included from MeshWrite.cpp:5: Meshio.h: In member function 'std::istream& MeshIstream::cm()': Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while ( in.get(c) && ^~~~~ Meshio.h:58:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if (in.good()) in.putback(c); ^~ Meshio.h: In constructor 'MeshIstream::MeshIstream(const char*)': Meshio.h:50:16: warning: 'MeshIstream::CurrentFile' will be initialized after [-Wreorder] const char * CurrentFile; ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] int LineNumber,LineError,opened; ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] MeshIstream(const char * file_name) ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~ Meshio.h:80:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(char*)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(const char*, std::ios_base::openmode)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(std::ostream&)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from Mesh2.h:79, from MeshWrite.cpp:6: Metric.h: In constructor 'MetricAnIso::MetricAnIso(Real8)': Metric.h:71:17: warning: 'MetricAnIso::a22' will be initialized after [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] MetricAnIso(Real8 a): a11(1/(a*a)),a22(1/(a*a)),a21(0){} ^~~~~~~~~~~ In file included from MeshWrite.cpp:6: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ In file included from MeshWrite.cpp:6: Mesh2.h: In constructor 'ListofIntersectionTriangles::ListofIntersectionTriangles(int, int)': Mesh2.h:505:7: warning: 'ListofIntersectionTriangles::state' will be initialized after [-Wreorder] int state; ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] int MaxSize; // ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] int NbSeg; ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] int MaxNbSeg; ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from MeshWrite.cpp:6: Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ In file included from MeshWrite.cpp:6: Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom()': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] VertexOnGeom(): mv(0),abscisse(0){gv=0;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalVertex&)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalVertex &g) : mv(&m),abscisse(-1){gv=&g;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalEdge&, Real8)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalEdge &g,Real8 s) : mv(&m),abscisse(s){ge=&g;} ^~~~~~~~~~~~ In file included from MeshWrite.cpp:6: Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ In file included from MeshWrite.cpp:6: Mesh2.h: In constructor 'Triangles::Triangles(Int4)': Mesh2.h:713:15: warning: 'Triangles::BTh' will be initialized after [-Wreorder] Triangles & BTh; // Background Mesh Bth==*this =>no background ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] Geometry & Gh; // Geometry ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] Triangles(Int4 i) :BTh(*this),Gh(*NULLGeometry){PreInit(i);} ^~~~~~~~~ In file included from MeshWrite.cpp:6: Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ In file included from MeshWrite.cpp:6: Mesh2.h: In member function 'void VertexOnGeom::Set(const VertexOnGeom&, const Triangles&, Triangles&)': Mesh2.h:1099:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (gv) ^ In file included from MeshWrite.cpp:6: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_nop5(OFortranUnFormattedFile*, Int4&, Int4&, Int4&, Int4) const': MeshWrite.cpp:83:8: warning: unused variable 'nbInT' [-Wunused-variable] Int4 nbInT = ConsRefTriangle(reft); ^~~~~ MeshWrite.cpp:88:8: warning: unused variable 'ining' [-Wunused-variable] Int4 ining=0; ^~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_nopo(std::ostream&) const': MeshWrite.cpp:294:7: warning: unused variable 'ch4' [-Wunused-variable] char ch4[4]; ^~~ MeshWrite.cpp:296:8: warning: unused variable 'c' [-Wunused-variable] char *c=identity; ^ In file included from MeshWrite.cpp:6: MeshWrite.cpp: In member function 'void Triangles::Write_am_fmt(std::ostream&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:338:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:338:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_am(std::ostream&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:369:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:369:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ MeshWrite.cpp:368:10: warning: variable 'j' set but not used [-Wunused-but-set-variable] Int4 i,j; ^ In file included from MeshWrite.cpp:6: MeshWrite.cpp: In member function 'void Triangles::Write_ftq(std::ostream&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:400:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:400:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:434:3: note: in expansion of macro 'assert' assert(k == nele); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:434:3: note: in expansion of macro 'assert' assert(k == nele); ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_msh(std::ostream&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:446:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:446:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_amdba(std::ostream&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:474:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:474:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ MeshWrite.cpp:488:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(reft[i]>=0) ^~ MeshWrite.cpp:494:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' f << endl; ^ In file included from MeshWrite.cpp:6: MeshWrite.cpp: In member function 'void Triangles::WriteElements(std::ostream&, Int4*, Int4) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:556:8: note: in expansion of macro 'assert' assert(k==0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:556:8: note: in expansion of macro 'assert' assert(k==0); ^~~~~~ MeshWrite.cpp: In function 'std::ostream& operator<<(std::ostream&, const Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:636:3: note: in expansion of macro 'assert' assert(v.OnGeomVertex()) ; ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:636:3: note: in expansion of macro 'assert' assert(v.OnGeomVertex()) ; ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:647:3: note: in expansion of macro 'assert' assert(v.OnGeomEdge()) ; ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:647:3: note: in expansion of macro 'assert' assert(v.OnGeomEdge()) ; ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:731:8: note: in expansion of macro 'assert' assert(!k); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:731:8: note: in expansion of macro 'assert' assert(!k); ^~~~~~ In file included from MeshWrite.cpp:6: Mesh2.h: In member function 'int VertexOnGeom::OnGeomVertex() const': Mesh2.h:602:39: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] int OnGeomVertex()const {return this? abscisse <0 :0;} ~~~~^~~~~~~~~~~~~~~~ Mesh2.h: In member function 'int VertexOnGeom::OnGeomEdge() const': Mesh2.h:603:38: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] int OnGeomEdge() const {return this? abscisse >=0 :0;} ~~~~^~~~~~~~~~~~~~~~~ In file included from MeshWrite.cpp:6: MeshWrite.cpp: In member function 'void Triangles::Write_am_fmt(std::ostream&) const': Mesh2.h:48:32: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ~~~^~~ MeshWrite.cpp:338:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_am(std::ostream&) const': Mesh2.h:48:32: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ~~~^~~ MeshWrite.cpp:369:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_ftq(std::ostream&) const': Mesh2.h:48:32: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ~~~^~~ MeshWrite.cpp:400:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_msh(std::ostream&) const': Mesh2.h:48:32: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ~~~^~~ MeshWrite.cpp:446:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_amdba(std::ostream&) const': Mesh2.h:48:32: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ~~~^~~ MeshWrite.cpp:474:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ mv MeshWrite.o MeshWrite_o.o g++ -pipe -Wall -O2 -DLONGLONG -g -c MeshGeom.cpp In file included from Mesh2.h:79, from MeshGeom.cpp:27: Metric.h: In constructor 'MetricAnIso::MetricAnIso(Real8)': Metric.h:71:17: warning: 'MetricAnIso::a22' will be initialized after [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] MetricAnIso(Real8 a): a11(1/(a*a)),a22(1/(a*a)),a21(0){} ^~~~~~~~~~~ In file included from MeshGeom.cpp:27: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ In file included from MeshGeom.cpp:27: Mesh2.h: In constructor 'ListofIntersectionTriangles::ListofIntersectionTriangles(int, int)': Mesh2.h:505:7: warning: 'ListofIntersectionTriangles::state' will be initialized after [-Wreorder] int state; ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] int MaxSize; // ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] int NbSeg; ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] int MaxNbSeg; ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from MeshGeom.cpp:27: Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ In file included from MeshGeom.cpp:27: Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom()': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] VertexOnGeom(): mv(0),abscisse(0){gv=0;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalVertex&)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalVertex &g) : mv(&m),abscisse(-1){gv=&g;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalEdge&, Real8)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalEdge &g,Real8 s) : mv(&m),abscisse(s){ge=&g;} ^~~~~~~~~~~~ In file included from MeshGeom.cpp:27: Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ In file included from MeshGeom.cpp:27: Mesh2.h: In constructor 'Triangles::Triangles(Int4)': Mesh2.h:713:15: warning: 'Triangles::BTh' will be initialized after [-Wreorder] Triangles & BTh; // Background Mesh Bth==*this =>no background ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] Geometry & Gh; // Geometry ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] Triangles(Int4 i) :BTh(*this),Gh(*NULLGeometry){PreInit(i);} ^~~~~~~~~ In file included from MeshGeom.cpp:27: Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ In file included from MeshGeom.cpp:27: Mesh2.h: In member function 'void VertexOnGeom::Set(const VertexOnGeom&, const Triangles&, Triangles&)': Mesh2.h:1099:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (gv) ^ In file included from MeshGeom.cpp:27: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ MeshGeom.cpp: In member function 'void Triangles::ConsGeometry(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:80:4: note: in expansion of macro 'assert' assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:80:4: note: in expansion of macro 'assert' assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:185:7: note: in expansion of macro 'assert' assert(k==nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:185:7: note: in expansion of macro 'assert' assert(k==nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:208:6: note: in expansion of macro 'assert' assert( v == edges[i0 ].v[j0]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:208:6: note: in expansion of macro 'assert' assert( v == edges[i0 ].v[j0]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:211:6: note: in expansion of macro 'assert' assert(edges[i0].v[j0] == v); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:211:6: note: in expansion of macro 'assert' assert(edges[i0].v[j0] == v); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:217:5: note: in expansion of macro 'assert' assert(!NbSubDomains); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:217:5: note: in expansion of macro 'assert' assert(!NbSubDomains); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:281:5: note: in expansion of macro 'assert' assert(k== NbSubDomains); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:281:5: note: in expansion of macro 'assert' assert(k== NbSubDomains); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:347:3: note: in expansion of macro 'assert' assert(Gh.coefIcoor >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:347:3: note: in expansion of macro 'assert' assert(Gh.coefIcoor >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:378:7: note: in expansion of macro 'assert' assert(k == i); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:378:7: note: in expansion of macro 'assert' assert(k == i); ^~~~~~ MeshGeom.cpp:38:15: warning: unused variable 'OldCurrentTh' [-Wunused-variable] Triangles * OldCurrentTh =CurrentTh; ^~~~~~~~~~~~ In file included from MeshGeom.cpp:27: MeshGeom.cpp: In copy constructor 'Geometry::Geometry(const Geometry&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:461:4: note: in expansion of macro 'assert' assert(!nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:461:4: note: in expansion of macro 'assert' assert(!nbt); ^~~~~~ MeshGeom.cpp: In member function 'GeometricalEdge* Geometry::Contening(R2, GeometricalEdge*) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:474:8: note: in expansion of macro 'assert' assert(k++<100); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:474:8: note: in expansion of macro 'assert' assert(k++<100); ^~~~~~ MeshGeom.cpp: In member function 'GeometricalEdge* Geometry::ProjectOnCurve(const Edge&, Real8, Vertex&, VertexOnGeom&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:497:5: note: in expansion of macro 'assert' assert(on); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:497:5: note: in expansion of macro 'assert' assert(on); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:498:5: note: in expansion of macro 'assert' assert( e[0].on && e[1].on); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:498:5: note: in expansion of macro 'assert' assert( e[0].on && e[1].on); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:570:2: note: in expansion of macro 'assert' assert(bge>=0 && bge <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:570:2: note: in expansion of macro 'assert' assert(bge>=0 && bge <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:599:2: note: in expansion of macro 'assert' assert(tge>=0 && tge <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:599:2: note: in expansion of macro 'assert' assert(tge>=0 && tge <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:634:5: note: in expansion of macro 'assert' assert( i>=0 && i <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:634:5: note: in expansion of macro 'assert' assert( i>=0 && i <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:644:7: note: in expansion of macro 'assert' assert(s <= 1.0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:644:7: note: in expansion of macro 'assert' assert(s <= 1.0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:652:2: note: in expansion of macro 'assert' assert(i >= 0 && i <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:652:2: note: in expansion of macro 'assert' assert(i >= 0 && i <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:663:5: note: in expansion of macro 'assert' assert(on); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:663:5: note: in expansion of macro 'assert' assert(on); ^~~~~~ MeshGeom.cpp: In member function 'void Geometry::AfterRead()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:699:11: note: in expansion of macro 'assert' assert( v == & (Vertex &) vertices[j]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:699:11: note: in expansion of macro 'assert' assert( v == & (Vertex &) vertices[j]); ^~~~~~ MeshGeom.cpp:803:10: warning: unused variable 'a' [-Wunused-variable] float a = 180*(j1 ? OppositeAngle(eangle[i1]): eangle[i1])/Pi; ^ In file included from MeshGeom.cpp:27: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:944:5: note: in expansion of macro 'assert' assert(nbgem && nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:944:5: note: in expansion of macro 'assert' assert(nbgem && nbe); ^~~~~~ MeshGeom.cpp: In destructor 'Geometry::~Geometry()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:952:3: note: in expansion of macro 'assert' assert(NbRef<=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:952:3: note: in expansion of macro 'assert' assert(NbRef<=0); ^~~~~~ MeshGeom.cpp:955:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(vertices) delete [] vertices;vertices=0; ^~ MeshGeom.cpp:955:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(vertices) delete [] vertices;vertices=0; ^~~~~~~~ MeshGeom.cpp:956:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(edges) delete [] edges;edges=0; ^~ MeshGeom.cpp:956:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(edges) delete [] edges;edges=0; ^~~~~ MeshGeom.cpp:958:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(triangles) delete [] triangles;triangles=0; ^~ MeshGeom.cpp:958:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(triangles) delete [] triangles;triangles=0; ^~~~~~~~~ MeshGeom.cpp:959:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(quadtree) delete quadtree;quadtree=0; ^~ MeshGeom.cpp:959:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(quadtree) delete quadtree;quadtree=0; ^~~~~~~~ MeshGeom.cpp:960:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(name) delete name;name=0; ^~ MeshGeom.cpp:960:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(name) delete name;name=0; ^~~~ MeshGeom.cpp:961:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(subdomains) delete subdomains;subdomains=0; ^~ MeshGeom.cpp:961:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(subdomains) delete subdomains;subdomains=0; ^~~~~~~~~~ In file included from MeshGeom.cpp:27: MeshGeom.cpp: In member function 'Real8 GeometricalEdge::R1tg(Real4, R2&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:974:2: note: in expansion of macro 'assert' assert( theta >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:974:2: note: in expansion of macro 'assert' assert( theta >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:975:2: note: in expansion of macro 'assert' assert( theta <=1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:975:2: note: in expansion of macro 'assert' assert( theta <=1); ^~~~~~ MeshGeom.cpp:1008:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ MeshGeom.cpp:1025:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' R2 d = A*dca + B*dcb + tg[0]* dcta + tg[1] * dctb; ^~ In file included from MeshGeom.cpp:27: MeshGeom.cpp: In member function 'R2 GeometricalEdge::F(Real4) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:1040:2: note: in expansion of macro 'assert' assert( theta >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:1040:2: note: in expansion of macro 'assert' assert( theta >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:1041:2: note: in expansion of macro 'assert' assert( theta <=1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:1041:2: note: in expansion of macro 'assert' assert( theta <=1); ^~~~~~ mv MeshGeom.o MeshGeom_o.o g++ -pipe -Wall -O2 -DLONGLONG -g -c MeshQuad.cpp In file included from MeshQuad.cpp:24: Meshio.h: In member function 'std::istream& MeshIstream::cm()': Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while ( in.get(c) && ^~~~~ Meshio.h:58:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if (in.good()) in.putback(c); ^~ Meshio.h: In constructor 'MeshIstream::MeshIstream(const char*)': Meshio.h:50:16: warning: 'MeshIstream::CurrentFile' will be initialized after [-Wreorder] const char * CurrentFile; ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] int LineNumber,LineError,opened; ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] MeshIstream(const char * file_name) ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~ Meshio.h:80:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(char*)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(const char*, std::ios_base::openmode)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(std::ostream&)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from Mesh2.h:79, from MeshQuad.cpp:25: Metric.h: In constructor 'MetricAnIso::MetricAnIso(Real8)': Metric.h:71:17: warning: 'MetricAnIso::a22' will be initialized after [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] MetricAnIso(Real8 a): a11(1/(a*a)),a22(1/(a*a)),a21(0){} ^~~~~~~~~~~ In file included from MeshQuad.cpp:25: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ In file included from MeshQuad.cpp:25: Mesh2.h: In constructor 'ListofIntersectionTriangles::ListofIntersectionTriangles(int, int)': Mesh2.h:505:7: warning: 'ListofIntersectionTriangles::state' will be initialized after [-Wreorder] int state; ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] int MaxSize; // ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] int NbSeg; ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] int MaxNbSeg; ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from MeshQuad.cpp:25: Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ In file included from MeshQuad.cpp:25: Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom()': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] VertexOnGeom(): mv(0),abscisse(0){gv=0;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalVertex&)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalVertex &g) : mv(&m),abscisse(-1){gv=&g;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalEdge&, Real8)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalEdge &g,Real8 s) : mv(&m),abscisse(s){ge=&g;} ^~~~~~~~~~~~ In file included from MeshQuad.cpp:25: Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ In file included from MeshQuad.cpp:25: Mesh2.h: In constructor 'Triangles::Triangles(Int4)': Mesh2.h:713:15: warning: 'Triangles::BTh' will be initialized after [-Wreorder] Triangles & BTh; // Background Mesh Bth==*this =>no background ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] Geometry & Gh; // Geometry ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] Triangles(Int4 i) :BTh(*this),Gh(*NULLGeometry){PreInit(i);} ^~~~~~~~~ In file included from MeshQuad.cpp:25: Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ In file included from MeshQuad.cpp:25: Mesh2.h: In member function 'void VertexOnGeom::Set(const VertexOnGeom&, const Triangles&, Triangles&)': Mesh2.h:1099:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (gv) ^ In file included from MeshQuad.cpp:25: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ MeshQuad.cpp: In member function 'GeometricalEdge* Triangles::ProjectOnCurve(Edge&, Vertex&, Vertex&, Real8, Vertex&, VertexOnEdge&, VertexOnGeom&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:148:2: note: in expansion of macro 'assert' assert( pA && pB && e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:148:2: note: in expansion of macro 'assert' assert( pA && pB && e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:151:2: note: in expansion of macro 'assert' assert(e>=BTh.edges && e=BTh.edges && e=0 && thetab<=1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:228:7: note: in expansion of macro 'assert' assert(thetab>=0 && thetab<=1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:245:5: note: in expansion of macro 'assert' assert(eee); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:245:5: note: in expansion of macro 'assert' assert(eee); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:254:9: note: in expansion of macro 'assert' assert(thetab>=0 && thetab<=1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:254:9: note: in expansion of macro 'assert' assert(thetab>=0 && thetab<=1); ^~~~~~ MeshQuad.cpp: In member function 'int Triangles::SplitElement(int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:440:8: note: in expansion of macro 'assert' assert(edgesGtoB); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:440:8: note: in expansion of macro 'assert' assert(edgesGtoB); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:531:6: note: in expansion of macro 'assert' assert(t.link); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:531:6: note: in expansion of macro 'assert' assert(t.link); ^~~~~~ MeshQuad.cpp:608:12: warning: the compiler can assume that the address of 'tt' will never be NULL [-Waddress] if (&tt) // internal triangles all the boundary ^ MeshQuad.cpp:608:12: warning: the compiler can assume that the address of 'tt' will never be NULL [-Waddress] In file included from MeshQuad.cpp:25: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:640:7: note: in expansion of macro 'assert' assert (nbinvisible<2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:640:7: note: in expansion of macro 'assert' assert (nbinvisible<2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:651:5: note: in expansion of macro 'assert' assert(ksplit[i]>=40); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:651:5: note: in expansion of macro 'assert' assert(ksplit[i]>=40); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:674:7: note: in expansion of macro 'assert' assert(kk<7 && kk >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:674:7: note: in expansion of macro 'assert' assert(kk<7 && kk >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:690:8: note: in expansion of macro 'assert' assert(nbmkadj< 10); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:690:8: note: in expansion of macro 'assert' assert(nbmkadj< 10); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:706:5: note: in expansion of macro 'assert' assert (kedge[3*i+i0]>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:706:5: note: in expansion of macro 'assert' assert (kedge[3*i+i0]>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:720:13: note: in expansion of macro 'assert' assert (kedge[3*i+k1]>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:720:13: note: in expansion of macro 'assert' assert (kedge[3*i+k1]>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:721:13: note: in expansion of macro 'assert' assert (kedge[3*i+k2]>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:721:13: note: in expansion of macro 'assert' assert (kedge[3*i+k2]>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:743:5: note: in expansion of macro 'assert' assert(kedge[3*i+k0] >=0 && kedge[3*i+k1] >=0 && kedge[3*i+k2] >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:743:5: note: in expansion of macro 'assert' assert(kedge[3*i+k0] >=0 && kedge[3*i+k1] >=0 && kedge[3*i+k2] >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:824:8: note: in expansion of macro 'assert' assert(nbmkadj<=13);// 13 = 6 + 4 + 3 ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:824:8: note: in expansion of macro 'assert' assert(nbmkadj<=13);// 13 = 6 + 4 + 3 ^~~~~~ MeshQuad.cpp:668:18: warning: unused variable 'tc' [-Wunused-variable] Triangle * tc=0; ^~ MeshQuad.cpp:670:12: warning: variable 'mkadj' set but not used [-Wunused-but-set-variable] Int4 mkadj [100]; ^~~~~ MeshQuad.cpp:859:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SetIntCoor("In SplitElement"); ^ MeshQuad.cpp:353:6: warning: unused variable 'nswap' [-Wunused-variable] int nswap =0; ^~~~~ MeshQuad.cpp:416:7: warning: unused variable 'kerr' [-Wunused-variable] Int4 kerr=0,ferr=0; ^~~~ MeshQuad.cpp: In member function 'GeometricalEdge* Triangles::ProjectOnCurve(Edge&, Vertex&, Vertex&, Real8, Vertex&, VertexOnEdge&, VertexOnGeom&)': MeshQuad.cpp:241:5: warning: 'v1' may be used uninitialized in this function [-Wmaybe-uninitialized] if (( void*) v1 == pB) ^~ mv MeshQuad.o MeshQuad_o.o g++ -pipe -Wall -O2 -DLONGLONG -g -c QuadTree.cpp In file included from QuadTree.cpp:21: Meshio.h: In member function 'std::istream& MeshIstream::cm()': Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while ( in.get(c) && ^~~~~ Meshio.h:58:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if (in.good()) in.putback(c); ^~ Meshio.h: In constructor 'MeshIstream::MeshIstream(const char*)': Meshio.h:50:16: warning: 'MeshIstream::CurrentFile' will be initialized after [-Wreorder] const char * CurrentFile; ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] int LineNumber,LineError,opened; ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] MeshIstream(const char * file_name) ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~ Meshio.h:80:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(char*)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(const char*, std::ios_base::openmode)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(std::ostream&)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from Mesh2.h:79, from QuadTree.cpp:22: Metric.h: In constructor 'MetricAnIso::MetricAnIso(Real8)': Metric.h:71:17: warning: 'MetricAnIso::a22' will be initialized after [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] MetricAnIso(Real8 a): a11(1/(a*a)),a22(1/(a*a)),a21(0){} ^~~~~~~~~~~ In file included from QuadTree.cpp:22: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ In file included from QuadTree.cpp:22: Mesh2.h: In constructor 'ListofIntersectionTriangles::ListofIntersectionTriangles(int, int)': Mesh2.h:505:7: warning: 'ListofIntersectionTriangles::state' will be initialized after [-Wreorder] int state; ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] int MaxSize; // ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] int NbSeg; ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] int MaxNbSeg; ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from QuadTree.cpp:22: Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ In file included from QuadTree.cpp:22: Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom()': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] VertexOnGeom(): mv(0),abscisse(0){gv=0;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalVertex&)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalVertex &g) : mv(&m),abscisse(-1){gv=&g;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalEdge&, Real8)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalEdge &g,Real8 s) : mv(&m),abscisse(s){ge=&g;} ^~~~~~~~~~~~ In file included from QuadTree.cpp:22: Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ In file included from QuadTree.cpp:22: Mesh2.h: In constructor 'Triangles::Triangles(Int4)': Mesh2.h:713:15: warning: 'Triangles::BTh' will be initialized after [-Wreorder] Triangles & BTh; // Background Mesh Bth==*this =>no background ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] Geometry & Gh; // Geometry ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] Triangles(Int4 i) :BTh(*this),Gh(*NULLGeometry){PreInit(i);} ^~~~~~~~~ In file included from QuadTree.cpp:22: Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ In file included from QuadTree.cpp:22: Mesh2.h: In member function 'void VertexOnGeom::Set(const VertexOnGeom&, const Triangles&, Triangles&)': Mesh2.h:1099:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (gv) ^ In file included from QuadTree.cpp:22: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ QuadTree.cpp: In member function 'Vertex* QuadTree::NearestVertex(Icoor1, Icoor1)': QuadTree.cpp:196:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (b=b->b[k]) ~^~~~~~~~ QuadTree.cpp: In member function 'int QuadTree::ToClose(Vertex&, Real8, Icoor1, Icoor1)': QuadTree.cpp:279:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (b=b->b[k]) ~^~~~~~~~ QuadTree.cpp:237:10: warning: variable 'h' set but not used [-Wunused-but-set-variable] Icoor1 h=MaxISize; ^ In file included from QuadTree.cpp:22: QuadTree.cpp: In member function 'void QuadTree::Add(Vertex&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:325:3: note: in expansion of macro 'assert' assert(l); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:325:3: note: in expansion of macro 'assert' assert(l); ^~~~~~ In file included from QuadTree.cpp:23: QuadTree.h: In constructor 'QuadTree::QuadTree(Triangles*, long int)': QuadTree.h:63:14: warning: 'QuadTree::th' will be initialized after [-Wreorder] Triangles *th; ^~ QuadTree.h:59:9: warning: 'long int QuadTree::lenStorageQuadTreeBox' [-Wreorder] long lenStorageQuadTreeBox; ^~~~~~~~~~~~~~~~~~~~~ QuadTree.cpp:355:1: warning: when initialized here [-Wreorder] QuadTree::QuadTree(Triangles * t,long nbv) : ^~~~~~~~ In file included from QuadTree.cpp:23: QuadTree.h:65:22: warning: 'QuadTree::NbVertices' will be initialized after [-Wreorder] long NbQuadTreeBox,NbVertices; ^~~~~~~~~~ QuadTree.h:64:8: warning: 'long int QuadTree::NbQuadTreeBoxSearch' [-Wreorder] long NbQuadTreeBoxSearch,NbVerticesSearch; ^~~~~~~~~~~~~~~~~~~ QuadTree.cpp:355:1: warning: when initialized here [-Wreorder] QuadTree::QuadTree(Triangles * t,long nbv) : ^~~~~~~~ In file included from QuadTree.cpp:22: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:366:3: note: in expansion of macro 'assert' assert( MaxISize > MaxICoor); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:366:3: note: in expansion of macro 'assert' assert( MaxISize > MaxICoor); ^~~~~~ In file included from QuadTree.cpp:23: QuadTree.h: In constructor 'QuadTree::QuadTree()': QuadTree.h:63:14: warning: 'QuadTree::th' will be initialized after [-Wreorder] Triangles *th; ^~ QuadTree.h:59:9: warning: 'long int QuadTree::lenStorageQuadTreeBox' [-Wreorder] long lenStorageQuadTreeBox; ^~~~~~~~~~~~~~~~~~~~~ QuadTree.cpp:374:1: warning: when initialized here [-Wreorder] QuadTree::QuadTree() : ^~~~~~~~ In file included from QuadTree.cpp:23: QuadTree.h:65:22: warning: 'QuadTree::NbVertices' will be initialized after [-Wreorder] long NbQuadTreeBox,NbVertices; ^~~~~~~~~~ QuadTree.h:64:8: warning: 'long int QuadTree::NbQuadTreeBoxSearch' [-Wreorder] long NbQuadTreeBoxSearch,NbVerticesSearch; ^~~~~~~~~~~~~~~~~~~ QuadTree.cpp:374:1: warning: when initialized here [-Wreorder] QuadTree::QuadTree() : ^~~~~~~~ In file included from QuadTree.cpp:22: QuadTree.cpp: In constructor 'QuadTree::StorageQuadTreeBox::StorageQuadTreeBox(long int, QuadTree::StorageQuadTreeBox*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:394:3: note: in expansion of macro 'assert' assert(b); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:394:3: note: in expansion of macro 'assert' assert(b); ^~~~~~ QuadTree.cpp: In member function 'Vertex* QuadTree::NearestVertexWithNormal(Icoor1, Icoor1)': QuadTree.cpp:499:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (b=b->b[k]) ~^~~~~~~~ QuadTree.cpp:429:11: warning: unused variable 'vc' [-Wunused-variable] Vertex *vc; // the current vertex ^~ mv QuadTree.o QuadTree_o.o g++ -pipe -Wall -O2 -DLONGLONG -g -c Meshio.cpp In file included from Meshio.cpp:16: Meshio.h: In member function 'std::istream& MeshIstream::cm()': Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while ( in.get(c) && ^~~~~ Meshio.h:58:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if (in.good()) in.putback(c); ^~ Meshio.h: In constructor 'MeshIstream::MeshIstream(const char*)': Meshio.h:50:16: warning: 'MeshIstream::CurrentFile' will be initialized after [-Wreorder] const char * CurrentFile; ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] int LineNumber,LineError,opened; ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] MeshIstream(const char * file_name) ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~ Meshio.h:80:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(char*)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(const char*, std::ios_base::openmode)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(std::ostream&)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.cpp: In function 'double* ReadBBFile(const char*, long int&, long int&, int*&, int, int)': Meshio.cpp:73:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char * charoftype[] = { "Scalar" , "dim Vector" ,"dim x dim Sym-Matric","dim x dim Full-Matric" } ; ^ Meshio.cpp:73:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Meshio.cpp:73:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Meshio.cpp:73:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Meshio.cpp:73:10: warning: unused variable 'charoftype' [-Wunused-variable] char * charoftype[] = { "Scalar" , "dim Vector" ,"dim x dim Sym-Matric","dim x dim Full-Matric" } ; ^~~~~~~~~~ mv Meshio.o Meshio_o.o g++ -pipe -Wall -O2 -DLONGLONG -g -c Metric.cpp In file included from Metric.cpp:17: Meshio.h: In member function 'std::istream& MeshIstream::cm()': Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while ( in.get(c) && ^~~~~ Meshio.h:58:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if (in.good()) in.putback(c); ^~ Meshio.h: In constructor 'MeshIstream::MeshIstream(const char*)': Meshio.h:50:16: warning: 'MeshIstream::CurrentFile' will be initialized after [-Wreorder] const char * CurrentFile; ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] int LineNumber,LineError,opened; ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] MeshIstream(const char * file_name) ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~ Meshio.h:80:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(char*)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(const char*, std::ios_base::openmode)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(std::ostream&)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from Mesh2.h:79, from Metric.cpp:18: Metric.h: In constructor 'MetricAnIso::MetricAnIso(Real8)': Metric.h:71:17: warning: 'MetricAnIso::a22' will be initialized after [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] MetricAnIso(Real8 a): a11(1/(a*a)),a22(1/(a*a)),a21(0){} ^~~~~~~~~~~ In file included from Metric.cpp:18: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ In file included from Metric.cpp:18: Mesh2.h: In constructor 'ListofIntersectionTriangles::ListofIntersectionTriangles(int, int)': Mesh2.h:505:7: warning: 'ListofIntersectionTriangles::state' will be initialized after [-Wreorder] int state; ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] int MaxSize; // ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] int NbSeg; ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] int MaxNbSeg; ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Metric.cpp:18: Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ In file included from Metric.cpp:18: Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom()': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] VertexOnGeom(): mv(0),abscisse(0){gv=0;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalVertex&)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalVertex &g) : mv(&m),abscisse(-1){gv=&g;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalEdge&, Real8)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalEdge &g,Real8 s) : mv(&m),abscisse(s){ge=&g;} ^~~~~~~~~~~~ In file included from Metric.cpp:18: Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ In file included from Metric.cpp:18: Mesh2.h: In constructor 'Triangles::Triangles(Int4)': Mesh2.h:713:15: warning: 'Triangles::BTh' will be initialized after [-Wreorder] Triangles & BTh; // Background Mesh Bth==*this =>no background ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] Geometry & Gh; // Geometry ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] Triangles(Int4 i) :BTh(*this),Gh(*NULLGeometry){PreInit(i);} ^~~~~~~~~ In file included from Metric.cpp:18: Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ In file included from Metric.cpp:18: Mesh2.h: In member function 'void VertexOnGeom::Set(const VertexOnGeom&, const Triangles&, Triangles&)': Mesh2.h:1099:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (gv) ^ In file included from Metric.cpp:18: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Metric.cpp: In function 'void ReductionSimultanee(MetricAnIso, MetricAnIso, double&, double&, D2xD2&)': Metric.cpp:38:16: warning: unused variable 'c11' [-Wunused-variable] const double c11 = a11*a11, c21= a21*a21; ^~~ Metric.cpp:39:16: warning: unused variable 'd11' [-Wunused-variable] const double d11 = b11*b11, d21= b21*b21; ^~~ In file included from Metric.cpp:18: Metric.cpp: In member function 'void Triangles::IntersectGeomMetric(Real8, int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:213:3: note: in expansion of macro 'assert' assert(hmax>0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:213:3: note: in expansion of macro 'assert' assert(hmax>0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:240:4: note: in expansion of macro 'assert' assert(ht>0 && hn>0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:240:4: note: in expansion of macro 'assert' assert(ht>0 && hn>0); ^~~~~~ Metric.cpp: In member function 'void Triangles::IntersectConsMetric(const double*, Int4, const int*, Real8, Real8, Real8, Real8, Real8, int, int, double, int)': Metric.cpp:548:10: warning: unused variable 'xx' [-Wunused-variable] Real8 xx = V.x-V.y; ^~ Metric.cpp:549:10: warning: unused variable 'yy' [-Wunused-variable] Real8 yy = V.x + V.y; ^~ In file included from Metric.cpp:18: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:575:3: note: in expansion of macro 'assert' assert(det33); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:575:3: note: in expansion of macro 'assert' assert(det33); ^~~~~~ Metric.cpp:529:9: warning: variable 'lla' set but not used [-Wunused-but-set-variable] Real8 lla,llb,llc,llf; ^~~ Metric.cpp:529:13: warning: variable 'llb' set but not used [-Wunused-but-set-variable] Real8 lla,llb,llc,llf; ^~~ Metric.cpp:529:17: warning: variable 'llc' set but not used [-Wunused-but-set-variable] Real8 lla,llb,llc,llf; ^~~ Metric.cpp:529:21: warning: variable 'llf' set but not used [-Wunused-but-set-variable] Real8 lla,llb,llc,llf; ^~~ Metric.cpp:375:27: warning: unused variable 'ssiii' [-Wunused-variable] double *ss=(double*)s, *ssiii = ss; ^~~~~ Metric.cpp: In member function 'void Triangles::MaxSubDivision(Real8)': Metric.cpp:877:12: warning: the compiler can assume that the address of 'tt' will never be NULL [-Waddress] if ( ! &tt || it < Number(tt) && ( tt.link || t.link)) ^~ Metric.cpp:877:12: warning: the compiler can assume that the address of 'tt' will never be NULL [-Waddress] Metric.cpp:877:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( ! &tt || it < Number(tt) && ( tt.link || t.link)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from Metric.cpp:18: Metric.cpp: In member function 'void Triangles::SmoothMetric(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:963:2: note: in expansion of macro 'assert' assert(t); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:963:2: note: in expansion of macro 'assert' assert(t); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:972:4: note: in expansion of macro 'assert' assert(vertices+i == ta.EdgeVertex(1)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:972:4: note: in expansion of macro 'assert' assert(vertices+i == ta.EdgeVertex(1)); ^~~~~~ Metric.cpp:974:13: warning: the compiler can assume that the address of 'vj' will never be NULL [-Waddress] if ( &vj ) { ^ Metric.cpp:974:13: warning: the compiler can assume that the address of 'vj' will never be NULL [-Waddress] In file included from Metric.cpp:18: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:976:6: note: in expansion of macro 'assert' assert(j>=0 && j < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:976:6: note: in expansion of macro 'assert' assert(j>=0 && j < nbv); ^~~~~~ Metric.cpp: In function 'Real8 LengthInterpole(MetricAnIso, MetricAnIso, R2)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:1122:3: note: in expansion of macro 'assert' assert(i<512); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:1122:3: note: in expansion of macro 'assert' assert(i<512); ^~~~~~ Metric.cpp: In function 'Real8 abscisseInterpole(MetricAnIso, MetricAnIso, R2, Real8, int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:1159:3: note: in expansion of macro 'assert' assert(r<=1 && r>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:1159:3: note: in expansion of macro 'assert' assert(r<=1 && r>=0); ^~~~~~ mv Metric.o Metric_o.o g++ -pipe -Wall -O2 -DLONGLONG -g -c SetOfE4.cpp mv SetOfE4.o SetOfE4_o.o g++ -pipe -Wall -O2 -DLONGLONG -g -c bamg.cpp In file included from bamg.cpp:23: Meshio.h: In member function 'std::istream& MeshIstream::cm()': Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while ( in.get(c) && ^~~~~ Meshio.h:58:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if (in.good()) in.putback(c); ^~ Meshio.h: In constructor 'MeshIstream::MeshIstream(const char*)': Meshio.h:50:16: warning: 'MeshIstream::CurrentFile' will be initialized after [-Wreorder] const char * CurrentFile; ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] int LineNumber,LineError,opened; ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] MeshIstream(const char * file_name) ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~ Meshio.h:80:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(char*)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(const char*, std::ios_base::openmode)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(std::ostream&)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from Mesh2.h:79, from bamg.cpp:25: Metric.h: In constructor 'MetricAnIso::MetricAnIso(Real8)': Metric.h:71:17: warning: 'MetricAnIso::a22' will be initialized after [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] MetricAnIso(Real8 a): a11(1/(a*a)),a22(1/(a*a)),a21(0){} ^~~~~~~~~~~ In file included from bamg.cpp:25: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ In file included from bamg.cpp:25: Mesh2.h: In constructor 'ListofIntersectionTriangles::ListofIntersectionTriangles(int, int)': Mesh2.h:505:7: warning: 'ListofIntersectionTriangles::state' will be initialized after [-Wreorder] int state; ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] int MaxSize; // ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] int NbSeg; ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] int MaxNbSeg; ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from bamg.cpp:25: Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ In file included from bamg.cpp:25: Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom()': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] VertexOnGeom(): mv(0),abscisse(0){gv=0;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalVertex&)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalVertex &g) : mv(&m),abscisse(-1){gv=&g;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalEdge&, Real8)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalEdge &g,Real8 s) : mv(&m),abscisse(s){ge=&g;} ^~~~~~~~~~~~ In file included from bamg.cpp:25: Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ In file included from bamg.cpp:25: Mesh2.h: In constructor 'Triangles::Triangles(Int4)': Mesh2.h:713:15: warning: 'Triangles::BTh' will be initialized after [-Wreorder] Triangles & BTh; // Background Mesh Bth==*this =>no background ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] Geometry & Gh; // Geometry ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] Triangles(Int4 i) :BTh(*this),Gh(*NULLGeometry){PreInit(i);} ^~~~~~~~~ In file included from bamg.cpp:25: Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ In file included from bamg.cpp:25: Mesh2.h: In member function 'void VertexOnGeom::Set(const VertexOnGeom&, const Triangles&, Triangles&)': Mesh2.h:1099:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (gv) ^ In file included from bamg.cpp:25: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ bamg.cpp: In function 'int main(int, char**)': bamg.cpp:433:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (verbosity) ^ In file included from bamg.cpp:25: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ bamg.cpp:560:7: note: in expansion of macro 'assert' assert(lsolbb==BTh.nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ bamg.cpp:560:7: note: in expansion of macro 'assert' assert(lsolbb==BTh.nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ bamg.cpp:576:7: note: in expansion of macro 'assert' assert(lsolBB==BTh.nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ bamg.cpp:576:7: note: in expansion of macro 'assert' assert(lsolBB==BTh.nbv); ^~~~~~ bamg.cpp:604:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ( NoMeshReconstruction) ^ In file included from bamg.cpp:25: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ bamg.cpp:688:8: note: in expansion of macro 'assert' assert(dim==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ bamg.cpp:688:8: note: in expansion of macro 'assert' assert(dim==2); ^~~~~~ bamg.cpp:124:8: warning: unused variable 'typesolsbb' [-Wunused-variable] int typesolsbb =0,*typesolsBB =0; ^~~~~~~~~~ mv bamg.o bamg_o.o g++ -O2 -DLONGLONG -g -o bamg Mesh2_o.o MeshRead_o.o MeshWrite_o.o MeshGeom_o.o MeshQuad_o.o QuadTree_o.o Meshio_o.o Metric_o.o SetOfE4_o.o bamg_o.o g++ -pipe -Wall -O2 -DLONGLONG -g -c cvmsh2.cpp In file included from cvmsh2.cpp:22: Meshio.h: In member function 'std::istream& MeshIstream::cm()': Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while ( in.get(c) && ^~~~~ Meshio.h:58:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if (in.good()) in.putback(c); ^~ Meshio.h: In constructor 'MeshIstream::MeshIstream(const char*)': Meshio.h:50:16: warning: 'MeshIstream::CurrentFile' will be initialized after [-Wreorder] const char * CurrentFile; ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] int LineNumber,LineError,opened; ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] MeshIstream(const char * file_name) ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~ Meshio.h:80:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(verbosity>4) cout << " Openfile : " << file_name << endl;err(); } ^~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(char*)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(char *name) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] istream * f; ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] IFortranUnFormattedFile(MeshIstream & ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(const char*, std::ios_base::openmode)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'OFortranUnFormattedFile::OFortranUnFormattedFile(std::ostream&)': Meshio.h:130:13: warning: 'OFortranUnFormattedFile::f' will be initialized after [-Wreorder] ostream * f; ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] long i,l,n,j,nb_rec; ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] const char * file_name; ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] int to_close; ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] OFortranUnFormattedFile(ostream &ff) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from Mesh2.h:79, from cvmsh2.cpp:23: Metric.h: In constructor 'MetricAnIso::MetricAnIso(Real8)': Metric.h:71:17: warning: 'MetricAnIso::a22' will be initialized after [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] Real8 a11,a21,a22; ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] MetricAnIso(Real8 a): a11(1/(a*a)),a22(1/(a*a)),a21(0){} ^~~~~~~~~~~ In file included from cvmsh2.cpp:23: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ In file included from cvmsh2.cpp:23: Mesh2.h: In constructor 'ListofIntersectionTriangles::ListofIntersectionTriangles(int, int)': Mesh2.h:505:7: warning: 'ListofIntersectionTriangles::state' will be initialized after [-Wreorder] int state; ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] int MaxSize; // ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] int NbSeg; ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] int MaxNbSeg; ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] ListofIntersectionTriangles(int n=256,int m=16) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cvmsh2.cpp:23: Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ In file included from cvmsh2.cpp:23: Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom()': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] VertexOnGeom(): mv(0),abscisse(0){gv=0;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalVertex&)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalVertex &g) : mv(&m),abscisse(-1){gv=&g;} ^~~~~~~~~~~~ Mesh2.h: In constructor 'VertexOnGeom::VertexOnGeom(Vertex&, GeometricalEdge&, Real8)': Mesh2.h:596:12: warning: 'VertexOnGeom::mv' will be initialized after [-Wreorder] Vertex * mv; ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] Real8 abscisse; ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] VertexOnGeom(Vertex & m,GeometricalEdge &g,Real8 s) : mv(&m),abscisse(s){ge=&g;} ^~~~~~~~~~~~ In file included from cvmsh2.cpp:23: Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ In file included from cvmsh2.cpp:23: Mesh2.h: In constructor 'Triangles::Triangles(Int4)': Mesh2.h:713:15: warning: 'Triangles::BTh' will be initialized after [-Wreorder] Triangles & BTh; // Background Mesh Bth==*this =>no background ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] Geometry & Gh; // Geometry ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] Triangles(Int4 i) :BTh(*this),Gh(*NULLGeometry){PreInit(i);} ^~~~~~~~~ In file included from cvmsh2.cpp:23: Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ In file included from cvmsh2.cpp:23: Mesh2.h: In member function 'void VertexOnGeom::Set(const VertexOnGeom&, const Triangles&, Triangles&)': Mesh2.h:1099:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (gv) ^ In file included from cvmsh2.cpp:23: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ mv cvmsh2.o cvmsh2_o.o g++ -O2 -DLONGLONG -g -o cvmsh2 Mesh2_o.o MeshRead_o.o MeshWrite_o.o MeshGeom_o.o MeshQuad_o.o QuadTree_o.o Meshio_o.o Metric_o.o SetOfE4_o.o cvmsh2_o.o g++ -g -DLONGLONG -g -I/usr/include/X11R6 -DDRAWING -DDEBUG -c Mesh2.cpp In file included from Mesh2.cpp:24: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.cpp: In function 'void swap(Triangle*, Int1, Triangle*, Int1, Vertex*, Vertex*, Icoor2, Icoor2)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:141:3: note: in expansion of macro 'assert' assert( ! ta1.Locked()); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:141:3: note: in expansion of macro 'assert' assert( ! ta1.Locked()); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:142:3: note: in expansion of macro 'assert' assert( ! ta2.Locked()); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:142:3: note: in expansion of macro 'assert' assert( ! ta2.Locked()); ^~~~~~ Mesh2.cpp: In member function 'Triangle* Triangles::FindTriangleContening(const I2&, Icoor2*, Triangle*) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:191:4: note: in expansion of macro 'assert' assert(quadtree); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:191:4: note: in expansion of macro 'assert' assert(quadtree); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:201:3: note: in expansion of macro 'assert' assert(a>= vertices && a < vertices+nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:201:3: note: in expansion of macro 'assert' assert(a>= vertices && a < vertices+nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:207:3: note: in expansion of macro 'assert' assert(t>= triangles && t < triangles+nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:207:3: note: in expansion of macro 'assert' assert(t>= triangles && t < triangles+nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:216:7: note: in expansion of macro 'assert' assert(k0>=0); // k0 the NULL vertex ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:216:7: note: in expansion of macro 'assert' assert(k0>=0); // k0 the NULL vertex ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:223:7: note: in expansion of macro 'assert' assert(kkkk++ < 2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:223:7: note: in expansion of macro 'assert' assert(kkkk++ < 2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:231:7: note: in expansion of macro 'assert' assert( kkkk++ < 2000 /* infinity loop */ ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:231:7: note: in expansion of macro 'assert' assert( kkkk++ < 2000 /* infinity loop */ ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:247:7: note: in expansion of macro 'assert' assert(dete[0] == det(B ,*s1,*s2)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:247:7: note: in expansion of macro 'assert' assert(dete[0] == det(B ,*s1,*s2)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:248:7: note: in expansion of macro 'assert' assert(dete[1] == det(*s0,B ,*s2)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:248:7: note: in expansion of macro 'assert' assert(dete[1] == det(*s0,B ,*s2)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:249:7: note: in expansion of macro 'assert' assert(dete[2] == det(*s0,*s1,B )); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:249:7: note: in expansion of macro 'assert' assert(dete[2] == det(*s0,*s1,B )); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:250:7: note: in expansion of macro 'assert' assert(t->det== (dete[0] + dete[1] +dete[2])); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:250:7: note: in expansion of macro 'assert' assert(t->det== (dete[0] + dete[1] +dete[2])); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:265:7: note: in expansion of macro 'assert' assert ( k < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:265:7: note: in expansion of macro 'assert' assert ( k < 3); ^~~~~~ Mesh2.cpp: In function 'Int4 FindTriangle(Triangles&, Real8, Real8, double*, int&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:284:4: note: in expansion of macro 'assert' assert(&Th); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:284:4: note: in expansion of macro 'assert' assert(&Th); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:309:3: note: in expansion of macro 'assert' assert(tc->link); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:309:3: note: in expansion of macro 'assert' assert(tc->link); ^~~~~~ Mesh2.cpp: In function 'TriangleAdjacent CloseBoundaryEdge(I2, Triangle*, double&, double&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:324:3: note: in expansion of macro 'assert' assert(k>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:324:3: note: in expansion of macro 'assert' assert(k>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:331:5: note: in expansion of macro 'assert' assert(kkk++<1000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:331:5: note: in expansion of macro 'assert' assert(kkk++<1000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:347:5: note: in expansion of macro 'assert' assert(IJ2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:347:5: note: in expansion of macro 'assert' assert(IJ2); ^~~~~~ Mesh2.cpp: In member function 'TriangleAdjacent Triangle::FindBoundaryEdge(int) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:368:7: note: in expansion of macro 'assert' assert( s == & (*t)[VerticesOfTriangularEdge[j][1]] ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:368:7: note: in expansion of macro 'assert' assert( s == & (*t)[VerticesOfTriangularEdge[j][1]] ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:377:7: note: in expansion of macro 'assert' assert(k<2000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:377:7: note: in expansion of macro 'assert' assert(k<2000); ^~~~~~ Mesh2.cpp: In function 'TriangleAdjacent CloseBoundaryEdgeV2(I2, Triangle*, double&, double&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:392:3: note: in expansion of macro 'assert' assert(t->link == 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:392:3: note: in expansion of macro 'assert' assert(t->link == 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:471:4: note: in expansion of macro 'assert' assert(cas !=-2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:471:4: note: in expansion of macro 'assert' assert(cas !=-2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:487:3: note: in expansion of macro 'assert' assert(edge.EdgeVertex(0)==s && kkk++<10000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:487:3: note: in expansion of macro 'assert' assert(edge.EdgeVertex(0)==s && kkk++<10000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:523:8: note: in expansion of macro 'assert' assert((Triangle *) er); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:523:8: note: in expansion of macro 'assert' assert((Triangle *) er); ^~~~~~ Mesh2.cpp: In member function 'void ListofIntersectionTriangles::SplitEdge(const Triangles&, const R2&, const R2&, int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:621:7: note: in expansion of macro 'assert' assert(k>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:621:7: note: in expansion of macro 'assert' assert(k>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:692:2: note: in expansion of macro 'assert' assert(i+j+k == 0 + 1 +2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:692:2: note: in expansion of macro 'assert' assert(i+j+k == 0 + 1 +2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:785:7: note: in expansion of macro 'assert' assert(dt[0] >= 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:785:7: note: in expansion of macro 'assert' assert(dt[0] >= 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:786:7: note: in expansion of macro 'assert' assert(dt[1] >= 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:786:7: note: in expansion of macro 'assert' assert(dt[1] >= 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:787:7: note: in expansion of macro 'assert' assert(dt[2] >= 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:787:7: note: in expansion of macro 'assert' assert(dt[2] >= 0); ^~~~~~ Mesh2.cpp: In member function 'Real8 ListofIntersectionTriangles::Length()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:866:3: note: in expansion of macro 'assert' assert(Size>0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:866:3: note: in expansion of macro 'assert' assert(Size>0); ^~~~~~ Mesh2.cpp: In member function 'Int4 ListofIntersectionTriangles::NewPoints(Vertex*, Int4&, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:952:7: note: in expansion of macro 'assert' assert( sx <= si); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:952:7: note: in expansion of macro 'assert' assert( sx <= si); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:953:7: note: in expansion of macro 'assert' assert( si <= sy); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:953:7: note: in expansion of macro 'assert' assert( si <= sy); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:954:7: note: in expansion of macro 'assert' assert( sy != sx); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:954:7: note: in expansion of macro 'assert' assert( sy != sx); ^~~~~~ Mesh2.cpp: In function 'int SwapForForcingEdge(Vertex*&, Vertex*&, TriangleAdjacent&, Icoor2&, Icoor2&, Icoor2&, int&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:996:3: note: in expansion of macro 'assert' assert ( a1 >= 0 && a1 < 3 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:996:3: note: in expansion of macro 'assert' assert ( a1 >= 0 && a1 < 3 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1010:3: note: in expansion of macro 'assert' assert(wdets1 == dets1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1010:3: note: in expansion of macro 'assert' assert(wdets1 == dets1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1011:3: note: in expansion of macro 'assert' assert(wdetsa == detsa); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1011:3: note: in expansion of macro 'assert' assert(wdetsa == detsa); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1012:3: note: in expansion of macro 'assert' assert(wdetsb == detsb); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1012:3: note: in expansion of macro 'assert' assert(wdetsb == detsb); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1017:3: note: in expansion of macro 'assert' assert(det1>0 && det2 >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1017:3: note: in expansion of macro 'assert' assert(det1>0 && det2 >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1022:7: note: in expansion of macro 'assert' assert(det1 == ddet1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1022:7: note: in expansion of macro 'assert' assert(det1 == ddet1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1023:7: note: in expansion of macro 'assert' assert(det2 == ddet2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1023:7: note: in expansion of macro 'assert' assert(det2 == ddet2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1040:6: note: in expansion of macro 'assert' assert( ( (detvasasb <= 0) && (detvbsasb >= 0)) || ( (detvasasb >= 0) && (detvbsasb <= 0))); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1040:6: note: in expansion of macro 'assert' assert( ( (detvasasb <= 0) && (detvbsasb >= 0)) || ( (detvasasb >= 0) && (detvbsasb <= 0))); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1044:3: note: in expansion of macro 'assert' assert((det1>0 ) && (det2 > 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1044:3: note: in expansion of macro 'assert' assert((det1>0 ) && (det2 > 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1045:3: note: in expansion of macro 'assert' assert ( (detsa < 0) && (detsb >0) ); // [a,b] cut infinite line va,bb ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1045:3: note: in expansion of macro 'assert' assert ( (detsa < 0) && (detsb >0) ); // [a,b] cut infinite line va,bb ^~~~~~ Mesh2.cpp: In function 'int ForceEdge(Vertex&, Vertex&, TriangleAdjacent&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1130:3: note: in expansion of macro 'assert' assert(a.t && b.t); // the 2 vertex is in a mesh ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1130:3: note: in expansion of macro 'assert' assert(a.t && b.t); // the 2 vertex is in a mesh ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1145:5: note: in expansion of macro 'assert' assert(v2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1145:5: note: in expansion of macro 'assert' assert(v2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1160:5: note: in expansion of macro 'assert' assert( v1 == tta.EdgeVertex(0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1160:5: note: in expansion of macro 'assert' assert( v1 == tta.EdgeVertex(0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1161:5: note: in expansion of macro 'assert' assert( &a == tc.EdgeVertex(1) ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1161:5: note: in expansion of macro 'assert' assert( &a == tc.EdgeVertex(1) ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1169:7: note: in expansion of macro 'assert' assert ( v1 && v2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1169:7: note: in expansion of macro 'assert' assert ( v1 && v2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1178:4: note: in expansion of macro 'assert' assert(ForDebugging==0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1178:4: note: in expansion of macro 'assert' assert(ForDebugging==0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1226:5: note: in expansion of macro 'assert' assert(k++<2000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1226:5: note: in expansion of macro 'assert' assert(k++<2000); ^~~~~~ Mesh2.cpp: In member function 'int Triangle::swap(Int2, int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1263:3: note: in expansion of macro 'assert' assert ( a >= 0 && a < 3 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1263:3: note: in expansion of macro 'assert' assert ( a >= 0 && a < 3 ); ^~~~~~ Mesh2.cpp: In member function 'Real8 Vertex::Smoothing(Triangles&, const Triangles&, Triangle*&, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1398:5: note: in expansion of macro 'assert' assert( s == & (*tria)[VerticesOfTriangularEdge[j][1]] ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1398:5: note: in expansion of macro 'assert' assert( s == & (*tria)[VerticesOfTriangularEdge[j][1]] ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1399:5: note: in expansion of macro 'assert' assert( tria->det >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1399:5: note: in expansion of macro 'assert' assert( tria->det >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1414:6: note: in expansion of macro 'assert' assert(k<2000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1414:6: note: in expansion of macro 'assert' assert(k<2000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1485:2: note: in expansion of macro 'assert' assert(k<2000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1485:2: note: in expansion of macro 'assert' assert(k<2000); ^~~~~~ Mesh2.cpp: In member function 'void Triangles::Add(Vertex&, Triangle*, Icoor2*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1628:5: note: in expansion of macro 'assert' assert(rswap); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1628:5: note: in expansion of macro 'assert' assert(rswap); ^~~~~~ Mesh2.cpp: In member function 'Int4 Triangles::SplitInternalEdgeWithBorderVertices()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1719:7: note: in expansion of macro 'assert' assert (tcvi && tcvi->det >= 0) ;// internal ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1719:7: note: in expansion of macro 'assert' assert (tcvi && tcvi->det >= 0) ;// internal ^~~~~~ Mesh2.cpp: In member function 'Int4 Triangles::InsertNewPoints(Int4, Int4&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1778:2: note: in expansion of macro 'assert' assert( &vj== ordre[j]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1778:2: note: in expansion of macro 'assert' assert( &vj== ordre[j]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1809:2: note: in expansion of macro 'assert' assert (tcvj && tcvj->det >= 0) ;// internal ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1809:2: note: in expansion of macro 'assert' assert (tcvj && tcvj->det >= 0) ;// internal ^~~~~~ Mesh2.cpp: In member function 'void Triangles::NewPoints(Triangles&, int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1947:7: note: in expansion of macro 'assert' assert(i>=0 && i < nbt ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:1947:7: note: in expansion of macro 'assert' assert(i>=0 && i < nbt ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2004:3: note: in expansion of macro 'assert' assert( ta.EdgeVertex(0) == s); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2004:3: note: in expansion of macro 'assert' assert( ta.EdgeVertex(0) == s); ^~~~~~ Mesh2.cpp: In member function 'void Triangles::NewPointsOld(Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2084:7: note: in expansion of macro 'assert' assert(i>=0 && i < nbt ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2084:7: note: in expansion of macro 'assert' assert(i>=0 && i < nbt ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2136:6: note: in expansion of macro 'assert' assert ((*t)(VerticesOfTriangularEdge[j][0]) == (*ta)(VerticesOfTriangularEdge[kk][1])); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2136:6: note: in expansion of macro 'assert' assert ((*t)(VerticesOfTriangularEdge[j][0]) == (*ta)(VerticesOfTriangularEdge[kk][1])); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2137:6: note: in expansion of macro 'assert' assert ((*t)(VerticesOfTriangularEdge[j][1]) == (*ta)(VerticesOfTriangularEdge[kk][0])); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2137:6: note: in expansion of macro 'assert' assert ((*t)(VerticesOfTriangularEdge[j][1]) == (*ta)(VerticesOfTriangularEdge[kk][0])); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2278:8: note: in expansion of macro 'assert' assert(i1 < nbv && i1 >= 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2278:8: note: in expansion of macro 'assert' assert(i1 < nbv && i1 >= 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2279:8: note: in expansion of macro 'assert' assert(i0 < nbv && i0 >= 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2279:8: note: in expansion of macro 'assert' assert(i0 < nbv && i0 >= 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2280:8: note: in expansion of macro 'assert' assert(i1 != i0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2280:8: note: in expansion of macro 'assert' assert(i1 != i0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2294:8: note: in expansion of macro 'assert' assert (i0 >= nbvold); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2294:8: note: in expansion of macro 'assert' assert (i0 >= nbvold); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2295:8: note: in expansion of macro 'assert' assert (i1 >= nbvold); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2295:8: note: in expansion of macro 'assert' assert (i1 >= nbvold); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2296:8: note: in expansion of macro 'assert' assert(i0 != i1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2296:8: note: in expansion of macro 'assert' assert(i0 != i1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2405:7: note: in expansion of macro 'assert' assert (tcvi->det >= 0) ;// internal ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2405:7: note: in expansion of macro 'assert' assert (tcvi->det >= 0) ;// internal ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2432:3: note: in expansion of macro 'assert' assert( ta.EdgeVertex(0) == s); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2432:3: note: in expansion of macro 'assert' assert( ta.EdgeVertex(0) == s); ^~~~~~ Mesh2.cpp: In member function 'void Triangles::FindSubDomain(int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2771:7: note: in expansion of macro 'assert' assert(k== NbSubDomains); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2771:7: note: in expansion of macro 'assert' assert(k== NbSubDomains); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2851:9: note: in expansion of macro 'assert' assert(&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2851:9: note: in expansion of macro 'assert' assert(&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2864:9: note: in expansion of macro 'assert' assert(t && sens); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2864:9: note: in expansion of macro 'assert' assert(t && sens); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2868:10: note: in expansion of macro 'assert' assert( v0 == ta.EdgeVertex(1) ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2868:10: note: in expansion of macro 'assert' assert( v0 == ta.EdgeVertex(1) ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2895:7: note: in expansion of macro 'assert' assert(mark[Number(tt)]<0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:2895:7: note: in expansion of macro 'assert' assert(mark[Number(tt)]<0); ^~~~~~ Mesh2.cpp: In member function 'void Triangles::ReNumberingTheTriangleBySubDomain()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3028:6: note: in expansion of macro 'assert' assert(t0); // no empty sub domain ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3028:6: note: in expansion of macro 'assert' assert(t0); // no empty sub domain ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3031:8: note: in expansion of macro 'assert' assert(kt>=0 && kt < nbt ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3031:8: note: in expansion of macro 'assert' assert(kt>=0 && kt < nbt ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3032:8: note: in expansion of macro 'assert' assert(renu[kt]==-1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3032:8: note: in expansion of macro 'assert' assert(renu[kt]==-1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3045:5: note: in expansion of macro 'assert' assert(k == nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3045:5: note: in expansion of macro 'assert' assert(k == nbt); ^~~~~~ Mesh2.cpp: In member function 'Int4 Triangles::ConsRefTriangle(Int4*) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3080:3: note: in expansion of macro 'assert' assert(reft); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3080:3: note: in expansion of macro 'assert' assert(reft); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3088:6: note: in expansion of macro 'assert' assert(t0); // no empty sub domain ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3088:6: note: in expansion of macro 'assert' assert(t0); // no empty sub domain ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3092:8: note: in expansion of macro 'assert' assert(num>=0 &&num < nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3092:8: note: in expansion of macro 'assert' assert(num>=0 &&num < nbt); ^~~~~~ Mesh2.cpp: In member function 'void Triangles::PreInit(Int4, char*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3195:5: note: in expansion of macro 'assert' assert(vertices); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3195:5: note: in expansion of macro 'assert' assert(vertices); ^~~~~~ Mesh2.cpp:3196:30: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ In file included from Mesh2.cpp:24: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3197:5: note: in expansion of macro 'assert' assert(ordre); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3197:5: note: in expansion of macro 'assert' assert(ordre); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3199:5: note: in expansion of macro 'assert' assert(triangles);} ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3199:5: note: in expansion of macro 'assert' assert(triangles);} ^~~~~~ Mesh2.cpp: In member function 'void Triangles::GeomToTriangles1(Int4, int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3272:3: note: in expansion of macro 'assert' assert(&BTh.Gh == &Gh); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3272:3: note: in expansion of macro 'assert' assert(&BTh.Gh == &Gh); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3308:3: note: in expansion of macro 'assert' assert(vertices); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3308:3: note: in expansion of macro 'assert' assert(vertices); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3325:3: note: in expansion of macro 'assert' assert(gv->to);// use of Geom -> Th ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3325:3: note: in expansion of macro 'assert' assert(gv->to);// use of Geom -> Th ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3330:3: note: in expansion of macro 'assert' assert(NbVertexOnBThVertex == NbVerticesOnGeomVertex); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3330:3: note: in expansion of macro 'assert' assert(NbVertexOnBThVertex == NbVerticesOnGeomVertex); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3375:19: note: in expansion of macro 'assert' assert (A0-vertices>=0 && A0-vertices =0 && A0-vertices = L0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3393:6: note: in expansion of macro 'assert' assert (sNew >= L0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3394:6: note: in expansion of macro 'assert' assert(LAB); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3394:6: note: in expansion of macro 'assert' assert(LAB); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3397:6: note: in expansion of macro 'assert' assert(vertices && nbv=0 && se < 1.000000001); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3405:6: note: in expansion of macro 'assert' assert(se>=0 && se < 1.000000001); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3411:6: note: in expansion of macro 'assert' assert(se>=0 && se <= 1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3411:6: note: in expansion of macro 'assert' assert(se>=0 && se <= 1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3458:9: note: in expansion of macro 'assert' assert(ee.on->CurveNumber==ei.on->CurveNumber); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3458:9: note: in expansion of macro 'assert' assert(ee.on->CurveNumber==ei.on->CurveNumber); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3463:4: note: in expansion of macro 'assert' assert (A1-vertices>=0 && A1-vertices =0 && A1-vertices 0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:3954:5: note: in expansion of macro 'assert' assert(coefIcoor >0); ^~~~~~ Mesh2.cpp: In member function 'void Triangles::FillHoleInMesh()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4018:5: note: in expansion of macro 'assert' assert(ordre); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4018:5: note: in expansion of macro 'assert' assert(ordre); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4048:6: note: in expansion of macro 'assert' assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4048:6: note: in expansion of macro 'assert' assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4239:10: note: in expansion of macro 'assert' assert(st[k] >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4239:10: note: in expansion of macro 'assert' assert(st[k] >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4260:6: note: in expansion of macro 'assert' assert(savenbt+NbTfillHoll <= savenbtx ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4260:6: note: in expansion of macro 'assert' assert(savenbt+NbTfillHoll <= savenbtx ); ^~~~~~ Mesh2.cpp: In member function 'Int4 Triangle::Optim(Int2, int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4473:4: note: in expansion of macro 'assert' assert(tp->at[jp] == this); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4473:4: note: in expansion of macro 'assert' assert(tp->at[jp] == this); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4477:5: note: in expansion of macro 'assert' assert(k++<20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4477:5: note: in expansion of macro 'assert' assert(k++<20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4478:5: note: in expansion of macro 'assert' assert( s == & (*t)[OppositeVertex[j]] ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4478:5: note: in expansion of macro 'assert' assert( s == & (*t)[OppositeVertex[j]] ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4484:2: note: in expansion of macro 'assert' assert(k++<20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4484:2: note: in expansion of macro 'assert' assert(k++<20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4489:2: note: in expansion of macro 'assert' assert( s == & (*t)[OppositeVertex[j]] ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4489:2: note: in expansion of macro 'assert' assert( s == & (*t)[OppositeVertex[j]] ); ^~~~~~ Mesh2.cpp: In member function 'int Triangles::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4623:5: note: in expansion of macro 'assert' assert(NbCrackedEdges ==0 || NbCrackedVertices >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4623:5: note: in expansion of macro 'assert' assert(NbCrackedEdges ==0 || NbCrackedVertices >0); ^~~~~~ Mesh2.cpp: In member function 'int Triangles::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4631:3: note: in expansion of macro 'assert' assert(NbCrackedEdges ==0 || NbCrackedVertices >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4631:3: note: in expansion of macro 'assert' assert(NbCrackedEdges ==0 || NbCrackedVertices >0); ^~~~~~ Mesh2.cpp: In member function 'int Triangles::CrackMesh()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4684:7: note: in expansion of macro 'assert' assert(tbegin && (i >= 0 ) && (i <3)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4684:7: note: in expansion of macro 'assert' assert(tbegin && (i >= 0 ) && (i <3)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4695:6: note: in expansion of macro 'assert' assert(tta.Cracked()); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4695:6: note: in expansion of macro 'assert' assert(tta.Cracked()); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4702:4: note: in expansion of macro 'assert' assert(it < nt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4702:4: note: in expansion of macro 'assert' assert(it < nt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4713:7: note: in expansion of macro 'assert' assert(k); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.cpp:4713:7: note: in expansion of macro 'assert' assert(k); ^~~~~~ mv Mesh2.o Mesh2_g.o g++ -g -DLONGLONG -g -I/usr/include/X11R6 -DDRAWING -DDEBUG -c MeshRead.cpp In file included from MeshRead.cpp:7: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ MeshRead.cpp: In member function 'void Triangles::Read(MeshIstream&, int, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:47:12: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:47:12: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:82:12: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:82:12: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:88:5: note: in expansion of macro 'assert' assert(vertices); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:88:5: note: in expansion of macro 'assert' assert(vertices); ^~~~~~ MeshRead.cpp:89:30: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ In file included from MeshRead.cpp:7: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:90:5: note: in expansion of macro 'assert' assert(ordre); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:90:5: note: in expansion of macro 'assert' assert(ordre); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:103:5: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:103:5: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:175:9: note: in expansion of macro 'assert' assert(VerticesOnGeomVertex); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:175:9: note: in expansion of macro 'assert' assert(VerticesOnGeomVertex); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:193:9: note: in expansion of macro 'assert' assert(VerticesOnGeomEdge); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:193:9: note: in expansion of macro 'assert' assert(VerticesOnGeomEdge); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:211:11: note: in expansion of macro 'assert' assert(edges); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:211:11: note: in expansion of macro 'assert' assert(edges); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:223:8: note: in expansion of macro 'assert' assert(i1 >0 && i2 >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:223:8: note: in expansion of macro 'assert' assert(i1 >0 && i2 >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:224:8: note: in expansion of macro 'assert' assert(i1 <= nbv && i2 <= nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:224:8: note: in expansion of macro 'assert' assert(i1 <= nbv && i2 <= nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:266:7: note: in expansion of macro 'assert' assert( v == edges[i0 ].v[j0]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:266:7: note: in expansion of macro 'assert' assert( v == edges[i0 ].v[j0]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:269:7: note: in expansion of macro 'assert' assert(edges[i0].v[j0] == v); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:269:7: note: in expansion of macro 'assert' assert(edges[i0].v[j0] == v); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:278:4: note: in expansion of macro 'assert' assert(edges); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:278:4: note: in expansion of macro 'assert' assert(edges); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:308:3: note: in expansion of macro 'assert' assert (i3==3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:308:3: note: in expansion of macro 'assert' assert (i3==3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:310:3: note: in expansion of macro 'assert' assert(head < nbt && head >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:310:3: note: in expansion of macro 'assert' assert(head < nbt && head >=0); ^~~~~~ MeshRead.cpp: In member function 'void Triangles::Read_am_fmt(MeshIstream&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:352:6: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:352:6: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ MeshRead.cpp:354:31: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Triangles::Read_am(MeshIstream&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:391:3: note: in expansion of macro 'assert' assert(l==2*sizeof(Int4)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:391:3: note: in expansion of macro 'assert' assert(l==2*sizeof(Int4)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:394:3: note: in expansion of macro 'assert' assert(l==nbt*sizeof(long)*4 + nbv*(2*sizeof(float)+sizeof(long))); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:394:3: note: in expansion of macro 'assert' assert(l==nbt*sizeof(long)*4 + nbv*(2*sizeof(float)+sizeof(long))); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:401:3: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:401:3: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ MeshRead.cpp:403:28: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Triangles::Read_nopo(MeshIstream&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:444:2: note: in expansion of macro 'assert' assert(i==32); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:444:2: note: in expansion of macro 'assert' assert(i==32); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:473:2: note: in expansion of macro 'assert' assert(l == 27); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:473:2: note: in expansion of macro 'assert' assert(l == 27); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:500:3: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:500:3: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ MeshRead.cpp:502:28: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ In file included from MeshRead.cpp:7: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:510:3: note: in expansion of macro 'assert' assert(l==2*np); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:510:3: note: in expansion of macro 'assert' assert(l==2*np); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:625:2: note: in expansion of macro 'assert' assert(k==nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:625:2: note: in expansion of macro 'assert' assert(k==nbt); ^~~~~~ MeshRead.cpp: In member function 'void Triangles::Read_ftq(MeshIstream&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:664:3: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:664:3: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ MeshRead.cpp:666:28: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ In file included from MeshRead.cpp:7: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:697:3: note: in expansion of macro 'assert' assert(k==nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:697:3: note: in expansion of macro 'assert' assert(k==nbt); ^~~~~~ MeshRead.cpp: In member function 'void Triangles::Read_msh(MeshIstream&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:724:6: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:724:6: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ MeshRead.cpp:726:31: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Triangles::Read_amdba(MeshIstream&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:760:6: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:760:6: note: in expansion of macro 'assert' assert(triangles); ^~~~~~ MeshRead.cpp:762:31: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] ordre=new (Vertex* [nbvx]); ^ In file included from MeshRead.cpp:7: Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:767:4: note: in expansion of macro 'assert' assert( j >0 && j <= nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:767:4: note: in expansion of macro 'assert' assert( j >0 && j <= nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:778:5: note: in expansion of macro 'assert' assert( j >0 && j <= nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:778:5: note: in expansion of macro 'assert' assert( j >0 && j <= nbt); ^~~~~~ MeshRead.cpp: In constructor 'Triangles::Triangles(char*, Real8)': MeshRead.cpp:817:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (f_in.IsString("MeshVersionFormatted")) ^ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Geometry::ReadGeometry(MeshIstream&, char*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:860:3: note: in expansion of macro 'assert' assert(empty()); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:860:3: note: in expansion of macro 'assert' assert(empty()); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:896:11: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:896:11: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:944:11: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:944:11: note: in expansion of macro 'assert' assert(dim ==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:952:11: note: in expansion of macro 'assert' assert(nbvx >= nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:952:11: note: in expansion of macro 'assert' assert(nbvx >= nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:980:6: note: in expansion of macro 'assert' assert(coefIcoor >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:980:6: note: in expansion of macro 'assert' assert(coefIcoor >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1006:8: note: in expansion of macro 'assert' assert(edges); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1006:8: note: in expansion of macro 'assert' assert(edges); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1007:8: note: in expansion of macro 'assert' assert (nbv >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1007:8: note: in expansion of macro 'assert' assert (nbv >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1069:8: note: in expansion of macro 'assert' assert( i <= nbe ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1069:8: note: in expansion of macro 'assert' assert( i <= nbe ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1070:8: note: in expansion of macro 'assert' assert( i > 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1070:8: note: in expansion of macro 'assert' assert( i > 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1071:8: note: in expansion of macro 'assert' assert ( j == 1 || j==2 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1071:8: note: in expansion of macro 'assert' assert ( j == 1 || j==2 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1085:13: note: in expansion of macro 'assert' assert( j <= nbv ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1085:13: note: in expansion of macro 'assert' assert( j <= nbv ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1086:13: note: in expansion of macro 'assert' assert( j > 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1086:13: note: in expansion of macro 'assert' assert( j > 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1098:13: note: in expansion of macro 'assert' assert( j <= nbv ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1098:13: note: in expansion of macro 'assert' assert( j <= nbv ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1099:13: note: in expansion of macro 'assert' assert( j > 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1099:13: note: in expansion of macro 'assert' assert( j > 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1115:3: note: in expansion of macro 'assert' assert(i0 == 2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1115:3: note: in expansion of macro 'assert' assert(i0 == 2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1116:3: note: in expansion of macro 'assert' assert(i1<=nbe && i1>0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshRead.cpp:1116:3: note: in expansion of macro 'assert' assert(i1<=nbe && i1>0); ^~~~~~ mv MeshRead.o MeshRead_g.o g++ -g -DLONGLONG -g -I/usr/include/X11R6 -DDRAWING -DDEBUG -c MeshWrite.cpp In file included from MeshWrite.cpp:6: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_am_fmt(std::ostream&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:338:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:338:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_am(std::ostream&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:369:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:369:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_ftq(std::ostream&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:400:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:400:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:434:3: note: in expansion of macro 'assert' assert(k == nele); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:434:3: note: in expansion of macro 'assert' assert(k == nele); ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_msh(std::ostream&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:446:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:446:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_amdba(std::ostream&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:474:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:474:3: note: in expansion of macro 'assert' assert(this && nbt); ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::WriteElements(std::ostream&, Int4*, Int4) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:556:8: note: in expansion of macro 'assert' assert(k==0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:556:8: note: in expansion of macro 'assert' assert(k==0); ^~~~~~ MeshWrite.cpp: In function 'std::ostream& operator<<(std::ostream&, const Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:636:3: note: in expansion of macro 'assert' assert(v.OnGeomVertex()) ; ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:636:3: note: in expansion of macro 'assert' assert(v.OnGeomVertex()) ; ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:647:3: note: in expansion of macro 'assert' assert(v.OnGeomEdge()) ; ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:647:3: note: in expansion of macro 'assert' assert(v.OnGeomEdge()) ; ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:731:8: note: in expansion of macro 'assert' assert(!k); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshWrite.cpp:731:8: note: in expansion of macro 'assert' assert(!k); ^~~~~~ mv MeshWrite.o MeshWrite_g.o g++ -g -DLONGLONG -g -I/usr/include/X11R6 -DDRAWING -DDEBUG -c MeshDraw.cpp In file included from MeshDraw.cpp:24: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ MeshDraw.cpp: In member function 'void Edge::Draw(Int4) const': MeshDraw.cpp:76:30: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'const Edge*' [-Wformat=] sprintf(VertexDraw_i10,"%lx",this); ^~~~~ MeshDraw.cpp: In member function 'void Vertex::Draw(Int4) const': MeshDraw.cpp:94:29: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'const Vertex*' [-Wformat=] sprintf(VertexDraw_i10,"%lx",this); ^~~~~ MeshDraw.cpp: In member function 'void Triangle::Draw(Int4) const': MeshDraw.cpp:126:26: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'const Triangle*' [-Wformat=] if (i<0) sprintf(i10,"%lx",this); ^~~~~ In file included from MeshDraw.cpp:24: MeshDraw.cpp: In member function 'int Triangle::swapDRAW(Int2)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshDraw.cpp:522:3: note: in expansion of macro 'assert' assert ( a >= 0 && a < 3 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshDraw.cpp:522:3: note: in expansion of macro 'assert' assert ( a >= 0 && a < 3 ); ^~~~~~ MeshDraw.cpp: In member function 'void GeometricalEdge::Draw(Int4)': MeshDraw.cpp:719:27: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'GeometricalEdge*' [-Wformat=] sprintf(VertexDraw_i10,"Eg%lx",this); ^~~~~~~ MeshDraw.cpp: In member function 'void Geometry::Draw() const': MeshDraw.cpp:765:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Int4' {aka 'long int'} [-Wformat=] sprintf(i10,"%d:%d",i,vertices[i].Required()); ^~~~~~~ ~ mv MeshDraw.o MeshDraw_g.o g++ -g -DLONGLONG -g -I/usr/include/X11R6 -DDRAWING -DDEBUG -c MeshGeom.cpp In file included from MeshGeom.cpp:27: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ MeshGeom.cpp: In member function 'void Triangles::ConsGeometry(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:80:4: note: in expansion of macro 'assert' assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:80:4: note: in expansion of macro 'assert' assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:185:7: note: in expansion of macro 'assert' assert(k==nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:185:7: note: in expansion of macro 'assert' assert(k==nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:208:6: note: in expansion of macro 'assert' assert( v == edges[i0 ].v[j0]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:208:6: note: in expansion of macro 'assert' assert( v == edges[i0 ].v[j0]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:211:6: note: in expansion of macro 'assert' assert(edges[i0].v[j0] == v); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:211:6: note: in expansion of macro 'assert' assert(edges[i0].v[j0] == v); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:217:5: note: in expansion of macro 'assert' assert(!NbSubDomains); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:217:5: note: in expansion of macro 'assert' assert(!NbSubDomains); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:281:5: note: in expansion of macro 'assert' assert(k== NbSubDomains); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:281:5: note: in expansion of macro 'assert' assert(k== NbSubDomains); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:347:3: note: in expansion of macro 'assert' assert(Gh.coefIcoor >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:347:3: note: in expansion of macro 'assert' assert(Gh.coefIcoor >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:378:7: note: in expansion of macro 'assert' assert(k == i); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:378:7: note: in expansion of macro 'assert' assert(k == i); ^~~~~~ MeshGeom.cpp: In copy constructor 'Geometry::Geometry(const Geometry&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:461:4: note: in expansion of macro 'assert' assert(!nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:461:4: note: in expansion of macro 'assert' assert(!nbt); ^~~~~~ MeshGeom.cpp: In member function 'GeometricalEdge* Geometry::Contening(R2, GeometricalEdge*) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:474:8: note: in expansion of macro 'assert' assert(k++<100); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:474:8: note: in expansion of macro 'assert' assert(k++<100); ^~~~~~ MeshGeom.cpp: In member function 'GeometricalEdge* Geometry::ProjectOnCurve(const Edge&, Real8, Vertex&, VertexOnGeom&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:497:5: note: in expansion of macro 'assert' assert(on); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:497:5: note: in expansion of macro 'assert' assert(on); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:498:5: note: in expansion of macro 'assert' assert( e[0].on && e[1].on); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:498:5: note: in expansion of macro 'assert' assert( e[0].on && e[1].on); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:570:2: note: in expansion of macro 'assert' assert(bge>=0 && bge <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:570:2: note: in expansion of macro 'assert' assert(bge>=0 && bge <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:599:2: note: in expansion of macro 'assert' assert(tge>=0 && tge <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:599:2: note: in expansion of macro 'assert' assert(tge>=0 && tge <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:634:5: note: in expansion of macro 'assert' assert( i>=0 && i <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:634:5: note: in expansion of macro 'assert' assert( i>=0 && i <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:644:7: note: in expansion of macro 'assert' assert(s <= 1.0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:644:7: note: in expansion of macro 'assert' assert(s <= 1.0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:652:2: note: in expansion of macro 'assert' assert(i >= 0 && i <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:652:2: note: in expansion of macro 'assert' assert(i >= 0 && i <= mxe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:663:5: note: in expansion of macro 'assert' assert(on); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:663:5: note: in expansion of macro 'assert' assert(on); ^~~~~~ MeshGeom.cpp: In member function 'void Geometry::AfterRead()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:699:11: note: in expansion of macro 'assert' assert( v == & (Vertex &) vertices[j]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:699:11: note: in expansion of macro 'assert' assert( v == & (Vertex &) vertices[j]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:944:5: note: in expansion of macro 'assert' assert(nbgem && nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:944:5: note: in expansion of macro 'assert' assert(nbgem && nbe); ^~~~~~ MeshGeom.cpp: In destructor 'Geometry::~Geometry()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:952:3: note: in expansion of macro 'assert' assert(NbRef<=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:952:3: note: in expansion of macro 'assert' assert(NbRef<=0); ^~~~~~ MeshGeom.cpp: In member function 'Real8 GeometricalEdge::R1tg(Real4, R2&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:974:2: note: in expansion of macro 'assert' assert( theta >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:974:2: note: in expansion of macro 'assert' assert( theta >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:975:2: note: in expansion of macro 'assert' assert( theta <=1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:975:2: note: in expansion of macro 'assert' assert( theta <=1); ^~~~~~ MeshGeom.cpp: In member function 'R2 GeometricalEdge::F(Real4) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:1040:2: note: in expansion of macro 'assert' assert( theta >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:1040:2: note: in expansion of macro 'assert' assert( theta >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:1041:2: note: in expansion of macro 'assert' assert( theta <=1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshGeom.cpp:1041:2: note: in expansion of macro 'assert' assert( theta <=1); ^~~~~~ mv MeshGeom.o MeshGeom_g.o g++ -g -DLONGLONG -g -I/usr/include/X11R6 -DDRAWING -DDEBUG -c MeshQuad.cpp In file included from MeshQuad.cpp:25: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ MeshQuad.cpp: In member function 'GeometricalEdge* Triangles::ProjectOnCurve(Edge&, Vertex&, Vertex&, Real8, Vertex&, VertexOnEdge&, VertexOnGeom&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:148:2: note: in expansion of macro 'assert' assert( pA && pB && e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:148:2: note: in expansion of macro 'assert' assert( pA && pB && e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:151:2: note: in expansion of macro 'assert' assert(e>=BTh.edges && e=BTh.edges && ebe)[0].on->IsRequiredVertex()); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:164:2: note: in expansion of macro 'assert' assert(! (*vA.onbe->be)[0].on->IsRequiredVertex()); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:166:8: note: in expansion of macro 'assert' assert(!(*vA.onbe->be)[1].on->IsRequiredVertex()); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:166:8: note: in expansion of macro 'assert' assert(!(*vA.onbe->be)[1].on->IsRequiredVertex()); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:187:3: note: in expansion of macro 'assert' assert(0 /* A FAIRE */); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:187:3: note: in expansion of macro 'assert' assert(0 /* A FAIRE */); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:219:3: note: in expansion of macro 'assert' assert(kkk++<100); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:219:3: note: in expansion of macro 'assert' assert(kkk++<100); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:220:3: note: in expansion of macro 'assert' assert(eee); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:220:3: note: in expansion of macro 'assert' assert(eee); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:228:7: note: in expansion of macro 'assert' assert(thetab>=0 && thetab<=1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:228:7: note: in expansion of macro 'assert' assert(thetab>=0 && thetab<=1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:245:5: note: in expansion of macro 'assert' assert(eee); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:245:5: note: in expansion of macro 'assert' assert(eee); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:254:9: note: in expansion of macro 'assert' assert(thetab>=0 && thetab<=1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:254:9: note: in expansion of macro 'assert' assert(thetab>=0 && thetab<=1); ^~~~~~ MeshQuad.cpp: In member function 'int Triangles::SplitElement(int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:440:8: note: in expansion of macro 'assert' assert(edgesGtoB); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:440:8: note: in expansion of macro 'assert' assert(edgesGtoB); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:498:3: note: in expansion of macro 'assert' assert(kvb == newNbVertexOnBThEdge); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:498:3: note: in expansion of macro 'assert' assert(kvb == newNbVertexOnBThEdge); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:503:8: note: in expansion of macro 'assert' assert( &newedges[i][0] >= v0 && &newedges[i][0] < v1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:503:8: note: in expansion of macro 'assert' assert( &newedges[i][0] >= v0 && &newedges[i][0] < v1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:504:8: note: in expansion of macro 'assert' assert( &newedges[i][1] >= v0 && &newedges[i][1] < v1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:504:8: note: in expansion of macro 'assert' assert( &newedges[i][1] >= v0 && &newedges[i][1] < v1); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:531:6: note: in expansion of macro 'assert' assert(t.link); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:531:6: note: in expansion of macro 'assert' assert(t.link); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:640:7: note: in expansion of macro 'assert' assert (nbinvisible<2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:640:7: note: in expansion of macro 'assert' assert (nbinvisible<2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:651:5: note: in expansion of macro 'assert' assert(ksplit[i]>=40); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:651:5: note: in expansion of macro 'assert' assert(ksplit[i]>=40); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:674:7: note: in expansion of macro 'assert' assert(kk<7 && kk >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:674:7: note: in expansion of macro 'assert' assert(kk<7 && kk >0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:690:8: note: in expansion of macro 'assert' assert(nbmkadj< 10); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:690:8: note: in expansion of macro 'assert' assert(nbmkadj< 10); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:706:5: note: in expansion of macro 'assert' assert (kedge[3*i+i0]>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:706:5: note: in expansion of macro 'assert' assert (kedge[3*i+i0]>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:720:13: note: in expansion of macro 'assert' assert (kedge[3*i+k1]>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:720:13: note: in expansion of macro 'assert' assert (kedge[3*i+k1]>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:721:13: note: in expansion of macro 'assert' assert (kedge[3*i+k2]>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:721:13: note: in expansion of macro 'assert' assert (kedge[3*i+k2]>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:743:5: note: in expansion of macro 'assert' assert(kedge[3*i+k0] >=0 && kedge[3*i+k1] >=0 && kedge[3*i+k2] >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:743:5: note: in expansion of macro 'assert' assert(kedge[3*i+k0] >=0 && kedge[3*i+k1] >=0 && kedge[3*i+k2] >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:824:8: note: in expansion of macro 'assert' assert(nbmkadj<=13);// 13 = 6 + 4 + 3 ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ MeshQuad.cpp:824:8: note: in expansion of macro 'assert' assert(nbmkadj<=13);// 13 = 6 + 4 + 3 ^~~~~~ MeshQuad.cpp:859:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SetIntCoor("In SplitElement"); ^ mv MeshQuad.o MeshQuad_g.o g++ -g -DLONGLONG -g -I/usr/include/X11R6 -DDRAWING -DDEBUG -c QuadTree.cpp In file included from QuadTree.cpp:22: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ QuadTree.cpp: In member function 'void QuadTree::Draw()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:65:5: note: in expansion of macro 'assert' assert(ii[l] <= i2.x); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:65:5: note: in expansion of macro 'assert' assert(ii[l] <= i2.x); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:66:5: note: in expansion of macro 'assert' assert(jj[l] <= i2.y); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:66:5: note: in expansion of macro 'assert' assert(jj[l] <= i2.y); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:67:5: note: in expansion of macro 'assert' assert(ii[l] +hb > i2.x); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:67:5: note: in expansion of macro 'assert' assert(ii[l] +hb > i2.x); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:68:5: note: in expansion of macro 'assert' assert(jj[l] +hb > i2.y); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:68:5: note: in expansion of macro 'assert' assert(jj[l] +hb > i2.y); ^~~~~~ QuadTree.cpp: In member function 'void QuadTree::Add(Vertex&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:325:3: note: in expansion of macro 'assert' assert(l); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:325:3: note: in expansion of macro 'assert' assert(l); ^~~~~~ QuadTree.cpp: In constructor 'QuadTree::QuadTree(Triangles*, long int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:366:3: note: in expansion of macro 'assert' assert( MaxISize > MaxICoor); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:366:3: note: in expansion of macro 'assert' assert( MaxISize > MaxICoor); ^~~~~~ QuadTree.cpp: In constructor 'QuadTree::StorageQuadTreeBox::StorageQuadTreeBox(long int, QuadTree::StorageQuadTreeBox*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:394:3: note: in expansion of macro 'assert' assert(b); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.cpp:394:3: note: in expansion of macro 'assert' assert(b); ^~~~~~ mv QuadTree.o QuadTree_g.o g++ -g -DLONGLONG -g -I/usr/include/X11R6 -DDRAWING -DDEBUG -c Xrgraph.cpp mv Xrgraph.o Xrgraph_g.o g++ -g -DLONGLONG -g -I/usr/include/X11R6 -DDRAWING -DDEBUG -c Meshio.cpp Meshio.cpp: In function 'double* ReadBBFile(const char*, long int&, long int&, int*&, int, int)': Meshio.cpp:73:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char * charoftype[] = { "Scalar" , "dim Vector" ,"dim x dim Sym-Matric","dim x dim Full-Matric" } ; ^ Meshio.cpp:73:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Meshio.cpp:73:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Meshio.cpp:73:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] mv Meshio.o Meshio_g.o g++ -g -DLONGLONG -g -I/usr/include/X11R6 -DDRAWING -DDEBUG -c Metric.cpp In file included from Metric.cpp:18: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ Metric.cpp: In function 'void ReductionSimultanee(MetricAnIso, MetricAnIso, double&, double&, D2xD2&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:85:7: note: in expansion of macro 'assert' assert(Abs(vp1y)+Abs(vp2y)>0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:85:7: note: in expansion of macro 'assert' assert(Abs(vp1y)+Abs(vp2y)>0); ^~~~~~ Metric.cpp: In member function 'void Triangles::IntersectGeomMetric(Real8, int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:213:3: note: in expansion of macro 'assert' assert(hmax>0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:213:3: note: in expansion of macro 'assert' assert(hmax>0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:240:4: note: in expansion of macro 'assert' assert(ht>0 && hn>0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:240:4: note: in expansion of macro 'assert' assert(ht>0 && hn>0); ^~~~~~ Metric.cpp: In member function 'void Triangles::IntersectConsMetric(const double*, Int4, const int*, Real8, Real8, Real8, Real8, Real8, int, int, double, int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:575:3: note: in expansion of macro 'assert' assert(det33); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:575:3: note: in expansion of macro 'assert' assert(det33); ^~~~~~ Metric.cpp: In member function 'void Triangles::SmoothMetric(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:963:2: note: in expansion of macro 'assert' assert(t); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:963:2: note: in expansion of macro 'assert' assert(t); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:972:4: note: in expansion of macro 'assert' assert(vertices+i == ta.EdgeVertex(1)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:972:4: note: in expansion of macro 'assert' assert(vertices+i == ta.EdgeVertex(1)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:976:6: note: in expansion of macro 'assert' assert(j>=0 && j < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:976:6: note: in expansion of macro 'assert' assert(j>=0 && j < nbv); ^~~~~~ Metric.cpp: In function 'Real8 LengthInterpole(MetricAnIso, MetricAnIso, R2)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:1122:3: note: in expansion of macro 'assert' assert(i<512); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:1122:3: note: in expansion of macro 'assert' assert(i<512); ^~~~~~ Metric.cpp: In function 'Real8 abscisseInterpole(MetricAnIso, MetricAnIso, R2, Real8, int)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:1159:3: note: in expansion of macro 'assert' assert(r<=1 && r>=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Metric.cpp:1159:3: note: in expansion of macro 'assert' assert(r<=1 && r>=0); ^~~~~~ mv Metric.o Metric_g.o g++ -g -DLONGLONG -g -I/usr/include/X11R6 -DDRAWING -DDEBUG -c SetOfE4.cpp mv SetOfE4.o SetOfE4_g.o g++ -g -DLONGLONG -g -I/usr/include/X11R6 -DDRAWING -DDEBUG -c CheckPtr.cpp CheckPtr.cpp: In function 'void myfree(char*, size_t)': CheckPtr.cpp:44:9: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'char*' [-Wformat=] printf("@@@@@@@@@@@@@@@@@ Erreur myfree p= %lx l=%d\n",p,l); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ CheckPtr.cpp: In member function 'void* AllocExtern::MyNewOperator(size_t)': CheckPtr.cpp:141:13: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] printf("\t\tCheckPtrMem Full Exit(10) New Alloc %ld %lx when %ld\n ", ll, a->p, a->n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ CheckPtr.cpp:141:13: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'void*' [-Wformat=] CheckPtr.cpp:143:14: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] printf (" Memory undelete %ld \n" , AllocSize); ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ CheckPtr.cpp: In member function 'void AllocExtern::MyDeleteOperator(void*)': CheckPtr.cpp:177:13: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'void*' [-Wformat=] printf( "\t\tCheckPtr: delete of bad pointer %lx -----------\n",pp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ CheckPtr.cpp: In destructor 'AllocExtern::~AllocExtern()': CheckPtr.cpp:195:12: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'void*' [-Wformat=] printf ("\t\tCheckPtr:Undelete pointer %d %lx size %ld when %ld\n",i, p->a[i].p,p->a[i].l,p->a[i].n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ CheckPtr.cpp:195:12: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] CheckPtr.cpp:203:14: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] printf (" Memory undelete %ld \n" , AllocSize); ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ CheckPtr.cpp: In member function 'void AllocExtern::ShowAlloc(char*)': CheckPtr.cpp:236:12: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'void*' [-Wformat=] printf ("C\t\theckPtr:-----%s------ %d Undelete pointer %lx size %ld when %ld\n",s,i, p->a[i].p,p->a[i].l,p->a[i].n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ CheckPtr.cpp:236:12: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] mv CheckPtr.o CheckPtr_g.o g++ -g -DLONGLONG -g -I/usr/include/X11R6 -DDRAWING -DDEBUG -c drawbdmesh.cpp In file included from drawbdmesh.cpp:23: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ drawbdmesh.cpp: In function 'int main(int, char**)': drawbdmesh.cpp:58:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char * fmeshback= "1.mesh"; ^~~~~~~~ mv drawbdmesh.o drawbdmesh_g.o g++ -g -DLONGLONG -g -o drawbdmesh drawbdmesh_g.o Mesh2_g.o MeshRead_g.o MeshWrite_g.o MeshDraw_g.o MeshGeom_g.o MeshQuad_g.o QuadTree_g.o Xrgraph_g.o Meshio_g.o Metric_g.o SetOfE4_g.o CheckPtr_g.o -L/usr/lib/X11R6 -L/usr/X11R6/lib -lX11 g++ -g -DLONGLONG -g -I/usr/include/X11R6 -DDRAWING -DDEBUG -c bamg.cpp In file included from bamg.cpp:25: Mesh2.h: In member function 'int Edge::Intersection(const Edge&) const': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:263:5: note: in expansion of macro 'assert' assert(adj[0]==&e || adj[1]==&e); ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:285:31: note: in expansion of macro 'assert' GeometricalVertex * The() { assert(link); return link;}// return a unique vertices ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:498:4: note: in expansion of macro 'assert' assert(lBegin<= s && s <=lEnd); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:535:12: note: in expansion of macro 'assert' assert(lSegsI && NbSeg < MaxNbSeg); ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:555:5: note: in expansion of macro 'assert' assert(nw); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:668:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:675:5: note: in expansion of macro 'assert' assert(New[0] && New[1]); ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1079:3: note: in expansion of macro 'assert' assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1081:3: note: in expansion of macro 'assert' assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1219:3: note: in expansion of macro 'assert' assert(i >=0 && j >=0 && k >=0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1220:3: note: in expansion of macro 'assert' assert(i < nbv && j < nbv && k < nbv); ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1293:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1294:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1297:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1304:5: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1314:5: note: in expansion of macro 'assert' assert(t && i>=0 && i < 3); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1315:5: note: in expansion of macro 'assert' assert( a == (*t)(i)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1318:11: note: in expansion of macro 'assert' k++;assert(k< 20000); ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1342:3: note: in expansion of macro 'assert' assert(a < 3 && a >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1346:3: note: in expansion of macro 'assert' assert(a2 < 3 && a2 >= 0 ); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1365:7: note: in expansion of macro 'assert' assert(0); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1367:13: note: in expansion of macro 'assert' if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1406:3: note: in expansion of macro 'assert' assert(ns[0] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1407:3: note: in expansion of macro 'assert' assert(ns[1] != ns[2]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ Mesh2.h:1408:3: note: in expansion of macro 'assert' assert(ns[0] != ns[1]); ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ QuadTree.h:84:5: note: in expansion of macro 'assert' assert(sb && (sb->bc->n == 0)); ^~~~~~ bamg.cpp: In function 'int main(int, char**)': Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ bamg.cpp:560:7: note: in expansion of macro 'assert' assert(lsolbb==BTh.nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ bamg.cpp:560:7: note: in expansion of macro 'assert' assert(lsolbb==BTh.nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ bamg.cpp:576:7: note: in expansion of macro 'assert' assert(lsolBB==BTh.nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ bamg.cpp:576:7: note: in expansion of macro 'assert' assert(lsolBB==BTh.nbv); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ bamg.cpp:688:8: note: in expansion of macro 'assert' assert(dim==2); ^~~~~~ Mesh2.h:48:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) ^ bamg.cpp:688:8: note: in expansion of macro 'assert' assert(dim==2); ^~~~~~ mv bamg.o bamg_g.o g++ -g -DLONGLONG -g -o bamg-g bamg_g.o Mesh2_g.o MeshRead_g.o MeshWrite_g.o MeshDraw_g.o MeshGeom_g.o MeshQuad_g.o QuadTree_g.o Xrgraph_g.o Meshio_g.o Metric_g.o SetOfE4_g.o CheckPtr_g.o -L/usr/lib/X11R6 -L/usr/X11R6/lib -lX11 make: Leaving directory '/usr/src/RPM/BUILD/bamg-0.60' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.53523 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/bamg-buildroot + : + /bin/rm -rf -- /usr/src/tmp/bamg-buildroot + cd bamg-0.60 + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/bamg-buildroot HOSTTYPE=linux install-world make: Entering directory '/usr/src/RPM/BUILD/bamg-0.60' chmod a+x bamg cvmsh2 install -d /usr/src/tmp/bamg-buildroot/usr/bin cp bamg cvmsh2 /usr/src/tmp/bamg-buildroot/usr/bin chmod a+x bamg-g drawbdmesh cp bamg-g drawbdmesh /usr/src/tmp/bamg-buildroot/usr/bin make: Leaving directory '/usr/src/RPM/BUILD/bamg-0.60' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/bamg-buildroot (auto) Verifying and fixing files in /usr/src/tmp/bamg-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/bamg-buildroot/ (default) Compressing files in /usr/src/tmp/bamg-buildroot (auto) Verifying ELF objects in /usr/src/tmp/bamg-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/drawbdmesh: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/bin/bamg-g: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: bamg-0.60-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.711 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd bamg-0.60 + DOCDIR=/usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-0.60 + export DOCDIR + rm -rf /usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-0.60 + /bin/mkdir -p /usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-0.60 + cp -prL README /usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-0.60 + chmod -R go-w /usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-0.60 + chmod -R a+rX /usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-0.60 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uItTlg find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WNt2zs find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: /lib/ld-linux.so.2, libX11.so.6 >= set:oiqbWLcRr8gdbokEo33TYzAb0bfIOWCY6wGPLaKx8SGpEWavK6qjy84uZ3FPHO0aWTI2li4MkiO34yzByEZabDGNNc61yXNxiOcnru5Ccci2KRF4, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libm.so.6(GLIBC_2.0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.9), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YcM4LV Creating bamg-debuginfo package Processing files: bamg-doc-0.60-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.80167 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd bamg-0.60 + DOCDIR=/usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-doc-0.60 + export DOCDIR + rm -rf /usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-doc-0.60 + /bin/mkdir -p /usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-doc-0.60 + cp -prL bamg.ps.gz /usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-doc-0.60 + chmod -R go-w /usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-doc-0.60 + chmod -R a+rX /usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-doc-0.60 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lWlv7U find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qLy9j0 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Processing files: bamg-examples-0.60-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.41716 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd bamg-0.60 + DOCDIR=/usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-examples-0.60 + export DOCDIR + rm -rf /usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-examples-0.60 + /bin/mkdir -p /usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-examples-0.60 + cp -prL examples/NACA012 examples/quadloop examples/square examples/test /usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-examples-0.60 + chmod -R go-w /usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-examples-0.60 + chmod -R a+rX /usr/src/tmp/bamg-buildroot/usr/share/doc/bamg-examples-0.60 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Qs3PWB find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jbsVZt find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: nsc2ke Processing files: bamg-debuginfo-0.60-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sExViu find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4X9gBW find-requires: running scripts (debuginfo) Requires: bamg = 0.60-alt4, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libX11.so.6), debug(libc.so.6), debug(libgcc_s.so.1), debug(libm.so.6), debug(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/i586/bamg-0.60-alt4.i586.rpm Wrote: /usr/src/RPM/RPMS/noarch/bamg-doc-0.60-alt4.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/bamg-examples-0.60-alt4.noarch.rpm Wrote: /usr/src/RPM/RPMS/i586/bamg-debuginfo-0.60-alt4.i586.rpm 32.50user 2.27system 0:46.29elapsed 75%CPU (0avgtext+0avgdata 115140maxresident)k 0inputs+0outputs (0major+950296minor)pagefaults 0swaps 39.99user 5.29system 0:57.49elapsed 78%CPU (0avgtext+0avgdata 115548maxresident)k 0inputs+0outputs (0major+1293851minor)pagefaults 0swaps --- bamg-0.60-alt4.i586.rpm.repo 2016-04-08 01:49:48.000000000 +0000 +++ bamg-0.60-alt4.i586.rpm.hasher 2019-05-26 11:31:51.354252605 +0000 @@ -17,4 +17,7 @@ Requires: libstdc++.so.6(CXXABI_1.3) +Requires: libstdc++.so.6(CXXABI_1.3.8) +Requires: libstdc++.so.6(CXXABI_1.3.9) Requires: libstdc++.so.6(GLIBCXX_3.4) Requires: libstdc++.so.6(GLIBCXX_3.4.11) +Requires: libstdc++.so.6(GLIBCXX_3.4.21) Requires: libstdc++.so.6(GLIBCXX_3.4.9)