<86>Jun 16 02:10:00 userdel[1421861]: delete user 'rooter' <86>Jun 16 02:10:00 userdel[1421861]: removed group 'rooter' owned by 'rooter' <86>Jun 16 02:10:00 userdel[1421861]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 16 02:10:00 groupadd[1421884]: group added to /etc/group: name=rooter, GID=1862 <86>Jun 16 02:10:00 groupadd[1421884]: group added to /etc/gshadow: name=rooter <86>Jun 16 02:10:00 groupadd[1421884]: new group: name=rooter, GID=1862 <86>Jun 16 02:10:00 useradd[1421899]: new user: name=rooter, UID=1862, GID=1862, home=/root, shell=/bin/bash <86>Jun 16 02:10:00 userdel[1421925]: delete user 'builder' <86>Jun 16 02:10:00 userdel[1421925]: removed group 'builder' owned by 'builder' <86>Jun 16 02:10:00 userdel[1421925]: removed shadow group 'builder' owned by 'builder' <86>Jun 16 02:10:00 groupadd[1421942]: group added to /etc/group: name=builder, GID=1863 <86>Jun 16 02:10:00 groupadd[1421942]: group added to /etc/gshadow: name=builder <86>Jun 16 02:10:00 groupadd[1421942]: new group: name=builder, GID=1863 <86>Jun 16 02:10:00 useradd[1421965]: new user: name=builder, UID=1863, GID=1863, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/bamg-0.60-alt4.src.rpm: license not found in '/usr/share/license' directory: Free /usr/src/in/srpm/bamg-0.60-alt4.src.rpm: license not found in '/usr/share/license' directory: for /usr/src/in/srpm/bamg-0.60-alt4.src.rpm: license not found in '/usr/share/license' directory: non-commertial /usr/src/in/srpm/bamg-0.60-alt4.src.rpm: license not found in '/usr/share/license' directory: using <13>Jun 16 02:10:03 rpmi: libquadmath0-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:10:03 rpmi: libquadmath10-devel-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:10:04 rpmi: libgfortran5-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:10:04 rpmi: libX11-locales-3:1.8.7-alt1 p10+330924.200.2.1 1697304232 installed <13>Jun 16 02:10:04 rpmi: xorg-proto-devel-2021.5-alt1 p10+295526.40.6.1 1646400646 installed <13>Jun 16 02:10:04 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219231 installed <13>Jun 16 02:10:04 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080736 installed <13>Jun 16 02:10:04 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Jun 16 02:10:05 rpmi: libxcb-devel-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Jun 16 02:10:05 rpmi: libX11-3:1.8.7-alt1 p10+330924.200.2.1 1697304232 installed <13>Jun 16 02:10:05 rpmi: gcc-fortran-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jun 16 02:10:05 rpmi: libgfortran10-devel-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:10:05 rpmi: gcc10-fortran-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:10:05 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jun 16 02:10:06 rpmi: libstdc++10-devel-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:10:06 rpmi: gcc10-c++-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:10:06 rpmi: gcc-c++-10-alt1 sisyphus+263054.200.3.1 1607517515 installed <13>Jun 16 02:10:06 rpmi: gcc-fortran-10-alt1 sisyphus+263054.200.3.1 1607517515 installed <13>Jun 16 02:10:06 rpmi: libX11-devel-3:1.8.7-alt1 p10+330924.200.2.1 1697304232 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/bamg-0.60-alt4.nosrc.rpm (w1.gzdio) Installing bamg-0.60-alt4.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.44218 + 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.44218 + 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] 110 | // / | \ / \ | ^ Mesh2.cpp:1501:3: warning: multi-line comment [-Wcomment] 1501 | // /|\ | ^ Mesh2.cpp:1505:3: warning: multi-line comment [-Wcomment] 1505 | // / |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] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] 72 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | 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] 505 | int state; | ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] 502 | int MaxSize; // | ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | ListofIntersectionTriangles(int n=256,int m=16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] 508 | int NbSeg; | ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] 507 | int MaxNbSeg; | ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | 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:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] 604 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] 605 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] 607 | 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:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | 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] 713 | Triangles & BTh; // Background Mesh Bth==*this =>no background | ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] 712 | Geometry & Gh; // Geometry | ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] 761 | 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:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | 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] 1099 | if (gv) | ^ In file included from Mesh2.cpp:24: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | assert(sb && (sb->bc->n == 0)); | ^~~~~~ Mesh2.cpp: In member function 'Triangle* Triangles::FindTriangleContening(const I2&, Icoor2*, Triangle*) const': Mesh2.cpp:191:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 191 | assert(quadtree); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:191:4: note: in expansion of macro 'assert' 191 | assert(quadtree); | ^~~~~~ Mesh2.cpp:201:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 201 | assert(a>= vertices && a < vertices+nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:201:3: note: in expansion of macro 'assert' 201 | assert(a>= vertices && a < vertices+nbv); | ^~~~~~ Mesh2.cpp:207:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 207 | assert(t>= triangles && t < triangles+nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:207:3: note: in expansion of macro 'assert' 207 | assert(t>= triangles && t < triangles+nbt); | ^~~~~~ Mesh2.cpp:216:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 216 | assert(k0>=0); // k0 the NULL vertex | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:216:7: note: in expansion of macro 'assert' 216 | assert(k0>=0); // k0 the NULL vertex | ^~~~~~ Mesh2.cpp:223:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 223 | assert(kkkk++ < 2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:223:7: note: in expansion of macro 'assert' 223 | assert(kkkk++ < 2); | ^~~~~~ Mesh2.cpp:231:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 231 | assert( kkkk++ < 2000 /* infinity loop */ ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:231:7: note: in expansion of macro 'assert' 231 | assert( kkkk++ < 2000 /* infinity loop */ ); | ^~~~~~ Mesh2.cpp:265:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 265 | assert ( k < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:265:7: note: in expansion of macro 'assert' 265 | assert ( k < 3); | ^~~~~~ Mesh2.cpp: In function 'Int4 FindTriangle(Triangles&, Real8, Real8, double*, int&)': Mesh2.cpp:284:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 284 | assert(&Th); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:284:4: note: in expansion of macro 'assert' 284 | assert(&Th); | ^~~~~~ Mesh2.cpp:309:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 309 | assert(tc->link); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:309:3: note: in expansion of macro 'assert' 309 | assert(tc->link); | ^~~~~~ Mesh2.cpp: In function 'TriangleAdjacent CloseBoundaryEdge(I2, Triangle*, double&, double&)': Mesh2.cpp:324:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 324 | assert(k>=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:324:3: note: in expansion of macro 'assert' 324 | assert(k>=0); | ^~~~~~ Mesh2.cpp:331:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 331 | assert(kkk++<1000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:331:5: note: in expansion of macro 'assert' 331 | assert(kkk++<1000); | ^~~~~~ Mesh2.cpp:347:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 347 | assert(IJ2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:347:5: note: in expansion of macro 'assert' 347 | assert(IJ2); | ^~~~~~ Mesh2.cpp: In member function 'TriangleAdjacent Triangle::FindBoundaryEdge(int) const': Mesh2.cpp:377:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 377 | assert(k<2000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:377:7: note: in expansion of macro 'assert' 377 | assert(k<2000); | ^~~~~~ Mesh2.cpp:358:21: warning: unused variable 's' [-Wunused-variable] 358 | register Vertex * s = ns[i]; | ^ In file included from Mesh2.cpp:24: Mesh2.cpp: In function 'TriangleAdjacent CloseBoundaryEdgeV2(I2, Triangle*, double&, double&)': Mesh2.cpp:392:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 392 | assert(t->link == 0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:392:3: note: in expansion of macro 'assert' 392 | assert(t->link == 0); | ^~~~~~ Mesh2.cpp:471:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 471 | assert(cas !=-2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:471:4: note: in expansion of macro 'assert' 471 | assert(cas !=-2); | ^~~~~~ Mesh2.cpp:487:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 487 | assert(edge.EdgeVertex(0)==s && kkk++<10000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:487:3: note: in expansion of macro 'assert' 487 | assert(edge.EdgeVertex(0)==s && kkk++<10000); | ^~~~~~ Mesh2.cpp:523:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 523 | assert((Triangle *) er); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:523:8: note: in expansion of macro 'assert' 523 | assert((Triangle *) er); | ^~~~~~ Mesh2.cpp:391:8: warning: unused variable 'dir' [-Wunused-variable] 391 | 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.cpp:621:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 621 | assert(k>=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:621:7: note: in expansion of macro 'assert' 621 | assert(k>=0); | ^~~~~~ Mesh2.cpp:692:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 692 | assert(i+j+k == 0 + 1 +2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:692:2: note: in expansion of macro 'assert' 692 | 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] 835 | if (v=(*tt)(0)) m0 = v->m; | ~^~~~~~~~~ Mesh2.cpp:836:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 836 | if (v=(*tt)(1)) m1 = v->m; | ~^~~~~~~~~ Mesh2.cpp:837:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 837 | if (v=(*tt)(2)) m2 = v->m; | ~^~~~~~~~~ In file included from Mesh2.cpp:24: Mesh2.cpp: In member function 'Real8 ListofIntersectionTriangles::Length()': Mesh2.cpp:866:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 866 | assert(Size>0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:866:3: note: in expansion of macro 'assert' 866 | assert(Size>0); | ^~~~~~ Mesh2.cpp:893:14: warning: unused variable 'sy' [-Wunused-variable] 893 | 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] 946 | double lx = lIntTria[ii-1].sn; | ^~ Mesh2.cpp:950:14: warning: unused variable 'ly' [-Wunused-variable] 950 | 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.cpp:996:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 996 | assert ( a1 >= 0 && a1 < 3 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:996:3: note: in expansion of macro 'assert' 996 | assert ( a1 >= 0 && a1 < 3 ); | ^~~~~~ Mesh2.cpp:1044:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1044 | assert((det1>0 ) && (det2 > 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1044:3: note: in expansion of macro 'assert' 1044 | assert((det1>0 ) && (det2 > 0)); | ^~~~~~ Mesh2.cpp:1045:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1045 | assert ( (detsa < 0) && (detsb >0) ); // [a,b] cut infinite line va,bb | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1045:3: note: in expansion of macro 'assert' 1045 | 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] 1107 | if (ToSwap) | ^ Mesh2.cpp:999:12: warning: unused variable 'sb' [-Wunused-variable] 999 | Vertex & sb= (*t1)[VerticesOfTriangularEdge[a1][1]]; | ^~ In file included from Mesh2.cpp:24: Mesh2.cpp: In function 'int ForceEdge(Vertex&, Vertex&, TriangleAdjacent&)': Mesh2.cpp:1130:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1130 | assert(a.t && b.t); // the 2 vertex is in a mesh | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1130:3: note: in expansion of macro 'assert' 1130 | assert(a.t && b.t); // the 2 vertex is in a mesh | ^~~~~~ Mesh2.cpp:1145:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1145 | assert(v2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1145:5: note: in expansion of macro 'assert' 1145 | assert(v2); | ^~~~~~ Mesh2.cpp:1169:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1169 | assert ( v1 && v2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1169:7: note: in expansion of macro 'assert' 1169 | assert ( v1 && v2); | ^~~~~~ Mesh2.cpp:1184:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1184 | while (ks=SwapForForcingEdge( va, vb, tc, detss, det1,det2,NbSwap)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.cpp:1217:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1217 | if (( aa == &a ) && (bb == &b) || (bb == &a ) && (aa == &b)) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from Mesh2.cpp:24: Mesh2.cpp:1226:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1226 | assert(k++<2000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1226:5: note: in expansion of macro 'assert' 1226 | assert(k++<2000); | ^~~~~~ Mesh2.cpp:1128:2: warning: label 'restart' defined but not used [-Wunused-label] 1128 | restart: // for debug | ^~~~~~~ In file included from Mesh2.cpp:24: Mesh2.cpp: In member function 'Real8 Vertex::Smoothing(Triangles&, const Triangles&, Triangle*&, Real8)': Mesh2.cpp:1414:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1414 | assert(k<2000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1414:6: note: in expansion of macro 'assert' 1414 | assert(k<2000); | ^~~~~~ Mesh2.cpp:1485:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1485 | assert(k<2000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1485:2: note: in expansion of macro 'assert' 1485 | assert(k<2000); | ^~~~~~ Mesh2.cpp:1461:9: warning: unused variable 'detold' [-Wunused-variable] 1461 | double detold = tria->det; | ^~~~~~ Mesh2.cpp:1383:18: warning: unused variable 'NbSwap' [-Wunused-variable] 1383 | register Int4 NbSwap =0; | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::Add(Vertex&, Triangle*, Icoor2*)': Mesh2.cpp:1516:33: warning: the compiler can assume that the address of 's2' will never be NULL [-Waddress] 1516 | int infv = &s0 ? (( &s1 ? ( &s2 ? -1 : 2) : 1 )) : 0; | ^~~ Mesh2.cpp:1516:25: warning: the compiler can assume that the address of 's1' will never be NULL [-Waddress] 1516 | int infv = &s0 ? (( &s1 ? ( &s2 ? -1 : 2) : 1 )) : 0; | ^~~ Mesh2.cpp:1516:14: warning: the compiler can assume that the address of 's0' will never be NULL [-Waddress] 1516 | int infv = &s0 ? (( &s1 ? ( &s2 ? -1 : 2) : 1 )) : 0; | ^~~ Mesh2.cpp:1522:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1522 | if ( ( infv <0 ) && (detOld <0) || ( infv >=0 ) && (detOld >0) ) | ~~~~~~~~~~~~^~~~~~~~~~~~~~ Mesh2.cpp:1539:17: warning: the compiler can assume that the address of 's0' will never be NULL [-Waddress] 1539 | det3[0]= &s0 ? -1 : ::det(s ,s1,s2) ; | ^~~ Mesh2.cpp:1540:17: warning: the compiler can assume that the address of 's1' will never be NULL [-Waddress] 1540 | det3[1]= &s1 ? -1 : ::det(s0,s ,s2) ; | ^~~ Mesh2.cpp:1541:17: warning: the compiler can assume that the address of 's2' will never be NULL [-Waddress] 1541 | det3[2]= &s2 ? -1 : ::det(s0,s1,s ) ;}} | ^~~ Mesh2.cpp:1548:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1548 | if (nbd0 >0 ) // point s on a egde or on a vertex | ^ In file included from Mesh2.cpp:24: Mesh2.cpp:1628:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1628 | assert(rswap); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1628:5: note: in expansion of macro 'assert' 1628 | assert(rswap); | ^~~~~~ Mesh2.cpp: In member function 'Int4 Triangles::SplitInternalEdgeWithBorderVertices()': Mesh2.cpp:1658:11: warning: the compiler can assume that the address of 'tt' will never be NULL [-Waddress] 1658 | if ( &tt && tt.link && it < Number(tt)) | ^~~ In file included from Mesh2.cpp:24: Mesh2.cpp:1719:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1719 | assert (tcvi && tcvi->det >= 0) ;// internal | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1719:7: note: in expansion of macro 'assert' 1719 | assert (tcvi && tcvi->det >= 0) ;// internal | ^~~~~~ Mesh2.cpp: In member function 'Int4 Triangles::InsertNewPoints(Int4, Int4&)': Mesh2.cpp:1778:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1778 | assert( &vj== ordre[j]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1778:2: note: in expansion of macro 'assert' 1778 | assert( &vj== ordre[j]); | ^~~~~~ Mesh2.cpp:1809:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1809 | assert (tcvj && tcvj->det >= 0) ;// internal | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1809:2: note: in expansion of macro 'assert' 1809 | assert (tcvj && tcvj->det >= 0) ;// internal | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::NewPoints(Triangles&, int)': Mesh2.cpp:1947:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1947 | assert(i>=0 && i < nbt ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1947:7: note: in expansion of macro 'assert' 1947 | assert(i>=0 && i < nbt ); | ^~~~~~ Mesh2.cpp:1972:15: warning: unused variable 'NbvOld' [-Wunused-variable] 1972 | const Int4 NbvOld = nbv; | ^~~~~~ In file included from Mesh2.cpp:24: Mesh2.cpp:2004:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2004 | assert( ta.EdgeVertex(0) == s); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2004:3: note: in expansion of macro 'assert' 2004 | assert( ta.EdgeVertex(0) == s); | ^~~~~~ Mesh2.cpp:2013:19: warning: variable 'NbSwp' set but not used [-Wunused-but-set-variable] 2013 | Int4 NbSwapf =0,NbSwp; | ^~~~~ In file included from Mesh2.cpp:24: Mesh2.cpp: In member function 'void Triangles::NewPointsOld(Triangles&)': Mesh2.cpp:2084:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2084 | assert(i>=0 && i < nbt ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2084:7: note: in expansion of macro 'assert' 2084 | assert(i>=0 && i < nbt ); | ^~~~~~ Mesh2.cpp:2136:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2136 | assert ((*t)(VerticesOfTriangularEdge[j][0]) == (*ta)(VerticesOfTriangularEdge[kk][1])); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2136:6: note: in expansion of macro 'assert' 2136 | assert ((*t)(VerticesOfTriangularEdge[j][0]) == (*ta)(VerticesOfTriangularEdge[kk][1])); | ^~~~~~ Mesh2.cpp:2137:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2137 | assert ((*t)(VerticesOfTriangularEdge[j][1]) == (*ta)(VerticesOfTriangularEdge[kk][0])); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2137:6: note: in expansion of macro 'assert' 2137 | assert ((*t)(VerticesOfTriangularEdge[j][1]) == (*ta)(VerticesOfTriangularEdge[kk][0])); | ^~~~~~ Mesh2.cpp:2160:9: warning: unused variable 'NbvNp' [-Wunused-variable] 2160 | Int4 NbvNp = lIntTria.NewPoints(vertices,nbv,nbvx); | ^~~~~ Mesh2.cpp:2236:11: warning: variable 'VP' set but not used [-Wunused-but-set-variable] 2236 | R2 VP = V10*s + V11*(1-s); | ^~ In file included from Mesh2.cpp:24: Mesh2.cpp:2278:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2278 | assert(i1 < nbv && i1 >= 0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2278:8: note: in expansion of macro 'assert' 2278 | assert(i1 < nbv && i1 >= 0); | ^~~~~~ Mesh2.cpp:2279:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2279 | assert(i0 < nbv && i0 >= 0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2279:8: note: in expansion of macro 'assert' 2279 | assert(i0 < nbv && i0 >= 0); | ^~~~~~ Mesh2.cpp:2280:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2280 | assert(i1 != i0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2280:8: note: in expansion of macro 'assert' 2280 | assert(i1 != i0); | ^~~~~~ Mesh2.cpp:2294:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2294 | assert (i0 >= nbvold); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2294:8: note: in expansion of macro 'assert' 2294 | assert (i0 >= nbvold); | ^~~~~~ Mesh2.cpp:2295:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2295 | assert (i1 >= nbvold); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2295:8: note: in expansion of macro 'assert' 2295 | assert (i1 >= nbvold); | ^~~~~~ Mesh2.cpp:2296:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2296 | assert(i0 != i1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2296:8: note: in expansion of macro 'assert' 2296 | assert(i0 != i1); | ^~~~~~ Mesh2.cpp:2299:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2299 | if ( d01 < seuil) | ^ Mesh2.cpp:2203:11: warning: unused variable 'savRef' [-Wunused-variable] 2203 | Int4 savRef[10]; | ^~~~~~ In file included from Mesh2.cpp:24: Mesh2.cpp:2405:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2405 | assert (tcvi->det >= 0) ;// internal | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2405:7: note: in expansion of macro 'assert' 2405 | assert (tcvi->det >= 0) ;// internal | ^~~~~~ Mesh2.cpp:2398:13: warning: unused variable 'kt' [-Wunused-variable] 2398 | Int4 kt = Number(tcvi); | ^~ In file included from Mesh2.cpp:24: Mesh2.cpp:2432:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2432 | assert( ta.EdgeVertex(0) == s); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2432:3: note: in expansion of macro 'assert' 2432 | assert( ta.EdgeVertex(0) == s); | ^~~~~~ Mesh2.cpp:2049:8: warning: unused variable 'trace' [-Wunused-variable] 2049 | Int4 trace=0; | ^~~~~ Mesh2.cpp:2052:8: warning: variable 'ColorEdge' set but not used [-Wunused-but-set-variable] 2052 | Int4 ColorEdge[3]; | ^~~~~~~~~ In file included from Mesh2.cpp:24: Mesh2.cpp: In member function 'void Triangles::FindSubDomain(int)': Mesh2.cpp:2771:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2771 | assert(k== NbSubDomains); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2771:7: note: in expansion of macro 'assert' 2771 | assert(k== NbSubDomains); | ^~~~~~ Mesh2.cpp:2851:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2851 | assert(&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2851:9: note: in expansion of macro 'assert' 2851 | assert(&e); | ^~~~~~ Mesh2.cpp:2864:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2864 | assert(t && sens); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2864:9: note: in expansion of macro 'assert' 2864 | assert(t && sens); | ^~~~~~ Mesh2.cpp:2868:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2868 | assert( v0 == ta.EdgeVertex(1) ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2868:10: note: in expansion of macro 'assert' 2868 | assert( v0 == ta.EdgeVertex(1) ); | ^~~~~~ Mesh2.cpp:2895:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2895 | assert(mark[Number(tt)]<0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2895:7: note: in expansion of macro 'assert' 2895 | assert(mark[Number(tt)]<0); | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::ReNumberingTheTriangleBySubDomain()': Mesh2.cpp:3028:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3028 | assert(t0); // no empty sub domain | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3028:6: note: in expansion of macro 'assert' 3028 | assert(t0); // no empty sub domain | ^~~~~~ Mesh2.cpp:3031:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3031 | assert(kt>=0 && kt < nbt ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3031:8: note: in expansion of macro 'assert' 3031 | assert(kt>=0 && kt < nbt ); | ^~~~~~ Mesh2.cpp:3032:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3032 | assert(renu[kt]==-1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3032:8: note: in expansion of macro 'assert' 3032 | assert(renu[kt]==-1); | ^~~~~~ Mesh2.cpp:3045:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3045 | assert(k == nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3045:5: note: in expansion of macro 'assert' 3045 | assert(k == nbt); | ^~~~~~ Mesh2.cpp: In member function 'Int4 Triangles::ConsRefTriangle(Int4*) const': Mesh2.cpp:3080:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3080 | assert(reft); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3080:3: note: in expansion of macro 'assert' 3080 | assert(reft); | ^~~~~~ Mesh2.cpp:3088:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3088 | assert(t0); // no empty sub domain | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3088:6: note: in expansion of macro 'assert' 3088 | assert(t0); // no empty sub domain | ^~~~~~ Mesh2.cpp:3092:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3092 | assert(num>=0 &&num < nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3092:8: note: in expansion of macro 'assert' 3092 | assert(num>=0 &&num < nbt); | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::PreInit(Int4, char*)': Mesh2.cpp:3195:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3195 | assert(vertices); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3195:5: note: in expansion of macro 'assert' 3195 | assert(vertices); | ^~~~~~ Mesh2.cpp:3196:30: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 3196 | ordre=new (Vertex* [nbvx]); | ^ In file included from Mesh2.cpp:24: Mesh2.cpp:3197:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3197 | assert(ordre); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3197:5: note: in expansion of macro 'assert' 3197 | assert(ordre); | ^~~~~~ Mesh2.cpp:3199:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3199 | assert(triangles);} | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3199:5: note: in expansion of macro 'assert' 3199 | assert(triangles);} | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::GeomToTriangles1(Int4, int)': Mesh2.cpp:3272:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3272 | assert(&BTh.Gh == &Gh); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3272:3: note: in expansion of macro 'assert' 3272 | assert(&BTh.Gh == &Gh); | ^~~~~~ Mesh2.cpp:3308:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3308 | assert(vertices); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3308:3: note: in expansion of macro 'assert' 3308 | assert(vertices); | ^~~~~~ Mesh2.cpp:3325:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3325 | assert(gv->to);// use of Geom -> Th | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3325:3: note: in expansion of macro 'assert' 3325 | assert(gv->to);// use of Geom -> Th | ^~~~~~ Mesh2.cpp:3330:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3330 | assert(NbVertexOnBThVertex == NbVerticesOnGeomVertex); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3330:3: note: in expansion of macro 'assert' 3330 | assert(NbVertexOnBThVertex == NbVerticesOnGeomVertex); | ^~~~~~ Mesh2.cpp:3375:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3375 | assert (A0-vertices>=0 && A0-vertices =0 && A0-vertices = L0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3393:6: note: in expansion of macro 'assert' 3393 | assert (sNew >= L0); | ^~~~~~ Mesh2.cpp:3394:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3394 | assert(LAB); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3394:6: note: in expansion of macro 'assert' 3394 | assert(LAB); | ^~~~~~ Mesh2.cpp:3397:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3397 | assert(vertices && nbv=0 && se < 1.000000001); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3405:6: note: in expansion of macro 'assert' 3405 | assert(se>=0 && se < 1.000000001); | ^~~~~~ Mesh2.cpp:3411:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3411 | assert(se>=0 && se <= 1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3411:6: note: in expansion of macro 'assert' 3411 | assert(se>=0 && se <= 1); | ^~~~~~ Mesh2.cpp:3458:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3458 | assert(ee.on->CurveNumber==ei.on->CurveNumber); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3458:9: note: in expansion of macro 'assert' 3458 | assert(ee.on->CurveNumber==ei.on->CurveNumber); | ^~~~~~ Mesh2.cpp:3463:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3463 | assert (A1-vertices>=0 && A1-vertices =0 && A1-vertices 0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3954:5: note: in expansion of macro 'assert' 3954 | assert(coefIcoor >0); | ^~~~~~ Mesh2.cpp:3977:12: warning: the compiler can assume that the address of 'v0' will never be NULL [-Waddress] 3977 | if ( &v0 && &v1 && &v2 ) // a good triangles; | ^~~ Mesh2.cpp:3977:19: warning: the compiler can assume that the address of 'v1' will never be NULL [-Waddress] 3977 | if ( &v0 && &v1 && &v2 ) // a good triangles; | ^~~ Mesh2.cpp:3977:27: warning: the compiler can assume that the address of 'v2' will never be NULL [-Waddress] 3977 | if ( &v0 && &v1 && &v2 ) // a good triangles; | ^~~ Mesh2.cpp:3982:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 3982 | if(Nberr==1) | ^ In file included from Mesh2.cpp:24: Mesh2.cpp: In member function 'void Triangles::FillHoleInMesh()': Mesh2.cpp:4018:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4018 | assert(ordre); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4018:5: note: in expansion of macro 'assert' 4018 | assert(ordre); | ^~~~~~ Mesh2.cpp:4048:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4048 | assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4048:6: note: in expansion of macro 'assert' 4048 | 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] 4082 | if (st[i] >=0) // edge alone | ^ In file included from Mesh2.cpp:24: Mesh2.cpp:4239:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4239 | assert(st[k] >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4239:10: note: in expansion of macro 'assert' 4239 | assert(st[k] >=0); | ^~~~~~ Mesh2.cpp:4260:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4260 | assert(savenbt+NbTfillHoll <= savenbtx ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4260:6: note: in expansion of macro 'assert' 4260 | assert(savenbt+NbTfillHoll <= savenbtx ); | ^~~~~~ Mesh2.cpp:4202:7: warning: unused variable 'nbtfillhole' [-Wunused-variable] 4202 | Int4 nbtfillhole = nbt; | ^~~~~~~~~~~ In file included from Mesh2.cpp:24: Mesh2.cpp: In member function 'Int4 Triangle::Optim(Int2, int)': Mesh2.cpp:4484:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4484 | assert(k++<20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4484:2: note: in expansion of macro 'assert' 4484 | assert(k++<20000); | ^~~~~~ Mesh2.cpp:4465:13: warning: unused variable 's' [-Wunused-variable] 4465 | Vertex * s = ns[i]; | ^ Mesh2.cpp: In member function 'void Triangles::ShowHistogram() const': Mesh2.cpp:4577:20: warning: the compiler can assume that the address of 'vP' will never be NULL [-Waddress] 4577 | if ( !& vP || !&vQ) continue; | ^~~~ Mesh2.cpp:4577:29: warning: the compiler can assume that the address of 'vQ' will never be NULL [-Waddress] 4577 | if ( !& vP || !&vQ) continue; | ^~~ In file included from Mesh2.cpp:24: Mesh2.cpp: In member function 'int Triangles::Crack()': Mesh2.cpp:4623:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4623 | assert(NbCrackedEdges ==0 || NbCrackedVertices >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4623:5: note: in expansion of macro 'assert' 4623 | assert(NbCrackedEdges ==0 || NbCrackedVertices >0); | ^~~~~~ Mesh2.cpp: In member function 'int Triangles::UnCrack()': Mesh2.cpp:4631:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4631 | assert(NbCrackedEdges ==0 || NbCrackedVertices >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4631:3: note: in expansion of macro 'assert' 4631 | assert(NbCrackedEdges ==0 || NbCrackedVertices >0); | ^~~~~~ Mesh2.cpp: In member function 'int Triangles::CrackMesh()': Mesh2.cpp:4684:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4684 | assert(tbegin && (i >= 0 ) && (i <3)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4684:7: note: in expansion of macro 'assert' 4684 | assert(tbegin && (i >= 0 ) && (i <3)); | ^~~~~~ Mesh2.cpp:4695:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4695 | assert(tta.Cracked()); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4695:6: note: in expansion of macro 'assert' 4695 | assert(tta.Cracked()); | ^~~~~~ Mesh2.cpp:4702:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4702 | assert(it < nt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4702:4: note: in expansion of macro 'assert' 4702 | assert(it < nt); | ^~~~~~ Mesh2.cpp:4713:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4713 | assert(k); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4713:7: note: in expansion of macro 'assert' 4713 | assert(k); | ^~~~~~ Mesh2.cpp:4742:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4742 | 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' 4764 | NbVerticesOnGeomVertex = n; | ^~~~~~~~~~~~~~~~~~~~~~ Mesh2.cpp:4724:7: warning: unused variable 'nbvo' [-Wunused-variable] 4724 | 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] 602 | 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] 603 | 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] 614 | 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] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.cpp:284:4: note: in expansion of macro 'assert' 284 | assert(&Th); | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::Add(Vertex&, Triangle*, Icoor2*)': Mesh2.cpp:1519:28: warning: 'iedge' may be used uninitialized in this function [-Wmaybe-uninitialized] 1519 | 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] 758 | if (dt[ocut] >0) // triangle upper AB | ~~~~~~~^ Mesh2.cpp: In member function 'void Triangles::GeomToTriangles0(Int4)': Mesh2.cpp:3808:29: warning: 'PreviousNewEdge' may be used uninitialized in this function [-Wmaybe-uninitialized] 3808 | PreviousNewEdge->adj[1] = & edges[nbe]; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ Mesh2.cpp:3803:26: warning: 'e' may be used uninitialized in this function [-Wmaybe-uninitialized] 3803 | edges[nbe].ref = e->ref; | ~~~^~~ Mesh2.cpp:3802:21: warning: 'vb' may be used uninitialized in this function [-Wmaybe-uninitialized] 3802 | edges[nbe].v[1]=vb; | ~~~~~~~~~~~~~~~^~~ Mesh2.cpp:3801:21: warning: 'va' may be used uninitialized in this function [-Wmaybe-uninitialized] 3801 | edges[nbe].v[0]=va; | ~~~~~~~~~~~~~~~^~~ Mesh2.cpp:3816:10: warning: 'NbEdgeCurve' may be used uninitialized in this function [-Wmaybe-uninitialized] 3816 | 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:57:83: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 57 | ( isspace(c) ? (( ( c=='\n'|| c==char(12) || c==char(15)) && (LineNumber++,cmm=0)),1) : (cmm || (c=='#' && (cmm=1) )) ) ); | ~~~^~ Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 56 | 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' 58 | 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] 50 | const char * CurrentFile; | ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] 49 | int LineNumber,LineError,opened; | ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] 77 | MeshIstream(const char * file_name) | ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 80 | 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' 80 | 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] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | IFortranUnFormattedFile(MeshIstream & ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | OFortranUnFormattedFile(ostream &ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | 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] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] 72 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | 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] 505 | int state; | ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] 502 | int MaxSize; // | ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | ListofIntersectionTriangles(int n=256,int m=16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] 508 | int NbSeg; | ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] 507 | int MaxNbSeg; | ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | 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:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] 604 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] 605 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] 607 | 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:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | 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] 713 | Triangles & BTh; // Background Mesh Bth==*this =>no background | ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] 712 | Geometry & Gh; // Geometry | ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] 761 | 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:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | 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] 1099 | if (gv) | ^ In file included from MeshRead.cpp:7: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | assert(sb && (sb->bc->n == 0)); | ^~~~~~ MeshRead.cpp: In member function 'void Triangles::Read(MeshIstream&, int, Real8)': MeshRead.cpp:47:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | assert(dim ==2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:47:12: note: in expansion of macro 'assert' 47 | assert(dim ==2); | ^~~~~~ MeshRead.cpp:82:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | assert(dim ==2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:82:12: note: in expansion of macro 'assert' 82 | assert(dim ==2); | ^~~~~~ MeshRead.cpp:88:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | assert(vertices); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:88:5: note: in expansion of macro 'assert' 88 | assert(vertices); | ^~~~~~ MeshRead.cpp:89:30: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 89 | ordre=new (Vertex* [nbvx]); | ^ In file included from MeshRead.cpp:7: MeshRead.cpp:90:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | assert(ordre); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:90:5: note: in expansion of macro 'assert' 90 | assert(ordre); | ^~~~~~ MeshRead.cpp:103:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 103 | assert(triangles); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:103:5: note: in expansion of macro 'assert' 103 | assert(triangles); | ^~~~~~ MeshRead.cpp:175:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 175 | assert(VerticesOnGeomVertex); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:175:9: note: in expansion of macro 'assert' 175 | assert(VerticesOnGeomVertex); | ^~~~~~ MeshRead.cpp:193:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 193 | assert(VerticesOnGeomEdge); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:193:9: note: in expansion of macro 'assert' 193 | assert(VerticesOnGeomEdge); | ^~~~~~ MeshRead.cpp:198:21: warning: unused variable 'v' [-Wunused-variable] 198 | VertexOnGeom & v =VerticesOnGeomVertex[i0]; | ^ In file included from MeshRead.cpp:7: MeshRead.cpp:211:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 211 | assert(edges); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:211:11: note: in expansion of macro 'assert' 211 | assert(edges); | ^~~~~~ MeshRead.cpp:223:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 223 | assert(i1 >0 && i2 >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:223:8: note: in expansion of macro 'assert' 223 | assert(i1 >0 && i2 >0); | ^~~~~~ MeshRead.cpp:224:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 224 | assert(i1 <= nbv && i2 <= nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:224:8: note: in expansion of macro 'assert' 224 | assert(i1 <= nbv && i2 <= nbv); | ^~~~~~ MeshRead.cpp:244:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 244 | for (i=0;i=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:310:3: note: in expansion of macro 'assert' 310 | assert(head < nbt && head >=0); | ^~~~~~ MeshRead.cpp: In member function 'void Triangles::Read_am_fmt(MeshIstream&)': MeshRead.cpp:352:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 352 | assert(triangles); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:352:6: note: in expansion of macro 'assert' 352 | assert(triangles); | ^~~~~~ MeshRead.cpp:354:31: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 354 | 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] 384 | if (verbosity>1) | ^~ MeshRead.cpp:386:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 386 | Metric M1(1); | ^~~~~~ In file included from MeshRead.cpp:7: MeshRead.cpp:391:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 391 | assert(l==2*sizeof(Int4)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:391:3: note: in expansion of macro 'assert' 391 | 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] 394 | assert(l==nbt*sizeof(long)*4 + nbv*(2*sizeof(float)+sizeof(long))); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:48:30: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ MeshRead.cpp:394:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 394 | assert(l==nbt*sizeof(long)*4 + nbv*(2*sizeof(float)+sizeof(long))); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:394:3: note: in expansion of macro 'assert' 394 | assert(l==nbt*sizeof(long)*4 + nbv*(2*sizeof(float)+sizeof(long))); | ^~~~~~ MeshRead.cpp:401:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 401 | assert(triangles); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:401:3: note: in expansion of macro 'assert' 401 | assert(triangles); | ^~~~~~ MeshRead.cpp:403:28: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 403 | ordre=new (Vertex* [nbvx]); | ^ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Triangles::Read_nopo(MeshIstream&)': MeshRead.cpp:444:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 444 | assert(i==32); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:444:2: note: in expansion of macro 'assert' 444 | assert(i==32); | ^~~~~~ MeshRead.cpp:473:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 473 | assert(l == 27); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:473:2: note: in expansion of macro 'assert' 473 | assert(l == 27); | ^~~~~~ MeshRead.cpp:500:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 500 | assert(triangles); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:500:3: note: in expansion of macro 'assert' 500 | assert(triangles); | ^~~~~~ MeshRead.cpp:502:28: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 502 | ordre=new (Vertex* [nbvx]); | ^ In file included from MeshRead.cpp:7: MeshRead.cpp:510:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 510 | assert(l==2*np); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:510:3: note: in expansion of macro 'assert' 510 | assert(l==2*np); | ^~~~~~ MeshRead.cpp:533:11: warning: unused variable 'ng' [-Wunused-variable] 533 | Int4 ng[4]={0,0,0,0}; | ^~ MeshRead.cpp:534:17: warning: unused variable 'nn' [-Wunused-variable] 534 | Int4 np[4],nn[4],rv[4],re[4]; | ^~ In file included from MeshRead.cpp:7: MeshRead.cpp:625:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 625 | assert(k==nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:625:2: note: in expansion of macro 'assert' 625 | assert(k==nbt); | ^~~~~~ MeshRead.cpp:483:7: warning: unused variable 'nef' [-Wunused-variable] 483 | Int4 nef = nop2[13]; | ^~~ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Triangles::Read_ftq(MeshIstream&)': MeshRead.cpp:664:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 664 | assert(triangles); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:664:3: note: in expansion of macro 'assert' 664 | assert(triangles); | ^~~~~~ MeshRead.cpp:666:28: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 666 | ordre=new (Vertex* [nbvx]); | ^ In file included from MeshRead.cpp:7: MeshRead.cpp:697:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 697 | assert(k==nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:697:3: note: in expansion of macro 'assert' 697 | assert(k==nbt); | ^~~~~~ MeshRead.cpp: In member function 'void Triangles::Read_msh(MeshIstream&)': MeshRead.cpp:724:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 724 | assert(triangles); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:724:6: note: in expansion of macro 'assert' 724 | assert(triangles); | ^~~~~~ MeshRead.cpp:726:31: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 726 | ordre=new (Vertex* [nbvx]); | ^ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Triangles::Read_amdba(MeshIstream&)': MeshRead.cpp:760:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 760 | assert(triangles); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:760:6: note: in expansion of macro 'assert' 760 | assert(triangles); | ^~~~~~ MeshRead.cpp:762:31: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 762 | ordre=new (Vertex* [nbvx]); | ^ In file included from MeshRead.cpp:7: MeshRead.cpp:767:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 767 | assert( j >0 && j <= nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:767:4: note: in expansion of macro 'assert' 767 | assert( j >0 && j <= nbv); | ^~~~~~ MeshRead.cpp:778:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 778 | assert( j >0 && j <= nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:778:5: note: in expansion of macro 'assert' 778 | assert( j >0 && j <= nbt); | ^~~~~~ MeshRead.cpp: In constructor 'Triangles::Triangles(char*, Real8)': MeshRead.cpp:817:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 817 | if (f_in.IsString("MeshVersionFormatted")) | ^~~~~~~~~~~~~~~~~~~~~~ MeshRead.cpp:796:7: warning: unused variable 'type_file' [-Wunused-variable] 796 | int type_file=0; | ^~~~~~~~~ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Geometry::ReadGeometry(MeshIstream&, char*)': MeshRead.cpp:860:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 860 | assert(empty()); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:860:3: note: in expansion of macro 'assert' 860 | assert(empty()); | ^~~~~~ MeshRead.cpp:896:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 896 | assert(dim ==2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:896:11: note: in expansion of macro 'assert' 896 | assert(dim ==2); | ^~~~~~ MeshRead.cpp:944:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 944 | assert(dim ==2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:944:11: note: in expansion of macro 'assert' 944 | assert(dim ==2); | ^~~~~~ MeshRead.cpp:952:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 952 | assert(nbvx >= nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:952:11: note: in expansion of macro 'assert' 952 | assert(nbvx >= nbv); | ^~~~~~ MeshRead.cpp:980:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 980 | assert(coefIcoor >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:980:6: note: in expansion of macro 'assert' 980 | assert(coefIcoor >0); | ^~~~~~ MeshRead.cpp:1006:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1006 | assert(edges); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1006:8: note: in expansion of macro 'assert' 1006 | assert(edges); | ^~~~~~ MeshRead.cpp:1007:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1007 | assert (nbv >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1007:8: note: in expansion of macro 'assert' 1007 | assert (nbv >0); | ^~~~~~ MeshRead.cpp:1069:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1069 | assert( i <= nbe ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1069:8: note: in expansion of macro 'assert' 1069 | assert( i <= nbe ); | ^~~~~~ MeshRead.cpp:1070:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1070 | assert( i > 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1070:8: note: in expansion of macro 'assert' 1070 | assert( i > 0 ); | ^~~~~~ MeshRead.cpp:1071:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1071 | assert ( j == 1 || j==2 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1071:8: note: in expansion of macro 'assert' 1071 | assert ( j == 1 || j==2 ); | ^~~~~~ MeshRead.cpp:1085:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1085 | assert( j <= nbv ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1085:13: note: in expansion of macro 'assert' 1085 | assert( j <= nbv ); | ^~~~~~ MeshRead.cpp:1086:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1086 | assert( j > 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1086:13: note: in expansion of macro 'assert' 1086 | assert( j > 0 ); | ^~~~~~ MeshRead.cpp:1098:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1098 | assert( j <= nbv ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1098:13: note: in expansion of macro 'assert' 1098 | assert( j <= nbv ); | ^~~~~~ MeshRead.cpp:1099:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1099 | assert( j > 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1099:13: note: in expansion of macro 'assert' 1099 | assert( j > 0 ); | ^~~~~~ MeshRead.cpp:1115:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1115 | assert(i0 == 2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1115:3: note: in expansion of macro 'assert' 1115 | assert(i0 == 2); | ^~~~~~ MeshRead.cpp:1116:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1116 | assert(i1<=nbe && i1>0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1116:3: note: in expansion of macro 'assert' 1116 | 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:57:83: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 57 | ( isspace(c) ? (( ( c=='\n'|| c==char(12) || c==char(15)) && (LineNumber++,cmm=0)),1) : (cmm || (c=='#' && (cmm=1) )) ) ); | ~~~^~ Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 56 | 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' 58 | 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] 50 | const char * CurrentFile; | ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] 49 | int LineNumber,LineError,opened; | ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] 77 | MeshIstream(const char * file_name) | ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 80 | 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' 80 | 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] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | IFortranUnFormattedFile(MeshIstream & ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | OFortranUnFormattedFile(ostream &ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | 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] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] 72 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | 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] 505 | int state; | ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] 502 | int MaxSize; // | ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | ListofIntersectionTriangles(int n=256,int m=16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] 508 | int NbSeg; | ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] 507 | int MaxNbSeg; | ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | 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:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] 604 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] 605 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] 607 | 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:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | 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] 713 | Triangles & BTh; // Background Mesh Bth==*this =>no background | ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] 712 | Geometry & Gh; // Geometry | ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] 761 | 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:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | 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] 1099 | if (gv) | ^ In file included from MeshWrite.cpp:6: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | 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] 83 | Int4 nbInT = ConsRefTriangle(reft); | ^~~~~ MeshWrite.cpp:88:8: warning: unused variable 'ining' [-Wunused-variable] 88 | 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] 294 | char ch4[4]; | ^~~ MeshWrite.cpp:296:8: warning: unused variable 'c' [-Wunused-variable] 296 | char *c=identity; | ^ In file included from MeshWrite.cpp:6: MeshWrite.cpp: In member function 'void Triangles::Write_am_fmt(std::ostream&) const': MeshWrite.cpp:338:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 338 | assert(this && nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:338:3: note: in expansion of macro 'assert' 338 | assert(this && nbt); | ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_am(std::ostream&) const': MeshWrite.cpp:369:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 369 | assert(this && nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:369:3: note: in expansion of macro 'assert' 369 | assert(this && nbt); | ^~~~~~ MeshWrite.cpp:368:10: warning: variable 'j' set but not used [-Wunused-but-set-variable] 368 | Int4 i,j; | ^ In file included from MeshWrite.cpp:6: MeshWrite.cpp: In member function 'void Triangles::Write_ftq(std::ostream&) const': MeshWrite.cpp:400:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 400 | assert(this && nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:400:3: note: in expansion of macro 'assert' 400 | assert(this && nbt); | ^~~~~~ MeshWrite.cpp:434:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 434 | assert(k == nele); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:434:3: note: in expansion of macro 'assert' 434 | assert(k == nele); | ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_msh(std::ostream&) const': MeshWrite.cpp:446:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 446 | assert(this && nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:446:3: note: in expansion of macro 'assert' 446 | assert(this && nbt); | ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_amdba(std::ostream&) const': MeshWrite.cpp:474:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 474 | assert(this && nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:474:3: note: in expansion of macro 'assert' 474 | assert(this && nbt); | ^~~~~~ MeshWrite.cpp:488:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 488 | 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' 494 | f << endl; | ^ In file included from MeshWrite.cpp:6: MeshWrite.cpp: In member function 'void Triangles::WriteElements(std::ostream&, Int4*, Int4) const': MeshWrite.cpp:556:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 556 | assert(k==0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:556:8: note: in expansion of macro 'assert' 556 | assert(k==0); | ^~~~~~ MeshWrite.cpp: In function 'std::ostream& operator<<(std::ostream&, const Triangles&)': MeshWrite.cpp:636:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 636 | assert(v.OnGeomVertex()) ; | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:636:3: note: in expansion of macro 'assert' 636 | assert(v.OnGeomVertex()) ; | ^~~~~~ MeshWrite.cpp:647:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 647 | assert(v.OnGeomEdge()) ; | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:647:3: note: in expansion of macro 'assert' 647 | assert(v.OnGeomEdge()) ; | ^~~~~~ MeshWrite.cpp:731:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 731 | assert(!k); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:731:8: note: in expansion of macro 'assert' 731 | 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] 602 | 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] 603 | 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': MeshWrite.cpp:338:15: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 338 | assert(this && nbt); Mesh2.h:48:30: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ MeshWrite.cpp: In member function 'void Triangles::Write_am(std::ostream&) const': MeshWrite.cpp:369:15: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 369 | assert(this && nbt); Mesh2.h:48:30: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ MeshWrite.cpp: In member function 'void Triangles::Write_ftq(std::ostream&) const': MeshWrite.cpp:400:15: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 400 | assert(this && nbt); Mesh2.h:48:30: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ MeshWrite.cpp: In member function 'void Triangles::Write_msh(std::ostream&) const': MeshWrite.cpp:446:15: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 446 | assert(this && nbt); Mesh2.h:48:30: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ MeshWrite.cpp: In member function 'void Triangles::Write_amdba(std::ostream&) const': MeshWrite.cpp:474:15: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 474 | assert(this && nbt); Mesh2.h:48:30: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ 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] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] 72 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | 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] 505 | int state; | ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] 502 | int MaxSize; // | ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | ListofIntersectionTriangles(int n=256,int m=16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] 508 | int NbSeg; | ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] 507 | int MaxNbSeg; | ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | 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:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] 604 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] 605 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] 607 | 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:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | 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] 713 | Triangles & BTh; // Background Mesh Bth==*this =>no background | ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] 712 | Geometry & Gh; // Geometry | ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] 761 | 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:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | 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] 1099 | if (gv) | ^ In file included from MeshGeom.cpp:27: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | assert(sb && (sb->bc->n == 0)); | ^~~~~~ MeshGeom.cpp: In member function 'void Triangles::ConsGeometry(Real8)': MeshGeom.cpp:80:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:80:4: note: in expansion of macro 'assert' 80 | assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); | ^~~~~~ MeshGeom.cpp:185:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 185 | assert(k==nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:185:7: note: in expansion of macro 'assert' 185 | assert(k==nbe); | ^~~~~~ MeshGeom.cpp:208:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 208 | assert( v == edges[i0 ].v[j0]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:208:6: note: in expansion of macro 'assert' 208 | assert( v == edges[i0 ].v[j0]); | ^~~~~~ MeshGeom.cpp:211:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 211 | assert(edges[i0].v[j0] == v); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:211:6: note: in expansion of macro 'assert' 211 | assert(edges[i0].v[j0] == v); | ^~~~~~ MeshGeom.cpp:217:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 217 | assert(!NbSubDomains); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:217:5: note: in expansion of macro 'assert' 217 | assert(!NbSubDomains); | ^~~~~~ MeshGeom.cpp:281:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 281 | assert(k== NbSubDomains); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:281:5: note: in expansion of macro 'assert' 281 | assert(k== NbSubDomains); | ^~~~~~ MeshGeom.cpp:347:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 347 | assert(Gh.coefIcoor >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:347:3: note: in expansion of macro 'assert' 347 | assert(Gh.coefIcoor >0); | ^~~~~~ MeshGeom.cpp:378:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 378 | assert(k == i); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:378:7: note: in expansion of macro 'assert' 378 | assert(k == i); | ^~~~~~ MeshGeom.cpp:38:15: warning: unused variable 'OldCurrentTh' [-Wunused-variable] 38 | Triangles * OldCurrentTh =CurrentTh; | ^~~~~~~~~~~~ In file included from MeshGeom.cpp:27: MeshGeom.cpp: In copy constructor 'Geometry::Geometry(const Geometry&)': MeshGeom.cpp:461:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 461 | assert(!nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:461:4: note: in expansion of macro 'assert' 461 | assert(!nbt); | ^~~~~~ MeshGeom.cpp: In member function 'GeometricalEdge* Geometry::Contening(R2, GeometricalEdge*) const': MeshGeom.cpp:474:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 474 | assert(k++<100); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:474:8: note: in expansion of macro 'assert' 474 | assert(k++<100); | ^~~~~~ MeshGeom.cpp: In member function 'GeometricalEdge* Geometry::ProjectOnCurve(const Edge&, Real8, Vertex&, VertexOnGeom&) const': MeshGeom.cpp:497:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 497 | assert(on); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:497:5: note: in expansion of macro 'assert' 497 | assert(on); | ^~~~~~ MeshGeom.cpp:498:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert( e[0].on && e[1].on); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:498:5: note: in expansion of macro 'assert' 498 | assert( e[0].on && e[1].on); | ^~~~~~ MeshGeom.cpp:570:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 570 | assert(bge>=0 && bge <= mxe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:570:2: note: in expansion of macro 'assert' 570 | assert(bge>=0 && bge <= mxe); | ^~~~~~ MeshGeom.cpp:599:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 599 | assert(tge>=0 && tge <= mxe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:599:2: note: in expansion of macro 'assert' 599 | assert(tge>=0 && tge <= mxe); | ^~~~~~ MeshGeom.cpp:634:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 634 | assert( i>=0 && i <= mxe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:634:5: note: in expansion of macro 'assert' 634 | assert( i>=0 && i <= mxe); | ^~~~~~ MeshGeom.cpp:644:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 644 | assert(s <= 1.0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:644:7: note: in expansion of macro 'assert' 644 | assert(s <= 1.0); | ^~~~~~ MeshGeom.cpp:652:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 652 | assert(i >= 0 && i <= mxe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:652:2: note: in expansion of macro 'assert' 652 | assert(i >= 0 && i <= mxe); | ^~~~~~ MeshGeom.cpp:663:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 663 | assert(on); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:663:5: note: in expansion of macro 'assert' 663 | assert(on); | ^~~~~~ MeshGeom.cpp: In member function 'void Geometry::AfterRead()': MeshGeom.cpp:699:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 699 | assert( v == & (Vertex &) vertices[j]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:699:11: note: in expansion of macro 'assert' 699 | assert( v == & (Vertex &) vertices[j]); | ^~~~~~ MeshGeom.cpp:803:10: warning: unused variable 'a' [-Wunused-variable] 803 | float a = 180*(j1 ? OppositeAngle(eangle[i1]): eangle[i1])/Pi; | ^ In file included from MeshGeom.cpp:27: MeshGeom.cpp:944:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 944 | assert(nbgem && nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:944:5: note: in expansion of macro 'assert' 944 | assert(nbgem && nbe); | ^~~~~~ MeshGeom.cpp: In destructor 'Geometry::~Geometry()': MeshGeom.cpp:952:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 952 | assert(NbRef<=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:952:3: note: in expansion of macro 'assert' 952 | assert(NbRef<=0); | ^~~~~~ MeshGeom.cpp:955:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 955 | 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' 955 | if(vertices) delete [] vertices;vertices=0; | ^~~~~~~~ MeshGeom.cpp:956:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 956 | 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' 956 | if(edges) delete [] edges;edges=0; | ^~~~~ MeshGeom.cpp:958:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 958 | 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' 958 | if(triangles) delete [] triangles;triangles=0; | ^~~~~~~~~ MeshGeom.cpp:959:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 959 | 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' 959 | if(quadtree) delete quadtree;quadtree=0; | ^~~~~~~~ MeshGeom.cpp:960:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 960 | 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' 960 | if(name) delete name;name=0; | ^~~~ MeshGeom.cpp:961:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 961 | 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' 961 | if(subdomains) delete subdomains;subdomains=0; | ^~~~~~~~~~ In file included from MeshGeom.cpp:27: MeshGeom.cpp: In member function 'Real8 GeometricalEdge::R1tg(Real4, R2&) const': MeshGeom.cpp:974:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 974 | assert( theta >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:974:2: note: in expansion of macro 'assert' 974 | assert( theta >=0); | ^~~~~~ MeshGeom.cpp:975:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 975 | assert( theta <=1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:975:2: note: in expansion of macro 'assert' 975 | assert( theta <=1); | ^~~~~~ MeshGeom.cpp:1008:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1008 | else | ^~~~ MeshGeom.cpp:1025:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1025 | 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': MeshGeom.cpp:1040:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1040 | assert( theta >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:1040:2: note: in expansion of macro 'assert' 1040 | assert( theta >=0); | ^~~~~~ MeshGeom.cpp:1041:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1041 | assert( theta <=1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:1041:2: note: in expansion of macro 'assert' 1041 | 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:57:83: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 57 | ( isspace(c) ? (( ( c=='\n'|| c==char(12) || c==char(15)) && (LineNumber++,cmm=0)),1) : (cmm || (c=='#' && (cmm=1) )) ) ); | ~~~^~ Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 56 | 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' 58 | 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] 50 | const char * CurrentFile; | ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] 49 | int LineNumber,LineError,opened; | ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] 77 | MeshIstream(const char * file_name) | ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 80 | 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' 80 | 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] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | IFortranUnFormattedFile(MeshIstream & ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | OFortranUnFormattedFile(ostream &ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | 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] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] 72 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | 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] 505 | int state; | ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] 502 | int MaxSize; // | ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | ListofIntersectionTriangles(int n=256,int m=16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] 508 | int NbSeg; | ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] 507 | int MaxNbSeg; | ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | 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:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] 604 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] 605 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] 607 | 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:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | 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] 713 | Triangles & BTh; // Background Mesh Bth==*this =>no background | ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] 712 | Geometry & Gh; // Geometry | ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] 761 | 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:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | 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] 1099 | if (gv) | ^ In file included from MeshQuad.cpp:25: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | assert(sb && (sb->bc->n == 0)); | ^~~~~~ MeshQuad.cpp: In member function 'GeometricalEdge* Triangles::ProjectOnCurve(Edge&, Vertex&, Vertex&, Real8, Vertex&, VertexOnEdge&, VertexOnGeom&)': MeshQuad.cpp:148:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | assert( pA && pB && e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:148:2: note: in expansion of macro 'assert' 148 | assert( pA && pB && e); | ^~~~~~ MeshQuad.cpp:151:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 151 | assert(e>=BTh.edges && e=BTh.edges && e=0 && thetab<=1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:228:7: note: in expansion of macro 'assert' 228 | assert(thetab>=0 && thetab<=1); | ^~~~~~ MeshQuad.cpp:245:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 245 | assert(eee); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:245:5: note: in expansion of macro 'assert' 245 | assert(eee); | ^~~~~~ MeshQuad.cpp:254:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 254 | assert(thetab>=0 && thetab<=1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:254:9: note: in expansion of macro 'assert' 254 | assert(thetab>=0 && thetab<=1); | ^~~~~~ MeshQuad.cpp: In member function 'int Triangles::SplitElement(int)': MeshQuad.cpp:440:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 440 | assert(edgesGtoB); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:440:8: note: in expansion of macro 'assert' 440 | assert(edgesGtoB); | ^~~~~~ MeshQuad.cpp:531:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 531 | assert(t.link); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:531:6: note: in expansion of macro 'assert' 531 | assert(t.link); | ^~~~~~ MeshQuad.cpp:608:9: warning: the compiler can assume that the address of 'tt' will never be NULL [-Waddress] 608 | if (&tt) // internal triangles all the boundary | ^~~ In file included from MeshQuad.cpp:25: MeshQuad.cpp:640:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 640 | assert (nbinvisible<2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:640:7: note: in expansion of macro 'assert' 640 | assert (nbinvisible<2); | ^~~~~~ MeshQuad.cpp:651:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 651 | assert(ksplit[i]>=40); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:651:5: note: in expansion of macro 'assert' 651 | assert(ksplit[i]>=40); | ^~~~~~ MeshQuad.cpp:674:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 674 | assert(kk<7 && kk >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:674:7: note: in expansion of macro 'assert' 674 | assert(kk<7 && kk >0); | ^~~~~~ MeshQuad.cpp:690:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 690 | assert(nbmkadj< 10); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:690:8: note: in expansion of macro 'assert' 690 | assert(nbmkadj< 10); | ^~~~~~ MeshQuad.cpp:706:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 706 | assert (kedge[3*i+i0]>=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:706:5: note: in expansion of macro 'assert' 706 | assert (kedge[3*i+i0]>=0); | ^~~~~~ MeshQuad.cpp:720:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 720 | assert (kedge[3*i+k1]>=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:720:13: note: in expansion of macro 'assert' 720 | assert (kedge[3*i+k1]>=0); | ^~~~~~ MeshQuad.cpp:721:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 721 | assert (kedge[3*i+k2]>=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:721:13: note: in expansion of macro 'assert' 721 | assert (kedge[3*i+k2]>=0); | ^~~~~~ MeshQuad.cpp:743:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 743 | assert(kedge[3*i+k0] >=0 && kedge[3*i+k1] >=0 && kedge[3*i+k2] >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:743:5: note: in expansion of macro 'assert' 743 | assert(kedge[3*i+k0] >=0 && kedge[3*i+k1] >=0 && kedge[3*i+k2] >=0); | ^~~~~~ MeshQuad.cpp:824:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 824 | assert(nbmkadj<=13);// 13 = 6 + 4 + 3 | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:824:8: note: in expansion of macro 'assert' 824 | assert(nbmkadj<=13);// 13 = 6 + 4 + 3 | ^~~~~~ MeshQuad.cpp:668:18: warning: unused variable 'tc' [-Wunused-variable] 668 | Triangle * tc=0; | ^~ MeshQuad.cpp:670:12: warning: variable 'mkadj' set but not used [-Wunused-but-set-variable] 670 | Int4 mkadj [100]; | ^~~~~ MeshQuad.cpp:859:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 859 | SetIntCoor("In SplitElement"); | ^~~~~~~~~~~~~~~~~ MeshQuad.cpp:353:6: warning: unused variable 'nswap' [-Wunused-variable] 353 | int nswap =0; | ^~~~~ MeshQuad.cpp:416:7: warning: unused variable 'kerr' [-Wunused-variable] 416 | 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] 241 | 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:57:83: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 57 | ( isspace(c) ? (( ( c=='\n'|| c==char(12) || c==char(15)) && (LineNumber++,cmm=0)),1) : (cmm || (c=='#' && (cmm=1) )) ) ); | ~~~^~ Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 56 | 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' 58 | 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] 50 | const char * CurrentFile; | ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] 49 | int LineNumber,LineError,opened; | ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] 77 | MeshIstream(const char * file_name) | ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 80 | 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' 80 | 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] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | IFortranUnFormattedFile(MeshIstream & ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | OFortranUnFormattedFile(ostream &ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | 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] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] 72 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | 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] 505 | int state; | ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] 502 | int MaxSize; // | ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | ListofIntersectionTriangles(int n=256,int m=16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] 508 | int NbSeg; | ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] 507 | int MaxNbSeg; | ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | 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:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] 604 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] 605 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] 607 | 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:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | 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] 713 | Triangles & BTh; // Background Mesh Bth==*this =>no background | ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] 712 | Geometry & Gh; // Geometry | ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] 761 | 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:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | 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] 1099 | if (gv) | ^ In file included from QuadTree.cpp:22: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | 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] 196 | 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] 279 | if (b=b->b[k]) | ~^~~~~~~~ QuadTree.cpp:237:10: warning: variable 'h' set but not used [-Wunused-but-set-variable] 237 | Icoor1 h=MaxISize; | ^ In file included from QuadTree.cpp:22: QuadTree.cpp: In member function 'void QuadTree::Add(Vertex&)': QuadTree.cpp:325:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 325 | assert(l); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.cpp:325:3: note: in expansion of macro 'assert' 325 | 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] 63 | Triangles *th; | ^~ QuadTree.h:59:9: warning: 'long int QuadTree::lenStorageQuadTreeBox' [-Wreorder] 59 | long lenStorageQuadTreeBox; | ^~~~~~~~~~~~~~~~~~~~~ QuadTree.cpp:355:1: warning: when initialized here [-Wreorder] 355 | 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] 65 | long NbQuadTreeBox,NbVertices; | ^~~~~~~~~~ QuadTree.h:64:8: warning: 'long int QuadTree::NbQuadTreeBoxSearch' [-Wreorder] 64 | long NbQuadTreeBoxSearch,NbVerticesSearch; | ^~~~~~~~~~~~~~~~~~~ QuadTree.cpp:355:1: warning: when initialized here [-Wreorder] 355 | QuadTree::QuadTree(Triangles * t,long nbv) : | ^~~~~~~~ In file included from QuadTree.cpp:22: QuadTree.cpp:366:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 366 | assert( MaxISize > MaxICoor); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.cpp:366:3: note: in expansion of macro 'assert' 366 | 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] 63 | Triangles *th; | ^~ QuadTree.h:59:9: warning: 'long int QuadTree::lenStorageQuadTreeBox' [-Wreorder] 59 | long lenStorageQuadTreeBox; | ^~~~~~~~~~~~~~~~~~~~~ QuadTree.cpp:374:1: warning: when initialized here [-Wreorder] 374 | QuadTree::QuadTree() : | ^~~~~~~~ In file included from QuadTree.cpp:23: QuadTree.h:65:22: warning: 'QuadTree::NbVertices' will be initialized after [-Wreorder] 65 | long NbQuadTreeBox,NbVertices; | ^~~~~~~~~~ QuadTree.h:64:8: warning: 'long int QuadTree::NbQuadTreeBoxSearch' [-Wreorder] 64 | long NbQuadTreeBoxSearch,NbVerticesSearch; | ^~~~~~~~~~~~~~~~~~~ QuadTree.cpp:374:1: warning: when initialized here [-Wreorder] 374 | QuadTree::QuadTree() : | ^~~~~~~~ In file included from QuadTree.cpp:22: QuadTree.cpp: In constructor 'QuadTree::StorageQuadTreeBox::StorageQuadTreeBox(long int, QuadTree::StorageQuadTreeBox*)': QuadTree.cpp:394:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 394 | assert(b); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.cpp:394:3: note: in expansion of macro 'assert' 394 | 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] 499 | if (b=b->b[k]) | ~^~~~~~~~ QuadTree.cpp:429:11: warning: unused variable 'vc' [-Wunused-variable] 429 | 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:57:83: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 57 | ( isspace(c) ? (( ( c=='\n'|| c==char(12) || c==char(15)) && (LineNumber++,cmm=0)),1) : (cmm || (c=='#' && (cmm=1) )) ) ); | ~~~^~ Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 56 | 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' 58 | 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] 50 | const char * CurrentFile; | ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] 49 | int LineNumber,LineError,opened; | ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] 77 | MeshIstream(const char * file_name) | ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 80 | 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' 80 | 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] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | IFortranUnFormattedFile(MeshIstream & ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | OFortranUnFormattedFile(ostream &ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | OFortranUnFormattedFile(ostream &ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.cpp: In function 'void WriteStr(std::ostream&, char*)': Meshio.cpp:25:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 25 | while (i++,c=*str++) { | ~^~~~~~~ Meshio.cpp: In function 'double* ReadBBFile(const char*, long int&, long int&, int*&, int, int)': Meshio.cpp:73:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | char * charoftype[] = { "Scalar" , "dim Vector" ,"dim x dim Sym-Matric","dim x dim Full-Matric" } ; | ^~~~~~~~ Meshio.cpp:73:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | char * charoftype[] = { "Scalar" , "dim Vector" ,"dim x dim Sym-Matric","dim x dim Full-Matric" } ; | ^~~~~~~~~~~~ Meshio.cpp:73:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | char * charoftype[] = { "Scalar" , "dim Vector" ,"dim x dim Sym-Matric","dim x dim Full-Matric" } ; | ^~~~~~~~~~~~~~~~~~~~~~ Meshio.cpp:73:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | char * charoftype[] = { "Scalar" , "dim Vector" ,"dim x dim Sym-Matric","dim x dim Full-Matric" } ; | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.cpp:73:10: warning: unused variable 'charoftype' [-Wunused-variable] 73 | 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:57:83: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 57 | ( isspace(c) ? (( ( c=='\n'|| c==char(12) || c==char(15)) && (LineNumber++,cmm=0)),1) : (cmm || (c=='#' && (cmm=1) )) ) ); | ~~~^~ Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 56 | 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' 58 | 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] 50 | const char * CurrentFile; | ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] 49 | int LineNumber,LineError,opened; | ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] 77 | MeshIstream(const char * file_name) | ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 80 | 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' 80 | 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] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | IFortranUnFormattedFile(MeshIstream & ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | OFortranUnFormattedFile(ostream &ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | 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] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] 72 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | 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] 505 | int state; | ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] 502 | int MaxSize; // | ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | ListofIntersectionTriangles(int n=256,int m=16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] 508 | int NbSeg; | ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] 507 | int MaxNbSeg; | ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | 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:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] 604 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] 605 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] 607 | 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:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | 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] 713 | Triangles & BTh; // Background Mesh Bth==*this =>no background | ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] 712 | Geometry & Gh; // Geometry | ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] 761 | 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:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | 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] 1099 | if (gv) | ^ In file included from Metric.cpp:18: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | 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] 38 | const double c11 = a11*a11, c21= a21*a21; | ^~~ Metric.cpp:39:16: warning: unused variable 'd11' [-Wunused-variable] 39 | 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)': Metric.cpp:213:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 213 | assert(hmax>0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:213:3: note: in expansion of macro 'assert' 213 | assert(hmax>0); | ^~~~~~ Metric.cpp:240:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 240 | assert(ht>0 && hn>0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:240:4: note: in expansion of macro 'assert' 240 | 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] 548 | Real8 xx = V.x-V.y; | ^~ Metric.cpp:549:10: warning: unused variable 'yy' [-Wunused-variable] 549 | Real8 yy = V.x + V.y; | ^~ In file included from Metric.cpp:18: Metric.cpp:575:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 575 | assert(det33); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:575:3: note: in expansion of macro 'assert' 575 | assert(det33); | ^~~~~~ Metric.cpp:529:9: warning: variable 'lla' set but not used [-Wunused-but-set-variable] 529 | Real8 lla,llb,llc,llf; | ^~~ Metric.cpp:529:13: warning: variable 'llb' set but not used [-Wunused-but-set-variable] 529 | Real8 lla,llb,llc,llf; | ^~~ Metric.cpp:529:17: warning: variable 'llc' set but not used [-Wunused-but-set-variable] 529 | Real8 lla,llb,llc,llf; | ^~~ Metric.cpp:529:21: warning: variable 'llf' set but not used [-Wunused-but-set-variable] 529 | Real8 lla,llb,llc,llf; | ^~~ Metric.cpp:375:27: warning: unused variable 'ssiii' [-Wunused-variable] 375 | double *ss=(double*)s, *ssiii = ss; | ^~~~~ Metric.cpp: In member function 'void Triangles::MaxSubDivision(Real8)': Metric.cpp:877:11: warning: the compiler can assume that the address of 'tt' will never be NULL [-Waddress] 877 | if ( ! &tt || it < Number(tt) && ( tt.link || t.link)) | ^~~ Metric.cpp:877:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 877 | 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)': Metric.cpp:963:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 963 | assert(t); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:963:2: note: in expansion of macro 'assert' 963 | assert(t); | ^~~~~~ Metric.cpp:972:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 972 | assert(vertices+i == ta.EdgeVertex(1)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:972:4: note: in expansion of macro 'assert' 972 | assert(vertices+i == ta.EdgeVertex(1)); | ^~~~~~ Metric.cpp:974:9: warning: the compiler can assume that the address of 'vj' will never be NULL [-Waddress] 974 | if ( &vj ) { | ^~~ In file included from Metric.cpp:18: Metric.cpp:976:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 976 | assert(j>=0 && j < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:976:6: note: in expansion of macro 'assert' 976 | assert(j>=0 && j < nbv); | ^~~~~~ Metric.cpp: In function 'Real8 LengthInterpole(MetricAnIso, MetricAnIso, R2)': Metric.cpp:1122:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1122 | assert(i<512); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:1122:3: note: in expansion of macro 'assert' 1122 | assert(i<512); | ^~~~~~ Metric.cpp: In function 'Real8 abscisseInterpole(MetricAnIso, MetricAnIso, R2, Real8, int)': Metric.cpp:1159:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1159 | assert(r<=1 && r>=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:1159:3: note: in expansion of macro 'assert' 1159 | 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:57:83: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 57 | ( isspace(c) ? (( ( c=='\n'|| c==char(12) || c==char(15)) && (LineNumber++,cmm=0)),1) : (cmm || (c=='#' && (cmm=1) )) ) ); | ~~~^~ Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 56 | 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' 58 | 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] 50 | const char * CurrentFile; | ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] 49 | int LineNumber,LineError,opened; | ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] 77 | MeshIstream(const char * file_name) | ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 80 | 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' 80 | 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] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | IFortranUnFormattedFile(MeshIstream & ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | OFortranUnFormattedFile(ostream &ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | 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] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] 72 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | 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] 505 | int state; | ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] 502 | int MaxSize; // | ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | ListofIntersectionTriangles(int n=256,int m=16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] 508 | int NbSeg; | ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] 507 | int MaxNbSeg; | ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | 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:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] 604 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] 605 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] 607 | 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:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | 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] 713 | Triangles & BTh; // Background Mesh Bth==*this =>no background | ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] 712 | Geometry & Gh; // Geometry | ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] 761 | 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:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | 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] 1099 | if (gv) | ^ In file included from bamg.cpp:25: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | 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] 433 | if (verbosity) | ^ In file included from bamg.cpp:25: bamg.cpp:560:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 560 | assert(lsolbb==BTh.nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ bamg.cpp:560:7: note: in expansion of macro 'assert' 560 | assert(lsolbb==BTh.nbv); | ^~~~~~ bamg.cpp:576:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 576 | assert(lsolBB==BTh.nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ bamg.cpp:576:7: note: in expansion of macro 'assert' 576 | assert(lsolBB==BTh.nbv); | ^~~~~~ bamg.cpp:604:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 604 | if ( NoMeshReconstruction) | ^ In file included from bamg.cpp:25: bamg.cpp:688:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 688 | assert(dim==2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ bamg.cpp:688:8: note: in expansion of macro 'assert' 688 | assert(dim==2); | ^~~~~~ bamg.cpp:124:8: warning: unused variable 'typesolsbb' [-Wunused-variable] 124 | 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:57:83: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 57 | ( isspace(c) ? (( ( c=='\n'|| c==char(12) || c==char(15)) && (LineNumber++,cmm=0)),1) : (cmm || (c=='#' && (cmm=1) )) ) ); | ~~~^~ Meshio.h:56:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 56 | 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' 58 | 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] 50 | const char * CurrentFile; | ^~~~~~~~~~~ Meshio.h:49:7: warning: 'int MeshIstream::LineNumber' [-Wreorder] 49 | int LineNumber,LineError,opened; | ^~~~~~~~~~ Meshio.h:77:3: warning: when initialized here [-Wreorder] 77 | MeshIstream(const char * file_name) | ^~~~~~~~~~~ Meshio.h:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 80 | 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' 80 | 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] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:109:3: warning: when initialized here [-Wreorder] 109 | IFortranUnFormattedFile(char *name) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h: In constructor 'IFortranUnFormattedFile::IFortranUnFormattedFile(MeshIstream&)': Meshio.h:105:13: warning: 'IFortranUnFormattedFile::f' will be initialized after [-Wreorder] 105 | istream * f; | ^ Meshio.h:104:8: warning: 'long int IFortranUnFormattedFile::i' [-Wreorder] 104 | long i,l,n,j,nb_rec; | ^ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | IFortranUnFormattedFile(MeshIstream & ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:107:16: warning: 'IFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 107 | const char * file_name; | ^~~~~~~~~ Meshio.h:106:7: warning: 'int IFortranUnFormattedFile::to_close' [-Wreorder] 106 | int to_close; | ^~~~~~~~ Meshio.h:114:3: warning: when initialized here [-Wreorder] 114 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | OFortranUnFormattedFile(const char *name,IOS_OPENMODE mm=ios::trunc) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:136:3: warning: when initialized here [-Wreorder] 136 | 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] 130 | ostream * f; | ^ Meshio.h:129:8: warning: 'long int OFortranUnFormattedFile::i' [-Wreorder] 129 | long i,l,n,j,nb_rec; | ^ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | OFortranUnFormattedFile(ostream &ff) | ^~~~~~~~~~~~~~~~~~~~~~~ Meshio.h:133:16: warning: 'OFortranUnFormattedFile::file_name' will be initialized after [-Wreorder] 133 | const char * file_name; | ^~~~~~~~~ Meshio.h:132:7: warning: 'int OFortranUnFormattedFile::to_close' [-Wreorder] 132 | int to_close; | ^~~~~~~~ Meshio.h:139:3: warning: when initialized here [-Wreorder] 139 | 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] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:71:13: warning: 'Real8 MetricAnIso::a21' [-Wreorder] 71 | Real8 a11,a21,a22; | ^~~ Metric.h:72:3: warning: when initialized here [-Wreorder] 72 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | 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] 505 | int state; | ^~~~~ Mesh2.h:502:7: warning: 'int ListofIntersectionTriangles::MaxSize' [-Wreorder] 502 | int MaxSize; // | ^~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | ListofIntersectionTriangles(int n=256,int m=16) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mesh2.h:508:7: warning: 'ListofIntersectionTriangles::NbSeg' will be initialized after [-Wreorder] 508 | int NbSeg; | ^~~~~ Mesh2.h:507:7: warning: 'int ListofIntersectionTriangles::MaxNbSeg' [-Wreorder] 507 | int MaxNbSeg; | ^~~~~~~~ Mesh2.h:513:3: warning: when initialized here [-Wreorder] 513 | 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:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:604:3: warning: when initialized here [-Wreorder] 604 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:605:3: warning: when initialized here [-Wreorder] 605 | 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] 596 | Vertex * mv; | ^~ Mesh2.h:595:9: warning: 'Real8 VertexOnGeom::abscisse' [-Wreorder] 595 | Real8 abscisse; | ^~~~~~~~ Mesh2.h:607:3: warning: when initialized here [-Wreorder] 607 | 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:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | 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] 713 | Triangles & BTh; // Background Mesh Bth==*this =>no background | ^~~ Mesh2.h:712:14: warning: 'Geometry& Triangles::Gh' [-Wreorder] 712 | Geometry & Gh; // Geometry | ^~ Mesh2.h:761:3: warning: when initialized here [-Wreorder] 761 | 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:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | 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] 1099 | if (gv) | ^ In file included from cvmsh2.cpp:23: Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | assert(lBegin<= s && s <=lEnd); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | assert(nw); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:1342:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1342 | assert(a < 3 && a >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1342:3: note: in expansion of macro 'assert' 1342 | assert(a < 3 && a >= 0 ); | ^~~~~~ Mesh2.h:1346:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1346 | assert(a2 < 3 && a2 >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1346:3: note: in expansion of macro 'assert' 1346 | assert(a2 < 3 && a2 >= 0 ); | ^~~~~~ Mesh2.h:1365:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1365 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1365:7: note: in expansion of macro 'assert' 1365 | assert(0); | ^~~~~~ Mesh2.h:1367:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1367:13: note: in expansion of macro 'assert' 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:1406:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1406 | assert(ns[0] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1406:3: note: in expansion of macro 'assert' 1406 | assert(ns[0] != ns[2]); | ^~~~~~ Mesh2.h:1407:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1407 | assert(ns[1] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1407:3: note: in expansion of macro 'assert' 1407 | assert(ns[1] != ns[2]); | ^~~~~~ Mesh2.h:1408:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1408 | assert(ns[0] != ns[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1408:3: note: in expansion of macro 'assert' 1408 | assert(ns[0] != ns[1]); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | assert(sb && (sb->bc->n == 0)); | ^~~~~~ Mesh2.cpp: In function 'void swap(Triangle*, Int1, Triangle*, Int1, Vertex*, Vertex*, Icoor2, Icoor2)': Mesh2.cpp:141:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | assert( ! ta1.Locked()); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:141:3: note: in expansion of macro 'assert' 141 | assert( ! ta1.Locked()); | ^~~~~~ Mesh2.cpp:142:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 142 | assert( ! ta2.Locked()); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:142:3: note: in expansion of macro 'assert' 142 | assert( ! ta2.Locked()); | ^~~~~~ Mesh2.cpp: In member function 'Triangle* Triangles::FindTriangleContening(const I2&, Icoor2*, Triangle*) const': Mesh2.cpp:191:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 191 | assert(quadtree); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:191:4: note: in expansion of macro 'assert' 191 | assert(quadtree); | ^~~~~~ Mesh2.cpp:201:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 201 | assert(a>= vertices && a < vertices+nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:201:3: note: in expansion of macro 'assert' 201 | assert(a>= vertices && a < vertices+nbv); | ^~~~~~ Mesh2.cpp:207:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 207 | assert(t>= triangles && t < triangles+nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:207:3: note: in expansion of macro 'assert' 207 | assert(t>= triangles && t < triangles+nbt); | ^~~~~~ Mesh2.cpp:216:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 216 | assert(k0>=0); // k0 the NULL vertex | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:216:7: note: in expansion of macro 'assert' 216 | assert(k0>=0); // k0 the NULL vertex | ^~~~~~ Mesh2.cpp:223:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 223 | assert(kkkk++ < 2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:223:7: note: in expansion of macro 'assert' 223 | assert(kkkk++ < 2); | ^~~~~~ Mesh2.cpp:231:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 231 | assert( kkkk++ < 2000 /* infinity loop */ ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:231:7: note: in expansion of macro 'assert' 231 | assert( kkkk++ < 2000 /* infinity loop */ ); | ^~~~~~ Mesh2.cpp:247:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 247 | assert(dete[0] == det(B ,*s1,*s2)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:247:7: note: in expansion of macro 'assert' 247 | assert(dete[0] == det(B ,*s1,*s2)); | ^~~~~~ Mesh2.cpp:248:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 248 | assert(dete[1] == det(*s0,B ,*s2)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:248:7: note: in expansion of macro 'assert' 248 | assert(dete[1] == det(*s0,B ,*s2)); | ^~~~~~ Mesh2.cpp:249:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 249 | assert(dete[2] == det(*s0,*s1,B )); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:249:7: note: in expansion of macro 'assert' 249 | assert(dete[2] == det(*s0,*s1,B )); | ^~~~~~ Mesh2.cpp:250:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 250 | assert(t->det== (dete[0] + dete[1] +dete[2])); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:250:7: note: in expansion of macro 'assert' 250 | assert(t->det== (dete[0] + dete[1] +dete[2])); | ^~~~~~ Mesh2.cpp:265:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 265 | assert ( k < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:265:7: note: in expansion of macro 'assert' 265 | assert ( k < 3); | ^~~~~~ Mesh2.cpp: In function 'Int4 FindTriangle(Triangles&, Real8, Real8, double*, int&)': Mesh2.cpp:284:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 284 | assert(&Th); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:284:4: note: in expansion of macro 'assert' 284 | assert(&Th); | ^~~~~~ Mesh2.cpp:309:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 309 | assert(tc->link); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:309:3: note: in expansion of macro 'assert' 309 | assert(tc->link); | ^~~~~~ Mesh2.cpp: In function 'TriangleAdjacent CloseBoundaryEdge(I2, Triangle*, double&, double&)': Mesh2.cpp:324:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 324 | assert(k>=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:324:3: note: in expansion of macro 'assert' 324 | assert(k>=0); | ^~~~~~ Mesh2.cpp:331:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 331 | assert(kkk++<1000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:331:5: note: in expansion of macro 'assert' 331 | assert(kkk++<1000); | ^~~~~~ Mesh2.cpp:347:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 347 | assert(IJ2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:347:5: note: in expansion of macro 'assert' 347 | assert(IJ2); | ^~~~~~ Mesh2.cpp: In member function 'TriangleAdjacent Triangle::FindBoundaryEdge(int) const': Mesh2.cpp:368:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 368 | assert( s == & (*t)[VerticesOfTriangularEdge[j][1]] ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:368:7: note: in expansion of macro 'assert' 368 | assert( s == & (*t)[VerticesOfTriangularEdge[j][1]] ); | ^~~~~~ Mesh2.cpp:377:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 377 | assert(k<2000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:377:7: note: in expansion of macro 'assert' 377 | assert(k<2000); | ^~~~~~ Mesh2.cpp: In function 'TriangleAdjacent CloseBoundaryEdgeV2(I2, Triangle*, double&, double&)': Mesh2.cpp:392:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 392 | assert(t->link == 0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:392:3: note: in expansion of macro 'assert' 392 | assert(t->link == 0); | ^~~~~~ Mesh2.cpp:471:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 471 | assert(cas !=-2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:471:4: note: in expansion of macro 'assert' 471 | assert(cas !=-2); | ^~~~~~ Mesh2.cpp:487:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 487 | assert(edge.EdgeVertex(0)==s && kkk++<10000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:487:3: note: in expansion of macro 'assert' 487 | assert(edge.EdgeVertex(0)==s && kkk++<10000); | ^~~~~~ Mesh2.cpp:523:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 523 | assert((Triangle *) er); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:523:8: note: in expansion of macro 'assert' 523 | assert((Triangle *) er); | ^~~~~~ Mesh2.cpp: In member function 'void ListofIntersectionTriangles::SplitEdge(const Triangles&, const R2&, const R2&, int)': Mesh2.cpp:621:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 621 | assert(k>=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:621:7: note: in expansion of macro 'assert' 621 | assert(k>=0); | ^~~~~~ Mesh2.cpp:692:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 692 | assert(i+j+k == 0 + 1 +2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:692:2: note: in expansion of macro 'assert' 692 | assert(i+j+k == 0 + 1 +2); | ^~~~~~ Mesh2.cpp:785:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 785 | assert(dt[0] >= 0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:785:7: note: in expansion of macro 'assert' 785 | assert(dt[0] >= 0); | ^~~~~~ Mesh2.cpp:786:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 786 | assert(dt[1] >= 0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:786:7: note: in expansion of macro 'assert' 786 | assert(dt[1] >= 0); | ^~~~~~ Mesh2.cpp:787:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 787 | assert(dt[2] >= 0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:787:7: note: in expansion of macro 'assert' 787 | assert(dt[2] >= 0); | ^~~~~~ Mesh2.cpp: In member function 'Real8 ListofIntersectionTriangles::Length()': Mesh2.cpp:866:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 866 | assert(Size>0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:866:3: note: in expansion of macro 'assert' 866 | assert(Size>0); | ^~~~~~ Mesh2.cpp: In member function 'Int4 ListofIntersectionTriangles::NewPoints(Vertex*, Int4&, Int4)': Mesh2.cpp:952:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 952 | assert( sx <= si); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:952:7: note: in expansion of macro 'assert' 952 | assert( sx <= si); | ^~~~~~ Mesh2.cpp:953:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 953 | assert( si <= sy); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:953:7: note: in expansion of macro 'assert' 953 | assert( si <= sy); | ^~~~~~ Mesh2.cpp:954:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 954 | assert( sy != sx); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:954:7: note: in expansion of macro 'assert' 954 | assert( sy != sx); | ^~~~~~ Mesh2.cpp: In function 'int SwapForForcingEdge(Vertex*&, Vertex*&, TriangleAdjacent&, Icoor2&, Icoor2&, Icoor2&, int&)': Mesh2.cpp:996:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 996 | assert ( a1 >= 0 && a1 < 3 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:996:3: note: in expansion of macro 'assert' 996 | assert ( a1 >= 0 && a1 < 3 ); | ^~~~~~ Mesh2.cpp:1010:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1010 | assert(wdets1 == dets1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1010:3: note: in expansion of macro 'assert' 1010 | assert(wdets1 == dets1); | ^~~~~~ Mesh2.cpp:1011:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1011 | assert(wdetsa == detsa); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1011:3: note: in expansion of macro 'assert' 1011 | assert(wdetsa == detsa); | ^~~~~~ Mesh2.cpp:1012:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1012 | assert(wdetsb == detsb); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1012:3: note: in expansion of macro 'assert' 1012 | assert(wdetsb == detsb); | ^~~~~~ Mesh2.cpp:1017:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1017 | assert(det1>0 && det2 >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1017:3: note: in expansion of macro 'assert' 1017 | assert(det1>0 && det2 >0); | ^~~~~~ Mesh2.cpp:1022:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1022 | assert(det1 == ddet1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1022:7: note: in expansion of macro 'assert' 1022 | assert(det1 == ddet1); | ^~~~~~ Mesh2.cpp:1023:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1023 | assert(det2 == ddet2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1023:7: note: in expansion of macro 'assert' 1023 | assert(det2 == ddet2); | ^~~~~~ Mesh2.cpp:1040:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1040 | assert( ( (detvasasb <= 0) && (detvbsasb >= 0)) || ( (detvasasb >= 0) && (detvbsasb <= 0))); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1040:6: note: in expansion of macro 'assert' 1040 | assert( ( (detvasasb <= 0) && (detvbsasb >= 0)) || ( (detvasasb >= 0) && (detvbsasb <= 0))); | ^~~~~~ Mesh2.cpp:1044:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1044 | assert((det1>0 ) && (det2 > 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1044:3: note: in expansion of macro 'assert' 1044 | assert((det1>0 ) && (det2 > 0)); | ^~~~~~ Mesh2.cpp:1045:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1045 | assert ( (detsa < 0) && (detsb >0) ); // [a,b] cut infinite line va,bb | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1045:3: note: in expansion of macro 'assert' 1045 | assert ( (detsa < 0) && (detsb >0) ); // [a,b] cut infinite line va,bb | ^~~~~~ Mesh2.cpp: In function 'int ForceEdge(Vertex&, Vertex&, TriangleAdjacent&)': Mesh2.cpp:1130:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1130 | assert(a.t && b.t); // the 2 vertex is in a mesh | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1130:3: note: in expansion of macro 'assert' 1130 | assert(a.t && b.t); // the 2 vertex is in a mesh | ^~~~~~ Mesh2.cpp:1145:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1145 | assert(v2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1145:5: note: in expansion of macro 'assert' 1145 | assert(v2); | ^~~~~~ Mesh2.cpp:1160:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1160 | assert( v1 == tta.EdgeVertex(0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1160:5: note: in expansion of macro 'assert' 1160 | assert( v1 == tta.EdgeVertex(0)); | ^~~~~~ Mesh2.cpp:1161:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1161 | assert( &a == tc.EdgeVertex(1) ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1161:5: note: in expansion of macro 'assert' 1161 | assert( &a == tc.EdgeVertex(1) ); | ^~~~~~ Mesh2.cpp:1169:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1169 | assert ( v1 && v2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1169:7: note: in expansion of macro 'assert' 1169 | assert ( v1 && v2); | ^~~~~~ Mesh2.cpp:1178:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1178 | assert(ForDebugging==0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1178:4: note: in expansion of macro 'assert' 1178 | assert(ForDebugging==0); | ^~~~~~ Mesh2.cpp:1226:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1226 | assert(k++<2000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1226:5: note: in expansion of macro 'assert' 1226 | assert(k++<2000); | ^~~~~~ Mesh2.cpp: In member function 'int Triangle::swap(Int2, int)': Mesh2.cpp:1263:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1263 | assert ( a >= 0 && a < 3 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1263:3: note: in expansion of macro 'assert' 1263 | assert ( a >= 0 && a < 3 ); | ^~~~~~ Mesh2.cpp: In member function 'Real8 Vertex::Smoothing(Triangles&, const Triangles&, Triangle*&, Real8)': Mesh2.cpp:1398:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1398 | assert( s == & (*tria)[VerticesOfTriangularEdge[j][1]] ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1398:5: note: in expansion of macro 'assert' 1398 | assert( s == & (*tria)[VerticesOfTriangularEdge[j][1]] ); | ^~~~~~ Mesh2.cpp:1399:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1399 | assert( tria->det >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1399:5: note: in expansion of macro 'assert' 1399 | assert( tria->det >0); | ^~~~~~ Mesh2.cpp:1414:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1414 | assert(k<2000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1414:6: note: in expansion of macro 'assert' 1414 | assert(k<2000); | ^~~~~~ Mesh2.cpp:1485:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1485 | assert(k<2000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1485:2: note: in expansion of macro 'assert' 1485 | assert(k<2000); | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::Add(Vertex&, Triangle*, Icoor2*)': Mesh2.cpp:1628:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1628 | assert(rswap); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1628:5: note: in expansion of macro 'assert' 1628 | assert(rswap); | ^~~~~~ Mesh2.cpp: In member function 'Int4 Triangles::SplitInternalEdgeWithBorderVertices()': Mesh2.cpp:1719:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1719 | assert (tcvi && tcvi->det >= 0) ;// internal | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1719:7: note: in expansion of macro 'assert' 1719 | assert (tcvi && tcvi->det >= 0) ;// internal | ^~~~~~ Mesh2.cpp: In member function 'Int4 Triangles::InsertNewPoints(Int4, Int4&)': Mesh2.cpp:1778:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1778 | assert( &vj== ordre[j]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1778:2: note: in expansion of macro 'assert' 1778 | assert( &vj== ordre[j]); | ^~~~~~ Mesh2.cpp:1809:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1809 | assert (tcvj && tcvj->det >= 0) ;// internal | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1809:2: note: in expansion of macro 'assert' 1809 | assert (tcvj && tcvj->det >= 0) ;// internal | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::NewPoints(Triangles&, int)': Mesh2.cpp:1947:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1947 | assert(i>=0 && i < nbt ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:1947:7: note: in expansion of macro 'assert' 1947 | assert(i>=0 && i < nbt ); | ^~~~~~ Mesh2.cpp:2004:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2004 | assert( ta.EdgeVertex(0) == s); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2004:3: note: in expansion of macro 'assert' 2004 | assert( ta.EdgeVertex(0) == s); | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::NewPointsOld(Triangles&)': Mesh2.cpp:2084:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2084 | assert(i>=0 && i < nbt ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2084:7: note: in expansion of macro 'assert' 2084 | assert(i>=0 && i < nbt ); | ^~~~~~ Mesh2.cpp:2136:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2136 | assert ((*t)(VerticesOfTriangularEdge[j][0]) == (*ta)(VerticesOfTriangularEdge[kk][1])); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2136:6: note: in expansion of macro 'assert' 2136 | assert ((*t)(VerticesOfTriangularEdge[j][0]) == (*ta)(VerticesOfTriangularEdge[kk][1])); | ^~~~~~ Mesh2.cpp:2137:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2137 | assert ((*t)(VerticesOfTriangularEdge[j][1]) == (*ta)(VerticesOfTriangularEdge[kk][0])); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2137:6: note: in expansion of macro 'assert' 2137 | assert ((*t)(VerticesOfTriangularEdge[j][1]) == (*ta)(VerticesOfTriangularEdge[kk][0])); | ^~~~~~ Mesh2.cpp:2278:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2278 | assert(i1 < nbv && i1 >= 0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2278:8: note: in expansion of macro 'assert' 2278 | assert(i1 < nbv && i1 >= 0); | ^~~~~~ Mesh2.cpp:2279:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2279 | assert(i0 < nbv && i0 >= 0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2279:8: note: in expansion of macro 'assert' 2279 | assert(i0 < nbv && i0 >= 0); | ^~~~~~ Mesh2.cpp:2280:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2280 | assert(i1 != i0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2280:8: note: in expansion of macro 'assert' 2280 | assert(i1 != i0); | ^~~~~~ Mesh2.cpp:2294:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2294 | assert (i0 >= nbvold); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2294:8: note: in expansion of macro 'assert' 2294 | assert (i0 >= nbvold); | ^~~~~~ Mesh2.cpp:2295:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2295 | assert (i1 >= nbvold); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2295:8: note: in expansion of macro 'assert' 2295 | assert (i1 >= nbvold); | ^~~~~~ Mesh2.cpp:2296:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2296 | assert(i0 != i1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2296:8: note: in expansion of macro 'assert' 2296 | assert(i0 != i1); | ^~~~~~ Mesh2.cpp:2405:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2405 | assert (tcvi->det >= 0) ;// internal | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2405:7: note: in expansion of macro 'assert' 2405 | assert (tcvi->det >= 0) ;// internal | ^~~~~~ Mesh2.cpp:2432:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2432 | assert( ta.EdgeVertex(0) == s); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2432:3: note: in expansion of macro 'assert' 2432 | assert( ta.EdgeVertex(0) == s); | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::FindSubDomain(int)': Mesh2.cpp:2771:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2771 | assert(k== NbSubDomains); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2771:7: note: in expansion of macro 'assert' 2771 | assert(k== NbSubDomains); | ^~~~~~ Mesh2.cpp:2851:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2851 | assert(&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2851:9: note: in expansion of macro 'assert' 2851 | assert(&e); | ^~~~~~ Mesh2.cpp:2864:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2864 | assert(t && sens); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2864:9: note: in expansion of macro 'assert' 2864 | assert(t && sens); | ^~~~~~ Mesh2.cpp:2868:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2868 | assert( v0 == ta.EdgeVertex(1) ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2868:10: note: in expansion of macro 'assert' 2868 | assert( v0 == ta.EdgeVertex(1) ); | ^~~~~~ Mesh2.cpp:2895:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2895 | assert(mark[Number(tt)]<0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:2895:7: note: in expansion of macro 'assert' 2895 | assert(mark[Number(tt)]<0); | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::ReNumberingTheTriangleBySubDomain()': Mesh2.cpp:3028:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3028 | assert(t0); // no empty sub domain | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3028:6: note: in expansion of macro 'assert' 3028 | assert(t0); // no empty sub domain | ^~~~~~ Mesh2.cpp:3031:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3031 | assert(kt>=0 && kt < nbt ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3031:8: note: in expansion of macro 'assert' 3031 | assert(kt>=0 && kt < nbt ); | ^~~~~~ Mesh2.cpp:3032:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3032 | assert(renu[kt]==-1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3032:8: note: in expansion of macro 'assert' 3032 | assert(renu[kt]==-1); | ^~~~~~ Mesh2.cpp:3045:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3045 | assert(k == nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3045:5: note: in expansion of macro 'assert' 3045 | assert(k == nbt); | ^~~~~~ Mesh2.cpp: In member function 'Int4 Triangles::ConsRefTriangle(Int4*) const': Mesh2.cpp:3080:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3080 | assert(reft); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3080:3: note: in expansion of macro 'assert' 3080 | assert(reft); | ^~~~~~ Mesh2.cpp:3088:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3088 | assert(t0); // no empty sub domain | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3088:6: note: in expansion of macro 'assert' 3088 | assert(t0); // no empty sub domain | ^~~~~~ Mesh2.cpp:3092:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3092 | assert(num>=0 &&num < nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3092:8: note: in expansion of macro 'assert' 3092 | assert(num>=0 &&num < nbt); | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::PreInit(Int4, char*)': Mesh2.cpp:3195:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3195 | assert(vertices); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3195:5: note: in expansion of macro 'assert' 3195 | assert(vertices); | ^~~~~~ Mesh2.cpp:3196:30: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 3196 | ordre=new (Vertex* [nbvx]); | ^ In file included from Mesh2.cpp:24: Mesh2.cpp:3197:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3197 | assert(ordre); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3197:5: note: in expansion of macro 'assert' 3197 | assert(ordre); | ^~~~~~ Mesh2.cpp:3199:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3199 | assert(triangles);} | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3199:5: note: in expansion of macro 'assert' 3199 | assert(triangles);} | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::GeomToTriangles1(Int4, int)': Mesh2.cpp:3272:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3272 | assert(&BTh.Gh == &Gh); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3272:3: note: in expansion of macro 'assert' 3272 | assert(&BTh.Gh == &Gh); | ^~~~~~ Mesh2.cpp:3308:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3308 | assert(vertices); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3308:3: note: in expansion of macro 'assert' 3308 | assert(vertices); | ^~~~~~ Mesh2.cpp:3325:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3325 | assert(gv->to);// use of Geom -> Th | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3325:3: note: in expansion of macro 'assert' 3325 | assert(gv->to);// use of Geom -> Th | ^~~~~~ Mesh2.cpp:3330:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3330 | assert(NbVertexOnBThVertex == NbVerticesOnGeomVertex); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3330:3: note: in expansion of macro 'assert' 3330 | assert(NbVertexOnBThVertex == NbVerticesOnGeomVertex); | ^~~~~~ Mesh2.cpp:3375:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3375 | assert (A0-vertices>=0 && A0-vertices =0 && A0-vertices = L0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3393:6: note: in expansion of macro 'assert' 3393 | assert (sNew >= L0); | ^~~~~~ Mesh2.cpp:3394:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3394 | assert(LAB); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3394:6: note: in expansion of macro 'assert' 3394 | assert(LAB); | ^~~~~~ Mesh2.cpp:3397:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3397 | assert(vertices && nbv=0 && se < 1.000000001); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3405:6: note: in expansion of macro 'assert' 3405 | assert(se>=0 && se < 1.000000001); | ^~~~~~ Mesh2.cpp:3411:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3411 | assert(se>=0 && se <= 1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3411:6: note: in expansion of macro 'assert' 3411 | assert(se>=0 && se <= 1); | ^~~~~~ Mesh2.cpp:3458:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3458 | assert(ee.on->CurveNumber==ei.on->CurveNumber); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3458:9: note: in expansion of macro 'assert' 3458 | assert(ee.on->CurveNumber==ei.on->CurveNumber); | ^~~~~~ Mesh2.cpp:3463:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3463 | assert (A1-vertices>=0 && A1-vertices =0 && A1-vertices 0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:3954:5: note: in expansion of macro 'assert' 3954 | assert(coefIcoor >0); | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::FillHoleInMesh()': Mesh2.cpp:4018:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4018 | assert(ordre); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4018:5: note: in expansion of macro 'assert' 4018 | assert(ordre); | ^~~~~~ Mesh2.cpp:4048:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4048 | assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4048:6: note: in expansion of macro 'assert' 4048 | assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); | ^~~~~~ Mesh2.cpp:4239:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4239 | assert(st[k] >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4239:10: note: in expansion of macro 'assert' 4239 | assert(st[k] >=0); | ^~~~~~ Mesh2.cpp:4260:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4260 | assert(savenbt+NbTfillHoll <= savenbtx ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4260:6: note: in expansion of macro 'assert' 4260 | assert(savenbt+NbTfillHoll <= savenbtx ); | ^~~~~~ Mesh2.cpp: In member function 'Int4 Triangle::Optim(Int2, int)': Mesh2.cpp:4473:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4473 | assert(tp->at[jp] == this); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4473:4: note: in expansion of macro 'assert' 4473 | assert(tp->at[jp] == this); | ^~~~~~ Mesh2.cpp:4477:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4477 | assert(k++<20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4477:5: note: in expansion of macro 'assert' 4477 | assert(k++<20000); | ^~~~~~ Mesh2.cpp:4478:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4478 | assert( s == & (*t)[OppositeVertex[j]] ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4478:5: note: in expansion of macro 'assert' 4478 | assert( s == & (*t)[OppositeVertex[j]] ); | ^~~~~~ Mesh2.cpp:4484:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4484 | assert(k++<20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4484:2: note: in expansion of macro 'assert' 4484 | assert(k++<20000); | ^~~~~~ Mesh2.cpp:4489:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4489 | assert( s == & (*t)[OppositeVertex[j]] ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4489:2: note: in expansion of macro 'assert' 4489 | assert( s == & (*t)[OppositeVertex[j]] ); | ^~~~~~ Mesh2.cpp: In member function 'int Triangles::Crack()': Mesh2.cpp:4623:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4623 | assert(NbCrackedEdges ==0 || NbCrackedVertices >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4623:5: note: in expansion of macro 'assert' 4623 | assert(NbCrackedEdges ==0 || NbCrackedVertices >0); | ^~~~~~ Mesh2.cpp: In member function 'int Triangles::UnCrack()': Mesh2.cpp:4631:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4631 | assert(NbCrackedEdges ==0 || NbCrackedVertices >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4631:3: note: in expansion of macro 'assert' 4631 | assert(NbCrackedEdges ==0 || NbCrackedVertices >0); | ^~~~~~ Mesh2.cpp: In member function 'int Triangles::CrackMesh()': Mesh2.cpp:4684:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4684 | assert(tbegin && (i >= 0 ) && (i <3)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4684:7: note: in expansion of macro 'assert' 4684 | assert(tbegin && (i >= 0 ) && (i <3)); | ^~~~~~ Mesh2.cpp:4695:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4695 | assert(tta.Cracked()); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4695:6: note: in expansion of macro 'assert' 4695 | assert(tta.Cracked()); | ^~~~~~ Mesh2.cpp:4702:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4702 | assert(it < nt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4702:4: note: in expansion of macro 'assert' 4702 | assert(it < nt); | ^~~~~~ Mesh2.cpp:4713:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4713 | assert(k); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.cpp:4713:7: note: in expansion of macro 'assert' 4713 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | assert(lBegin<= s && s <=lEnd); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | assert(nw); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:1342:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1342 | assert(a < 3 && a >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1342:3: note: in expansion of macro 'assert' 1342 | assert(a < 3 && a >= 0 ); | ^~~~~~ Mesh2.h:1346:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1346 | assert(a2 < 3 && a2 >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1346:3: note: in expansion of macro 'assert' 1346 | assert(a2 < 3 && a2 >= 0 ); | ^~~~~~ Mesh2.h:1365:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1365 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1365:7: note: in expansion of macro 'assert' 1365 | assert(0); | ^~~~~~ Mesh2.h:1367:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1367:13: note: in expansion of macro 'assert' 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:1406:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1406 | assert(ns[0] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1406:3: note: in expansion of macro 'assert' 1406 | assert(ns[0] != ns[2]); | ^~~~~~ Mesh2.h:1407:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1407 | assert(ns[1] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1407:3: note: in expansion of macro 'assert' 1407 | assert(ns[1] != ns[2]); | ^~~~~~ Mesh2.h:1408:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1408 | assert(ns[0] != ns[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1408:3: note: in expansion of macro 'assert' 1408 | assert(ns[0] != ns[1]); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | assert(sb && (sb->bc->n == 0)); | ^~~~~~ MeshRead.cpp: In member function 'void Triangles::Read(MeshIstream&, int, Real8)': MeshRead.cpp:47:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | assert(dim ==2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:47:12: note: in expansion of macro 'assert' 47 | assert(dim ==2); | ^~~~~~ MeshRead.cpp:82:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | assert(dim ==2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:82:12: note: in expansion of macro 'assert' 82 | assert(dim ==2); | ^~~~~~ MeshRead.cpp:88:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | assert(vertices); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:88:5: note: in expansion of macro 'assert' 88 | assert(vertices); | ^~~~~~ MeshRead.cpp:89:30: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 89 | ordre=new (Vertex* [nbvx]); | ^ In file included from MeshRead.cpp:7: MeshRead.cpp:90:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | assert(ordre); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:90:5: note: in expansion of macro 'assert' 90 | assert(ordre); | ^~~~~~ MeshRead.cpp:103:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 103 | assert(triangles); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:103:5: note: in expansion of macro 'assert' 103 | assert(triangles); | ^~~~~~ MeshRead.cpp:175:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 175 | assert(VerticesOnGeomVertex); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:175:9: note: in expansion of macro 'assert' 175 | assert(VerticesOnGeomVertex); | ^~~~~~ MeshRead.cpp:193:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 193 | assert(VerticesOnGeomEdge); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:193:9: note: in expansion of macro 'assert' 193 | assert(VerticesOnGeomEdge); | ^~~~~~ MeshRead.cpp:211:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 211 | assert(edges); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:211:11: note: in expansion of macro 'assert' 211 | assert(edges); | ^~~~~~ MeshRead.cpp:223:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 223 | assert(i1 >0 && i2 >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:223:8: note: in expansion of macro 'assert' 223 | assert(i1 >0 && i2 >0); | ^~~~~~ MeshRead.cpp:224:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 224 | assert(i1 <= nbv && i2 <= nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:224:8: note: in expansion of macro 'assert' 224 | assert(i1 <= nbv && i2 <= nbv); | ^~~~~~ MeshRead.cpp:266:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 266 | assert( v == edges[i0 ].v[j0]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:266:7: note: in expansion of macro 'assert' 266 | assert( v == edges[i0 ].v[j0]); | ^~~~~~ MeshRead.cpp:269:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 269 | assert(edges[i0].v[j0] == v); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:269:7: note: in expansion of macro 'assert' 269 | assert(edges[i0].v[j0] == v); | ^~~~~~ MeshRead.cpp:278:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 278 | assert(edges); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:278:4: note: in expansion of macro 'assert' 278 | assert(edges); | ^~~~~~ MeshRead.cpp:308:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 308 | assert (i3==3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:308:3: note: in expansion of macro 'assert' 308 | assert (i3==3); | ^~~~~~ MeshRead.cpp:310:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 310 | assert(head < nbt && head >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:310:3: note: in expansion of macro 'assert' 310 | assert(head < nbt && head >=0); | ^~~~~~ MeshRead.cpp: In member function 'void Triangles::Read_am_fmt(MeshIstream&)': MeshRead.cpp:352:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 352 | assert(triangles); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:352:6: note: in expansion of macro 'assert' 352 | assert(triangles); | ^~~~~~ MeshRead.cpp:354:31: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 354 | ordre=new (Vertex* [nbvx]); | ^ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Triangles::Read_am(MeshIstream&)': MeshRead.cpp:391:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 391 | assert(l==2*sizeof(Int4)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:391:3: note: in expansion of macro 'assert' 391 | assert(l==2*sizeof(Int4)); | ^~~~~~ MeshRead.cpp:394:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 394 | assert(l==nbt*sizeof(long)*4 + nbv*(2*sizeof(float)+sizeof(long))); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:394:3: note: in expansion of macro 'assert' 394 | assert(l==nbt*sizeof(long)*4 + nbv*(2*sizeof(float)+sizeof(long))); | ^~~~~~ MeshRead.cpp:401:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 401 | assert(triangles); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:401:3: note: in expansion of macro 'assert' 401 | assert(triangles); | ^~~~~~ MeshRead.cpp:403:28: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 403 | ordre=new (Vertex* [nbvx]); | ^ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Triangles::Read_nopo(MeshIstream&)': MeshRead.cpp:444:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 444 | assert(i==32); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:444:2: note: in expansion of macro 'assert' 444 | assert(i==32); | ^~~~~~ MeshRead.cpp:473:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 473 | assert(l == 27); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:473:2: note: in expansion of macro 'assert' 473 | assert(l == 27); | ^~~~~~ MeshRead.cpp:500:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 500 | assert(triangles); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:500:3: note: in expansion of macro 'assert' 500 | assert(triangles); | ^~~~~~ MeshRead.cpp:502:28: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 502 | ordre=new (Vertex* [nbvx]); | ^ In file included from MeshRead.cpp:7: MeshRead.cpp:510:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 510 | assert(l==2*np); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:510:3: note: in expansion of macro 'assert' 510 | assert(l==2*np); | ^~~~~~ MeshRead.cpp:625:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 625 | assert(k==nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:625:2: note: in expansion of macro 'assert' 625 | assert(k==nbt); | ^~~~~~ MeshRead.cpp: In member function 'void Triangles::Read_ftq(MeshIstream&)': MeshRead.cpp:664:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 664 | assert(triangles); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:664:3: note: in expansion of macro 'assert' 664 | assert(triangles); | ^~~~~~ MeshRead.cpp:666:28: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 666 | ordre=new (Vertex* [nbvx]); | ^ In file included from MeshRead.cpp:7: MeshRead.cpp:697:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 697 | assert(k==nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:697:3: note: in expansion of macro 'assert' 697 | assert(k==nbt); | ^~~~~~ MeshRead.cpp: In member function 'void Triangles::Read_msh(MeshIstream&)': MeshRead.cpp:724:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 724 | assert(triangles); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:724:6: note: in expansion of macro 'assert' 724 | assert(triangles); | ^~~~~~ MeshRead.cpp:726:31: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 726 | ordre=new (Vertex* [nbvx]); | ^ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Triangles::Read_amdba(MeshIstream&)': MeshRead.cpp:760:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 760 | assert(triangles); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:760:6: note: in expansion of macro 'assert' 760 | assert(triangles); | ^~~~~~ MeshRead.cpp:762:31: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 762 | ordre=new (Vertex* [nbvx]); | ^ In file included from MeshRead.cpp:7: MeshRead.cpp:767:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 767 | assert( j >0 && j <= nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:767:4: note: in expansion of macro 'assert' 767 | assert( j >0 && j <= nbv); | ^~~~~~ MeshRead.cpp:778:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 778 | assert( j >0 && j <= nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:778:5: note: in expansion of macro 'assert' 778 | assert( j >0 && j <= nbt); | ^~~~~~ MeshRead.cpp: In constructor 'Triangles::Triangles(char*, Real8)': MeshRead.cpp:817:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 817 | if (f_in.IsString("MeshVersionFormatted")) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from MeshRead.cpp:7: MeshRead.cpp: In member function 'void Geometry::ReadGeometry(MeshIstream&, char*)': MeshRead.cpp:860:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 860 | assert(empty()); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:860:3: note: in expansion of macro 'assert' 860 | assert(empty()); | ^~~~~~ MeshRead.cpp:896:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 896 | assert(dim ==2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:896:11: note: in expansion of macro 'assert' 896 | assert(dim ==2); | ^~~~~~ MeshRead.cpp:944:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 944 | assert(dim ==2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:944:11: note: in expansion of macro 'assert' 944 | assert(dim ==2); | ^~~~~~ MeshRead.cpp:952:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 952 | assert(nbvx >= nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:952:11: note: in expansion of macro 'assert' 952 | assert(nbvx >= nbv); | ^~~~~~ MeshRead.cpp:980:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 980 | assert(coefIcoor >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:980:6: note: in expansion of macro 'assert' 980 | assert(coefIcoor >0); | ^~~~~~ MeshRead.cpp:1006:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1006 | assert(edges); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1006:8: note: in expansion of macro 'assert' 1006 | assert(edges); | ^~~~~~ MeshRead.cpp:1007:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1007 | assert (nbv >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1007:8: note: in expansion of macro 'assert' 1007 | assert (nbv >0); | ^~~~~~ MeshRead.cpp:1069:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1069 | assert( i <= nbe ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1069:8: note: in expansion of macro 'assert' 1069 | assert( i <= nbe ); | ^~~~~~ MeshRead.cpp:1070:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1070 | assert( i > 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1070:8: note: in expansion of macro 'assert' 1070 | assert( i > 0 ); | ^~~~~~ MeshRead.cpp:1071:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1071 | assert ( j == 1 || j==2 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1071:8: note: in expansion of macro 'assert' 1071 | assert ( j == 1 || j==2 ); | ^~~~~~ MeshRead.cpp:1085:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1085 | assert( j <= nbv ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1085:13: note: in expansion of macro 'assert' 1085 | assert( j <= nbv ); | ^~~~~~ MeshRead.cpp:1086:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1086 | assert( j > 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1086:13: note: in expansion of macro 'assert' 1086 | assert( j > 0 ); | ^~~~~~ MeshRead.cpp:1098:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1098 | assert( j <= nbv ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1098:13: note: in expansion of macro 'assert' 1098 | assert( j <= nbv ); | ^~~~~~ MeshRead.cpp:1099:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1099 | assert( j > 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1099:13: note: in expansion of macro 'assert' 1099 | assert( j > 0 ); | ^~~~~~ MeshRead.cpp:1115:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1115 | assert(i0 == 2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1115:3: note: in expansion of macro 'assert' 1115 | assert(i0 == 2); | ^~~~~~ MeshRead.cpp:1116:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1116 | assert(i1<=nbe && i1>0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshRead.cpp:1116:3: note: in expansion of macro 'assert' 1116 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | assert(lBegin<= s && s <=lEnd); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | assert(nw); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:1342:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1342 | assert(a < 3 && a >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1342:3: note: in expansion of macro 'assert' 1342 | assert(a < 3 && a >= 0 ); | ^~~~~~ Mesh2.h:1346:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1346 | assert(a2 < 3 && a2 >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1346:3: note: in expansion of macro 'assert' 1346 | assert(a2 < 3 && a2 >= 0 ); | ^~~~~~ Mesh2.h:1365:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1365 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1365:7: note: in expansion of macro 'assert' 1365 | assert(0); | ^~~~~~ Mesh2.h:1367:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1367:13: note: in expansion of macro 'assert' 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:1406:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1406 | assert(ns[0] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1406:3: note: in expansion of macro 'assert' 1406 | assert(ns[0] != ns[2]); | ^~~~~~ Mesh2.h:1407:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1407 | assert(ns[1] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1407:3: note: in expansion of macro 'assert' 1407 | assert(ns[1] != ns[2]); | ^~~~~~ Mesh2.h:1408:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1408 | assert(ns[0] != ns[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1408:3: note: in expansion of macro 'assert' 1408 | assert(ns[0] != ns[1]); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | assert(sb && (sb->bc->n == 0)); | ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_am_fmt(std::ostream&) const': MeshWrite.cpp:338:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 338 | assert(this && nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:338:3: note: in expansion of macro 'assert' 338 | assert(this && nbt); | ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_am(std::ostream&) const': MeshWrite.cpp:369:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 369 | assert(this && nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:369:3: note: in expansion of macro 'assert' 369 | assert(this && nbt); | ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_ftq(std::ostream&) const': MeshWrite.cpp:400:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 400 | assert(this && nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:400:3: note: in expansion of macro 'assert' 400 | assert(this && nbt); | ^~~~~~ MeshWrite.cpp:434:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 434 | assert(k == nele); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:434:3: note: in expansion of macro 'assert' 434 | assert(k == nele); | ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_msh(std::ostream&) const': MeshWrite.cpp:446:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 446 | assert(this && nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:446:3: note: in expansion of macro 'assert' 446 | assert(this && nbt); | ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::Write_amdba(std::ostream&) const': MeshWrite.cpp:474:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 474 | assert(this && nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:474:3: note: in expansion of macro 'assert' 474 | assert(this && nbt); | ^~~~~~ MeshWrite.cpp: In member function 'void Triangles::WriteElements(std::ostream&, Int4*, Int4) const': MeshWrite.cpp:556:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 556 | assert(k==0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:556:8: note: in expansion of macro 'assert' 556 | assert(k==0); | ^~~~~~ MeshWrite.cpp: In function 'std::ostream& operator<<(std::ostream&, const Triangles&)': MeshWrite.cpp:636:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 636 | assert(v.OnGeomVertex()) ; | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:636:3: note: in expansion of macro 'assert' 636 | assert(v.OnGeomVertex()) ; | ^~~~~~ MeshWrite.cpp:647:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 647 | assert(v.OnGeomEdge()) ; | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:647:3: note: in expansion of macro 'assert' 647 | assert(v.OnGeomEdge()) ; | ^~~~~~ MeshWrite.cpp:731:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 731 | assert(!k); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshWrite.cpp:731:8: note: in expansion of macro 'assert' 731 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | assert(lBegin<= s && s <=lEnd); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | assert(nw); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:1342:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1342 | assert(a < 3 && a >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1342:3: note: in expansion of macro 'assert' 1342 | assert(a < 3 && a >= 0 ); | ^~~~~~ Mesh2.h:1346:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1346 | assert(a2 < 3 && a2 >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1346:3: note: in expansion of macro 'assert' 1346 | assert(a2 < 3 && a2 >= 0 ); | ^~~~~~ Mesh2.h:1365:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1365 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1365:7: note: in expansion of macro 'assert' 1365 | assert(0); | ^~~~~~ Mesh2.h:1367:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1367:13: note: in expansion of macro 'assert' 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:1406:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1406 | assert(ns[0] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1406:3: note: in expansion of macro 'assert' 1406 | assert(ns[0] != ns[2]); | ^~~~~~ Mesh2.h:1407:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1407 | assert(ns[1] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1407:3: note: in expansion of macro 'assert' 1407 | assert(ns[1] != ns[2]); | ^~~~~~ Mesh2.h:1408:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1408 | assert(ns[0] != ns[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1408:3: note: in expansion of macro 'assert' 1408 | assert(ns[0] != ns[1]); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | assert(sb && (sb->bc->n == 0)); | ^~~~~~ MeshDraw.cpp: In member function 'void Edge::Draw(Int4) const': MeshDraw.cpp:76:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'const Edge*' [-Wformat=] 76 | sprintf(VertexDraw_i10,"%lx",this); | ~~^ ~~~~ | | | | | const Edge* | long unsigned int MeshDraw.cpp: In member function 'void Vertex::Draw(Int4) const': MeshDraw.cpp:94:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'const Vertex*' [-Wformat=] 94 | sprintf(VertexDraw_i10,"%lx",this); | ~~^ ~~~~ | | | | | const Vertex* | long unsigned int MeshDraw.cpp: In member function 'void Triangle::Draw(Int4) const': MeshDraw.cpp:126:29: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'const Triangle*' [-Wformat=] 126 | if (i<0) sprintf(i10,"%lx",this); | ~~^ ~~~~ | | | | | const Triangle* | long unsigned int In file included from MeshDraw.cpp:24: MeshDraw.cpp: In member function 'int Triangle::swapDRAW(Int2)': MeshDraw.cpp:522:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 522 | assert ( a >= 0 && a < 3 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshDraw.cpp:522:3: note: in expansion of macro 'assert' 522 | assert ( a >= 0 && a < 3 ); | ^~~~~~ MeshDraw.cpp: In member function 'void GeometricalEdge::Draw(Int4)': MeshDraw.cpp:719:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'GeometricalEdge*' [-Wformat=] 719 | sprintf(VertexDraw_i10,"Eg%lx",this); | ~~^ ~~~~ | | | | | GeometricalEdge* | long unsigned int MeshDraw.cpp: In member function 'void Geometry::Draw() const': MeshDraw.cpp:765:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Int4' {aka 'long int'} [-Wformat=] 765 | sprintf(i10,"%d:%d",i,vertices[i].Required()); | ~^ ~ | | | | int Int4 {aka long int} | %ld 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | assert(lBegin<= s && s <=lEnd); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | assert(nw); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:1342:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1342 | assert(a < 3 && a >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1342:3: note: in expansion of macro 'assert' 1342 | assert(a < 3 && a >= 0 ); | ^~~~~~ Mesh2.h:1346:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1346 | assert(a2 < 3 && a2 >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1346:3: note: in expansion of macro 'assert' 1346 | assert(a2 < 3 && a2 >= 0 ); | ^~~~~~ Mesh2.h:1365:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1365 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1365:7: note: in expansion of macro 'assert' 1365 | assert(0); | ^~~~~~ Mesh2.h:1367:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1367:13: note: in expansion of macro 'assert' 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:1406:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1406 | assert(ns[0] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1406:3: note: in expansion of macro 'assert' 1406 | assert(ns[0] != ns[2]); | ^~~~~~ Mesh2.h:1407:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1407 | assert(ns[1] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1407:3: note: in expansion of macro 'assert' 1407 | assert(ns[1] != ns[2]); | ^~~~~~ Mesh2.h:1408:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1408 | assert(ns[0] != ns[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1408:3: note: in expansion of macro 'assert' 1408 | assert(ns[0] != ns[1]); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | assert(sb && (sb->bc->n == 0)); | ^~~~~~ MeshGeom.cpp: In member function 'void Triangles::ConsGeometry(Real8)': MeshGeom.cpp:80:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:80:4: note: in expansion of macro 'assert' 80 | assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); | ^~~~~~ MeshGeom.cpp:185:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 185 | assert(k==nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:185:7: note: in expansion of macro 'assert' 185 | assert(k==nbe); | ^~~~~~ MeshGeom.cpp:208:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 208 | assert( v == edges[i0 ].v[j0]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:208:6: note: in expansion of macro 'assert' 208 | assert( v == edges[i0 ].v[j0]); | ^~~~~~ MeshGeom.cpp:211:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 211 | assert(edges[i0].v[j0] == v); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:211:6: note: in expansion of macro 'assert' 211 | assert(edges[i0].v[j0] == v); | ^~~~~~ MeshGeom.cpp:217:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 217 | assert(!NbSubDomains); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:217:5: note: in expansion of macro 'assert' 217 | assert(!NbSubDomains); | ^~~~~~ MeshGeom.cpp:281:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 281 | assert(k== NbSubDomains); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:281:5: note: in expansion of macro 'assert' 281 | assert(k== NbSubDomains); | ^~~~~~ MeshGeom.cpp:347:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 347 | assert(Gh.coefIcoor >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:347:3: note: in expansion of macro 'assert' 347 | assert(Gh.coefIcoor >0); | ^~~~~~ MeshGeom.cpp:378:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 378 | assert(k == i); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:378:7: note: in expansion of macro 'assert' 378 | assert(k == i); | ^~~~~~ MeshGeom.cpp: In copy constructor 'Geometry::Geometry(const Geometry&)': MeshGeom.cpp:461:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 461 | assert(!nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:461:4: note: in expansion of macro 'assert' 461 | assert(!nbt); | ^~~~~~ MeshGeom.cpp: In member function 'GeometricalEdge* Geometry::Contening(R2, GeometricalEdge*) const': MeshGeom.cpp:474:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 474 | assert(k++<100); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:474:8: note: in expansion of macro 'assert' 474 | assert(k++<100); | ^~~~~~ MeshGeom.cpp: In member function 'GeometricalEdge* Geometry::ProjectOnCurve(const Edge&, Real8, Vertex&, VertexOnGeom&) const': MeshGeom.cpp:497:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 497 | assert(on); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:497:5: note: in expansion of macro 'assert' 497 | assert(on); | ^~~~~~ MeshGeom.cpp:498:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert( e[0].on && e[1].on); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:498:5: note: in expansion of macro 'assert' 498 | assert( e[0].on && e[1].on); | ^~~~~~ MeshGeom.cpp:570:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 570 | assert(bge>=0 && bge <= mxe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:570:2: note: in expansion of macro 'assert' 570 | assert(bge>=0 && bge <= mxe); | ^~~~~~ MeshGeom.cpp:599:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 599 | assert(tge>=0 && tge <= mxe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:599:2: note: in expansion of macro 'assert' 599 | assert(tge>=0 && tge <= mxe); | ^~~~~~ MeshGeom.cpp:634:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 634 | assert( i>=0 && i <= mxe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:634:5: note: in expansion of macro 'assert' 634 | assert( i>=0 && i <= mxe); | ^~~~~~ MeshGeom.cpp:644:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 644 | assert(s <= 1.0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:644:7: note: in expansion of macro 'assert' 644 | assert(s <= 1.0); | ^~~~~~ MeshGeom.cpp:652:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 652 | assert(i >= 0 && i <= mxe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:652:2: note: in expansion of macro 'assert' 652 | assert(i >= 0 && i <= mxe); | ^~~~~~ MeshGeom.cpp:663:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 663 | assert(on); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:663:5: note: in expansion of macro 'assert' 663 | assert(on); | ^~~~~~ MeshGeom.cpp: In member function 'void Geometry::AfterRead()': MeshGeom.cpp:699:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 699 | assert( v == & (Vertex &) vertices[j]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:699:11: note: in expansion of macro 'assert' 699 | assert( v == & (Vertex &) vertices[j]); | ^~~~~~ MeshGeom.cpp:944:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 944 | assert(nbgem && nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:944:5: note: in expansion of macro 'assert' 944 | assert(nbgem && nbe); | ^~~~~~ MeshGeom.cpp: In destructor 'Geometry::~Geometry()': MeshGeom.cpp:952:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 952 | assert(NbRef<=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:952:3: note: in expansion of macro 'assert' 952 | assert(NbRef<=0); | ^~~~~~ MeshGeom.cpp: In member function 'Real8 GeometricalEdge::R1tg(Real4, R2&) const': MeshGeom.cpp:974:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 974 | assert( theta >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:974:2: note: in expansion of macro 'assert' 974 | assert( theta >=0); | ^~~~~~ MeshGeom.cpp:975:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 975 | assert( theta <=1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:975:2: note: in expansion of macro 'assert' 975 | assert( theta <=1); | ^~~~~~ MeshGeom.cpp: In member function 'R2 GeometricalEdge::F(Real4) const': MeshGeom.cpp:1040:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1040 | assert( theta >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:1040:2: note: in expansion of macro 'assert' 1040 | assert( theta >=0); | ^~~~~~ MeshGeom.cpp:1041:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1041 | assert( theta <=1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshGeom.cpp:1041:2: note: in expansion of macro 'assert' 1041 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | assert(lBegin<= s && s <=lEnd); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | assert(nw); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:1342:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1342 | assert(a < 3 && a >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1342:3: note: in expansion of macro 'assert' 1342 | assert(a < 3 && a >= 0 ); | ^~~~~~ Mesh2.h:1346:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1346 | assert(a2 < 3 && a2 >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1346:3: note: in expansion of macro 'assert' 1346 | assert(a2 < 3 && a2 >= 0 ); | ^~~~~~ Mesh2.h:1365:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1365 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1365:7: note: in expansion of macro 'assert' 1365 | assert(0); | ^~~~~~ Mesh2.h:1367:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1367:13: note: in expansion of macro 'assert' 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:1406:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1406 | assert(ns[0] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1406:3: note: in expansion of macro 'assert' 1406 | assert(ns[0] != ns[2]); | ^~~~~~ Mesh2.h:1407:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1407 | assert(ns[1] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1407:3: note: in expansion of macro 'assert' 1407 | assert(ns[1] != ns[2]); | ^~~~~~ Mesh2.h:1408:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1408 | assert(ns[0] != ns[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1408:3: note: in expansion of macro 'assert' 1408 | assert(ns[0] != ns[1]); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | assert(sb && (sb->bc->n == 0)); | ^~~~~~ MeshQuad.cpp: In member function 'GeometricalEdge* Triangles::ProjectOnCurve(Edge&, Vertex&, Vertex&, Real8, Vertex&, VertexOnEdge&, VertexOnGeom&)': MeshQuad.cpp:148:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | assert( pA && pB && e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:148:2: note: in expansion of macro 'assert' 148 | assert( pA && pB && e); | ^~~~~~ MeshQuad.cpp:151:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 151 | assert(e>=BTh.edges && e=BTh.edges && ebe)[0].on->IsRequiredVertex()); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:164:2: note: in expansion of macro 'assert' 164 | assert(! (*vA.onbe->be)[0].on->IsRequiredVertex()); | ^~~~~~ MeshQuad.cpp:166:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 166 | assert(!(*vA.onbe->be)[1].on->IsRequiredVertex()); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:166:8: note: in expansion of macro 'assert' 166 | assert(!(*vA.onbe->be)[1].on->IsRequiredVertex()); | ^~~~~~ MeshQuad.cpp:187:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 187 | assert(0 /* A FAIRE */); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:187:3: note: in expansion of macro 'assert' 187 | assert(0 /* A FAIRE */); | ^~~~~~ MeshQuad.cpp:219:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 219 | assert(kkk++<100); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:219:3: note: in expansion of macro 'assert' 219 | assert(kkk++<100); | ^~~~~~ MeshQuad.cpp:220:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 220 | assert(eee); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:220:3: note: in expansion of macro 'assert' 220 | assert(eee); | ^~~~~~ MeshQuad.cpp:228:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 228 | assert(thetab>=0 && thetab<=1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:228:7: note: in expansion of macro 'assert' 228 | assert(thetab>=0 && thetab<=1); | ^~~~~~ MeshQuad.cpp:245:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 245 | assert(eee); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:245:5: note: in expansion of macro 'assert' 245 | assert(eee); | ^~~~~~ MeshQuad.cpp:254:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 254 | assert(thetab>=0 && thetab<=1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:254:9: note: in expansion of macro 'assert' 254 | assert(thetab>=0 && thetab<=1); | ^~~~~~ MeshQuad.cpp: In member function 'int Triangles::SplitElement(int)': MeshQuad.cpp:440:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 440 | assert(edgesGtoB); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:440:8: note: in expansion of macro 'assert' 440 | assert(edgesGtoB); | ^~~~~~ MeshQuad.cpp:498:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(kvb == newNbVertexOnBThEdge); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:498:3: note: in expansion of macro 'assert' 498 | assert(kvb == newNbVertexOnBThEdge); | ^~~~~~ MeshQuad.cpp:503:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 503 | assert( &newedges[i][0] >= v0 && &newedges[i][0] < v1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:503:8: note: in expansion of macro 'assert' 503 | assert( &newedges[i][0] >= v0 && &newedges[i][0] < v1); | ^~~~~~ MeshQuad.cpp:504:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 504 | assert( &newedges[i][1] >= v0 && &newedges[i][1] < v1); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:504:8: note: in expansion of macro 'assert' 504 | assert( &newedges[i][1] >= v0 && &newedges[i][1] < v1); | ^~~~~~ MeshQuad.cpp:531:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 531 | assert(t.link); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:531:6: note: in expansion of macro 'assert' 531 | assert(t.link); | ^~~~~~ MeshQuad.cpp:640:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 640 | assert (nbinvisible<2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:640:7: note: in expansion of macro 'assert' 640 | assert (nbinvisible<2); | ^~~~~~ MeshQuad.cpp:651:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 651 | assert(ksplit[i]>=40); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:651:5: note: in expansion of macro 'assert' 651 | assert(ksplit[i]>=40); | ^~~~~~ MeshQuad.cpp:674:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 674 | assert(kk<7 && kk >0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:674:7: note: in expansion of macro 'assert' 674 | assert(kk<7 && kk >0); | ^~~~~~ MeshQuad.cpp:690:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 690 | assert(nbmkadj< 10); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:690:8: note: in expansion of macro 'assert' 690 | assert(nbmkadj< 10); | ^~~~~~ MeshQuad.cpp:706:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 706 | assert (kedge[3*i+i0]>=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:706:5: note: in expansion of macro 'assert' 706 | assert (kedge[3*i+i0]>=0); | ^~~~~~ MeshQuad.cpp:720:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 720 | assert (kedge[3*i+k1]>=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:720:13: note: in expansion of macro 'assert' 720 | assert (kedge[3*i+k1]>=0); | ^~~~~~ MeshQuad.cpp:721:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 721 | assert (kedge[3*i+k2]>=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:721:13: note: in expansion of macro 'assert' 721 | assert (kedge[3*i+k2]>=0); | ^~~~~~ MeshQuad.cpp:743:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 743 | assert(kedge[3*i+k0] >=0 && kedge[3*i+k1] >=0 && kedge[3*i+k2] >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:743:5: note: in expansion of macro 'assert' 743 | assert(kedge[3*i+k0] >=0 && kedge[3*i+k1] >=0 && kedge[3*i+k2] >=0); | ^~~~~~ MeshQuad.cpp:824:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 824 | assert(nbmkadj<=13);// 13 = 6 + 4 + 3 | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ MeshQuad.cpp:824:8: note: in expansion of macro 'assert' 824 | assert(nbmkadj<=13);// 13 = 6 + 4 + 3 | ^~~~~~ MeshQuad.cpp:859:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 859 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | assert(lBegin<= s && s <=lEnd); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | assert(nw); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:1342:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1342 | assert(a < 3 && a >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1342:3: note: in expansion of macro 'assert' 1342 | assert(a < 3 && a >= 0 ); | ^~~~~~ Mesh2.h:1346:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1346 | assert(a2 < 3 && a2 >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1346:3: note: in expansion of macro 'assert' 1346 | assert(a2 < 3 && a2 >= 0 ); | ^~~~~~ Mesh2.h:1365:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1365 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1365:7: note: in expansion of macro 'assert' 1365 | assert(0); | ^~~~~~ Mesh2.h:1367:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1367:13: note: in expansion of macro 'assert' 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:1406:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1406 | assert(ns[0] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1406:3: note: in expansion of macro 'assert' 1406 | assert(ns[0] != ns[2]); | ^~~~~~ Mesh2.h:1407:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1407 | assert(ns[1] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1407:3: note: in expansion of macro 'assert' 1407 | assert(ns[1] != ns[2]); | ^~~~~~ Mesh2.h:1408:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1408 | assert(ns[0] != ns[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1408:3: note: in expansion of macro 'assert' 1408 | assert(ns[0] != ns[1]); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | assert(sb && (sb->bc->n == 0)); | ^~~~~~ QuadTree.cpp: In member function 'void QuadTree::Draw()': QuadTree.cpp:65:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | assert(ii[l] <= i2.x); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.cpp:65:5: note: in expansion of macro 'assert' 65 | assert(ii[l] <= i2.x); | ^~~~~~ QuadTree.cpp:66:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | assert(jj[l] <= i2.y); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.cpp:66:5: note: in expansion of macro 'assert' 66 | assert(jj[l] <= i2.y); | ^~~~~~ QuadTree.cpp:67:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | assert(ii[l] +hb > i2.x); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.cpp:67:5: note: in expansion of macro 'assert' 67 | assert(ii[l] +hb > i2.x); | ^~~~~~ QuadTree.cpp:68:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | assert(jj[l] +hb > i2.y); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.cpp:68:5: note: in expansion of macro 'assert' 68 | assert(jj[l] +hb > i2.y); | ^~~~~~ QuadTree.cpp: In member function 'void QuadTree::Add(Vertex&)': QuadTree.cpp:325:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 325 | assert(l); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.cpp:325:3: note: in expansion of macro 'assert' 325 | assert(l); | ^~~~~~ QuadTree.cpp: In constructor 'QuadTree::QuadTree(Triangles*, long int)': QuadTree.cpp:366:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 366 | assert( MaxISize > MaxICoor); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.cpp:366:3: note: in expansion of macro 'assert' 366 | assert( MaxISize > MaxICoor); | ^~~~~~ QuadTree.cpp: In constructor 'QuadTree::StorageQuadTreeBox::StorageQuadTreeBox(long int, QuadTree::StorageQuadTreeBox*)': QuadTree.cpp:394:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 394 | assert(b); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.cpp:394:3: note: in expansion of macro 'assert' 394 | 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:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | char * charoftype[] = { "Scalar" , "dim Vector" ,"dim x dim Sym-Matric","dim x dim Full-Matric" } ; | ^~~~~~~~ Meshio.cpp:73:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | char * charoftype[] = { "Scalar" , "dim Vector" ,"dim x dim Sym-Matric","dim x dim Full-Matric" } ; | ^~~~~~~~~~~~ Meshio.cpp:73:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | char * charoftype[] = { "Scalar" , "dim Vector" ,"dim x dim Sym-Matric","dim x dim Full-Matric" } ; | ^~~~~~~~~~~~~~~~~~~~~~ Meshio.cpp:73:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | char * charoftype[] = { "Scalar" , "dim Vector" ,"dim x dim Sym-Matric","dim x dim Full-Matric" } ; | ^~~~~~~~~~~~~~~~~~~~~~~ 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | assert(lBegin<= s && s <=lEnd); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | assert(nw); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:1342:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1342 | assert(a < 3 && a >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1342:3: note: in expansion of macro 'assert' 1342 | assert(a < 3 && a >= 0 ); | ^~~~~~ Mesh2.h:1346:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1346 | assert(a2 < 3 && a2 >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1346:3: note: in expansion of macro 'assert' 1346 | assert(a2 < 3 && a2 >= 0 ); | ^~~~~~ Mesh2.h:1365:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1365 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1365:7: note: in expansion of macro 'assert' 1365 | assert(0); | ^~~~~~ Mesh2.h:1367:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1367:13: note: in expansion of macro 'assert' 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:1406:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1406 | assert(ns[0] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1406:3: note: in expansion of macro 'assert' 1406 | assert(ns[0] != ns[2]); | ^~~~~~ Mesh2.h:1407:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1407 | assert(ns[1] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1407:3: note: in expansion of macro 'assert' 1407 | assert(ns[1] != ns[2]); | ^~~~~~ Mesh2.h:1408:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1408 | assert(ns[0] != ns[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1408:3: note: in expansion of macro 'assert' 1408 | assert(ns[0] != ns[1]); | ^~~~~~ Metric.cpp: In function 'void ReductionSimultanee(MetricAnIso, MetricAnIso, double&, double&, D2xD2&)': Metric.cpp:85:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | assert(Abs(vp1y)+Abs(vp2y)>0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:85:7: note: in expansion of macro 'assert' 85 | assert(Abs(vp1y)+Abs(vp2y)>0); | ^~~~~~ Metric.cpp: In member function 'void Triangles::IntersectGeomMetric(Real8, int)': Metric.cpp:213:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 213 | assert(hmax>0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:213:3: note: in expansion of macro 'assert' 213 | assert(hmax>0); | ^~~~~~ Metric.cpp:240:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 240 | assert(ht>0 && hn>0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:240:4: note: in expansion of macro 'assert' 240 | 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:575:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 575 | assert(det33); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:575:3: note: in expansion of macro 'assert' 575 | assert(det33); | ^~~~~~ Metric.cpp: In member function 'void Triangles::SmoothMetric(Real8)': Metric.cpp:963:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 963 | assert(t); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:963:2: note: in expansion of macro 'assert' 963 | assert(t); | ^~~~~~ Metric.cpp:972:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 972 | assert(vertices+i == ta.EdgeVertex(1)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:972:4: note: in expansion of macro 'assert' 972 | assert(vertices+i == ta.EdgeVertex(1)); | ^~~~~~ Metric.cpp:976:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 976 | assert(j>=0 && j < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:976:6: note: in expansion of macro 'assert' 976 | assert(j>=0 && j < nbv); | ^~~~~~ Metric.cpp: In function 'Real8 LengthInterpole(MetricAnIso, MetricAnIso, R2)': Metric.cpp:1122:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1122 | assert(i<512); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:1122:3: note: in expansion of macro 'assert' 1122 | assert(i<512); | ^~~~~~ Metric.cpp: In function 'Real8 abscisseInterpole(MetricAnIso, MetricAnIso, R2, Real8, int)': Metric.cpp:1159:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1159 | assert(r<=1 && r>=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Metric.cpp:1159:3: note: in expansion of macro 'assert' 1159 | 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:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'char*' [-Wformat=] 44 | printf("@@@@@@@@@@@@@@@@@ Erreur myfree p= %lx l=%d\n",p,l); | ~~^ ~ | | | | | char* | long unsigned int | %s CheckPtr.cpp:44:54: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 44 | printf("@@@@@@@@@@@@@@@@@ Erreur myfree p= %lx l=%d\n",p,l); | ~^ ~ | | | | int size_t {aka long unsigned int} | %ld CheckPtr.cpp: In member function 'void* AllocExtern::MyNewOperator(size_t)': CheckPtr.cpp:141:60: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'void*' [-Wformat=] 141 | printf("\t\tCheckPtrMem Full Exit(10) New Alloc %ld %lx when %ld\n ", ll, a->p, a->n); | ~~^ ~~~~ | | | | long unsigned int void* | %p CheckPtr.cpp: In member function 'void AllocExtern::MyDeleteOperator(void*)': CheckPtr.cpp:177:52: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'void*' [-Wformat=] 177 | printf( "\t\tCheckPtr: delete of bad pointer %lx -----------\n",pp); | ~~^ ~~ | | | | | void* | long unsigned int | %p CheckPtr.cpp: In destructor 'AllocExtern::~AllocExtern()': CheckPtr.cpp:195:49: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'void*' [-Wformat=] 195 | 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); | ~~^ ~~~~~~~~~ | | | | long unsigned int void* | %p CheckPtr.cpp: In member function 'void AllocExtern::ShowAlloc(char*)': CheckPtr.cpp:236:63: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'void*' [-Wformat=] 236 | 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); | ~~^ ~~~~~~~~~ | | | | long unsigned int void* | %p 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | assert(lBegin<= s && s <=lEnd); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | assert(nw); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:1342:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1342 | assert(a < 3 && a >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1342:3: note: in expansion of macro 'assert' 1342 | assert(a < 3 && a >= 0 ); | ^~~~~~ Mesh2.h:1346:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1346 | assert(a2 < 3 && a2 >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1346:3: note: in expansion of macro 'assert' 1346 | assert(a2 < 3 && a2 >= 0 ); | ^~~~~~ Mesh2.h:1365:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1365 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1365:7: note: in expansion of macro 'assert' 1365 | assert(0); | ^~~~~~ Mesh2.h:1367:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1367:13: note: in expansion of macro 'assert' 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:1406:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1406 | assert(ns[0] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1406:3: note: in expansion of macro 'assert' 1406 | assert(ns[0] != ns[2]); | ^~~~~~ Mesh2.h:1407:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1407 | assert(ns[1] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1407:3: note: in expansion of macro 'assert' 1407 | assert(ns[1] != ns[2]); | ^~~~~~ Mesh2.h:1408:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1408 | assert(ns[0] != ns[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1408:3: note: in expansion of macro 'assert' 1408 | assert(ns[0] != ns[1]); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | 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] 58 | 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:263:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | assert(adj[0]==&e || adj[1]==&e); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:263:5: note: in expansion of macro 'assert' 263 | assert(adj[0]==&e || adj[1]==&e); | ^~~~~~ Mesh2.h: In member function 'GeometricalVertex* GeometricalVertex::The()': Mesh2.h:285:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:285:31: note: in expansion of macro 'assert' 285 | GeometricalVertex * The() { assert(link); return link;}// return a unique vertices | ^~~~~~ Mesh2.h: In member function 'R2 ListofIntersectionTriangles::SegInterpolation::F(Real8)': Mesh2.h:498:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | assert(lBegin<= s && s <=lEnd); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:498:4: note: in expansion of macro 'assert' 498 | assert(lBegin<= s && s <=lEnd); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::NewSubSeg(GeometricalEdge*, Real8, Real8)': Mesh2.h:535:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:535:12: note: in expansion of macro 'assert' 535 | assert(lSegsI && NbSeg < MaxNbSeg); | ^~~~~~ Mesh2.h: In member function 'void ListofIntersectionTriangles::ReShape()': Mesh2.h:555:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | assert(nw); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:555:5: note: in expansion of macro 'assert' 555 | assert(nw); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::Crack()': Mesh2.h:668:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:668:5: note: in expansion of macro 'assert' 668 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void CrackedEdge::CrackedTriangle::UnCrack()': Mesh2.h:675:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | assert(New[0] && New[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:675:5: note: in expansion of macro 'assert' 675 | assert(New[0] && New[1]); | ^~~~~~ Mesh2.h: In member function 'void SubDomain::Set(const Triangles&, Int4, Triangles&)': Mesh2.h:1079:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1079:3: note: in expansion of macro 'assert' 1079 | assert( head - Th.triangles >=0 && head - Th.triangles < Th.nbt); | ^~~~~~ Mesh2.h:1081:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1081:3: note: in expansion of macro 'assert' 1081 | assert(edge - Th.edges >=0 && edge - Th.edges < Th.nbe); | ^~~~~~ Mesh2.h: In constructor 'Triangle::Triangle(Triangles*, Int4, Int4, Int4)': Mesh2.h:1219:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | assert(i >=0 && j >=0 && k >=0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1219:3: note: in expansion of macro 'assert' 1219 | assert(i >=0 && j >=0 && k >=0); | ^~~~~~ Mesh2.h:1220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1220 | assert(i < nbv && j < nbv && k < nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1220:3: note: in expansion of macro 'assert' 1220 | assert(i < nbv && j < nbv && k < nbv); | ^~~~~~ Mesh2.h: In function 'TriangleAdjacent FindTriangleAdjacent(Edge&)': Mesh2.h:1293:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1293:5: note: in expansion of macro 'assert' 1293 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1294:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1294:5: note: in expansion of macro 'assert' 1294 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1297:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1297:11: note: in expansion of macro 'assert' 1297 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h:1304:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1304 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1304:5: note: in expansion of macro 'assert' 1304 | assert(0); | ^~~~~~ Mesh2.h: In function 'Vertex* TheVertex(Vertex*)': Mesh2.h:1314:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1314 | assert(t && i>=0 && i < 3); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1314:5: note: in expansion of macro 'assert' 1314 | assert(t && i>=0 && i < 3); | ^~~~~~ Mesh2.h:1315:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1315 | assert( a == (*t)(i)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1315:5: note: in expansion of macro 'assert' 1315 | assert( a == (*t)(i)); | ^~~~~~ Mesh2.h:1318:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1318 | k++;assert(k< 20000); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1318:11: note: in expansion of macro 'assert' 1318 | k++;assert(k< 20000); | ^~~~~~ Mesh2.h: In member function 'void Triangle::checka(Int1)': Mesh2.h:1342:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1342 | assert(a < 3 && a >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1342:3: note: in expansion of macro 'assert' 1342 | assert(a < 3 && a >= 0 ); | ^~~~~~ Mesh2.h:1346:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1346 | assert(a2 < 3 && a2 >= 0 ); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1346:3: note: in expansion of macro 'assert' 1346 | assert(a2 < 3 && a2 >= 0 ); | ^~~~~~ Mesh2.h:1365:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1365 | assert(0); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1365:7: note: in expansion of macro 'assert' 1365 | assert(0); | ^~~~~~ Mesh2.h:1367:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1367:13: note: in expansion of macro 'assert' 1367 | if (t2) assert(t1->aa[a1]/4 == t2->aa[a2]/4); // lock compatibite | ^~~~~~ Mesh2.h: In member function 'void Triangle::check()': Mesh2.h:1406:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1406 | assert(ns[0] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1406:3: note: in expansion of macro 'assert' 1406 | assert(ns[0] != ns[2]); | ^~~~~~ Mesh2.h:1407:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1407 | assert(ns[1] != ns[2]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1407:3: note: in expansion of macro 'assert' 1407 | assert(ns[1] != ns[2]); | ^~~~~~ Mesh2.h:1408:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1408 | assert(ns[0] != ns[1]); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ Mesh2.h:1408:3: note: in expansion of macro 'assert' 1408 | assert(ns[0] != ns[1]); | ^~~~~~ QuadTree.h: In member function 'QuadTree::QuadTreeBox* QuadTree::NewQuadTreeBox()': QuadTree.h:84:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | assert(sb && (sb->bc->n == 0)); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ QuadTree.h:84:5: note: in expansion of macro 'assert' 84 | assert(sb && (sb->bc->n == 0)); | ^~~~~~ bamg.cpp: In function 'int main(int, char**)': bamg.cpp:560:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 560 | assert(lsolbb==BTh.nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ bamg.cpp:560:7: note: in expansion of macro 'assert' 560 | assert(lsolbb==BTh.nbv); | ^~~~~~ bamg.cpp:576:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 576 | assert(lsolBB==BTh.nbv); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ bamg.cpp:576:7: note: in expansion of macro 'assert' 576 | assert(lsolBB==BTh.nbv); | ^~~~~~ bamg.cpp:688:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 688 | assert(dim==2); | ^ Mesh2.h:48:37: note: in definition of macro 'assert' 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^ Mesh2.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | #define assert(i) MyAssert1((i)==0,#i,__FILE__,__LINE__) | ^~~~~~~~ bamg.cpp:688:8: note: in expansion of macro 'assert' 688 | 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.45105 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd bamg-0.60 + make 'INSTALL=/usr/libexec/rpm-build/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,gnuconfig) 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) Processing files: bamg-0.60-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.28543 + 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.mviL1h find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jr8Uki find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib64/ld-linux-x86-64.so.2, libX11.so.6()(64bit) >= set:oiqbWLcRr8gdbokEo33TYzAb0bfIOWCY6wGPLaKx8SGpEWavK6qjy84uZ3FPHO0aWTI2li4MkiO34yzByEZabDGNNc61yXNxiOcnru5Ccci2KRF4, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libm.so.6(GLIBC_2.29)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.11)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), 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.ZgwlFe Creating bamg-debuginfo package Processing files: bamg-doc-0.60-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.66270 + 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.NJ3o5h find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nsSFUf find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Processing files: bamg-examples-0.60-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.60063 + 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.kLaEwg find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zyokzh find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) 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.nhGFre find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YmAjyf find-requires: running scripts (debuginfo) Requires: bamg = 0.60-alt4, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libX11.so.6), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libm.so.6), debug64(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/x86_64/bamg-0.60-alt4.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/bamg-doc-0.60-alt4.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/bamg-examples-0.60-alt4.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/bamg-debuginfo-0.60-alt4.x86_64.rpm (w2.lzdio) 16.94user 4.47system 0:27.33elapsed 78%CPU (0avgtext+0avgdata 161528maxresident)k 0inputs+0outputs (0major+1001649minor)pagefaults 0swaps /.out/bamg-doc-0.60-alt4.noarch.rpm: license not found in '/usr/share/license' directory: Free /.out/bamg-doc-0.60-alt4.noarch.rpm: license not found in '/usr/share/license' directory: for /.out/bamg-doc-0.60-alt4.noarch.rpm: license not found in '/usr/share/license' directory: non-commertial /.out/bamg-doc-0.60-alt4.noarch.rpm: license not found in '/usr/share/license' directory: using /.out/bamg-examples-0.60-alt4.noarch.rpm: license not found in '/usr/share/license' directory: Free /.out/bamg-examples-0.60-alt4.noarch.rpm: license not found in '/usr/share/license' directory: for /.out/bamg-examples-0.60-alt4.noarch.rpm: license not found in '/usr/share/license' directory: non-commertial /.out/bamg-examples-0.60-alt4.noarch.rpm: license not found in '/usr/share/license' directory: using /.out/bamg-0.60-alt4.x86_64.rpm: license not found in '/usr/share/license' directory: Free /.out/bamg-0.60-alt4.x86_64.rpm: license not found in '/usr/share/license' directory: for /.out/bamg-0.60-alt4.x86_64.rpm: license not found in '/usr/share/license' directory: non-commertial /.out/bamg-0.60-alt4.x86_64.rpm: license not found in '/usr/share/license' directory: using /.out/bamg-debuginfo-0.60-alt4.x86_64.rpm: license not found in '/usr/share/license' directory: Free /.out/bamg-debuginfo-0.60-alt4.x86_64.rpm: license not found in '/usr/share/license' directory: for /.out/bamg-debuginfo-0.60-alt4.x86_64.rpm: license not found in '/usr/share/license' directory: non-commertial /.out/bamg-debuginfo-0.60-alt4.x86_64.rpm: license not found in '/usr/share/license' directory: using 3.31user 2.69system 0:40.01elapsed 15%CPU (0avgtext+0avgdata 129028maxresident)k 0inputs+0outputs (0major+206032minor)pagefaults 0swaps --- bamg-0.60-alt4.x86_64.rpm.repo 2016-04-08 01:49:42.000000000 +0000 +++ bamg-0.60-alt4.x86_64.rpm.hasher 2024-06-16 02:10:37.248112260 +0000 @@ -15,5 +15,9 @@ Requires: libm.so.6(GLIBC_2.2.5)(64bit) +Requires: libm.so.6(GLIBC_2.29)(64bit) Requires: libstdc++.so.6(CXXABI_1.3)(64bit) +Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit) +Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit) Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit) Requires: libstdc++.so.6(GLIBCXX_3.4.11)(64bit) +Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) Requires: libstdc++.so.6(GLIBCXX_3.4.9)(64bit) @@ -22,8 +26,8 @@ Provides: bamg = 0.60-alt4 -File: /usr/bin/bamg 100755 root:root 9801f1b5458b902fe7e0e9b2f259c902 -File: /usr/bin/bamg-g 100755 root:root 35c2f629a01dbbfd8ee64cbf50d88a16 -File: /usr/bin/cvmsh2 100755 root:root aef546b78950b8a35bc698ad9fbfd048 -File: /usr/bin/drawbdmesh 100755 root:root 13790919eeefd52cf732bb161c7eb696 +File: /usr/bin/bamg 100755 root:root b6a88405e7e02353b370c8bd7557534e +File: /usr/bin/bamg-g 100755 root:root 5bfbeeeb03f2e3c62383b4efef9ea4b5 +File: /usr/bin/cvmsh2 100755 root:root 27738e0ed24e5991b48e6df2d6bf9351 +File: /usr/bin/drawbdmesh 100755 root:root f4254394175bac80006bf8e5a7ba107b File: /usr/share/doc/bamg-0.60 40755 root:root File: /usr/share/doc/bamg-0.60/README 100644 root:root d5f5465c16074870fd15083e44f9f62a -RPMIdentity: 46f7aba8983e48b296b2f8c60c40bac29943fb3ffbdaffc63aba5804fd11c3bc38f84a6c6fc9ed16d50df56a65c1ab44276c6bf33e303073a9c5e54d2b42b8e6 +RPMIdentity: 9698cf786cf4f78606d1317b7f0c86037a1850f615d296fbbd204a67a922802a98a58c1c3dbcb173f8112bd9a6f3ef2caa42e6d42a7bb21d4dfab2f01f19db54 --- bamg-debuginfo-0.60-alt4.x86_64.rpm.repo 2016-04-08 01:49:42.000000000 +0000 +++ bamg-debuginfo-0.60-alt4.x86_64.rpm.hasher 2024-06-16 02:10:37.484116961 +0000 @@ -1,13 +1,13 @@ -/usr/lib/debug/.build-id/07 40755 root:root -/usr/lib/debug/.build-id/07/e81776df5644effd076421ec8f2a4446ead265 120777 root:root ../../../../bin/bamg -/usr/lib/debug/.build-id/07/e81776df5644effd076421ec8f2a4446ead265.debug 120777 root:root ../../usr/bin/bamg.debug -/usr/lib/debug/.build-id/56 40755 root:root -/usr/lib/debug/.build-id/56/5a9a55dec136b8c006b63e7e8df7078c66f349 120777 root:root ../../../../bin/cvmsh2 -/usr/lib/debug/.build-id/56/5a9a55dec136b8c006b63e7e8df7078c66f349.debug 120777 root:root ../../usr/bin/cvmsh2.debug -/usr/lib/debug/.build-id/b5 40755 root:root -/usr/lib/debug/.build-id/b5/af8ff3fa6ca815e9b74ab7670438c852a02494 120777 root:root ../../../../bin/drawbdmesh -/usr/lib/debug/.build-id/b5/af8ff3fa6ca815e9b74ab7670438c852a02494.debug 120777 root:root ../../usr/bin/drawbdmesh.debug -/usr/lib/debug/.build-id/c8 40755 root:root -/usr/lib/debug/.build-id/c8/c0acc5fd6aa0aa16a100dc051f8964402fe2e9 120777 root:root ../../../../bin/bamg-g -/usr/lib/debug/.build-id/c8/c0acc5fd6aa0aa16a100dc051f8964402fe2e9.debug 120777 root:root ../../usr/bin/bamg-g.debug +/usr/lib/debug/.build-id/2e 40755 root:root +/usr/lib/debug/.build-id/2e/5ebf6fbc4c036b161b4d6dd196340ed545e84d 120777 root:root ../../../../bin/cvmsh2 +/usr/lib/debug/.build-id/2e/5ebf6fbc4c036b161b4d6dd196340ed545e84d.debug 120777 root:root ../../usr/bin/cvmsh2.debug +/usr/lib/debug/.build-id/3f 40755 root:root +/usr/lib/debug/.build-id/3f/11e353391950e0270ccf8cbb92eb633feab5f1 120777 root:root ../../../../bin/drawbdmesh +/usr/lib/debug/.build-id/3f/11e353391950e0270ccf8cbb92eb633feab5f1.debug 120777 root:root ../../usr/bin/drawbdmesh.debug +/usr/lib/debug/.build-id/43 40755 root:root +/usr/lib/debug/.build-id/43/5dff2cf5731080fa1fff7adbd3958b1bf65c60 120777 root:root ../../../../bin/bamg +/usr/lib/debug/.build-id/43/5dff2cf5731080fa1fff7adbd3958b1bf65c60.debug 120777 root:root ../../usr/bin/bamg.debug +/usr/lib/debug/.build-id/7f 40755 root:root +/usr/lib/debug/.build-id/7f/792cd683d6535af7333ce222aa0be8dd243809 120777 root:root ../../../../bin/bamg-g +/usr/lib/debug/.build-id/7f/792cd683d6535af7333ce222aa0be8dd243809.debug 120777 root:root ../../usr/bin/bamg-g.debug /usr/lib/debug/usr/bin/bamg-g.debug 100644 root:root @@ -48,18 +48,18 @@ Provides: bamg-debuginfo = 0.60-alt4 -File: /usr/lib/debug/.build-id/07 40755 root:root -File: /usr/lib/debug/.build-id/07/e81776df5644effd076421ec8f2a4446ead265 120777 root:root ../../../../bin/bamg -File: /usr/lib/debug/.build-id/07/e81776df5644effd076421ec8f2a4446ead265.debug 120777 root:root ../../usr/bin/bamg.debug -File: /usr/lib/debug/.build-id/56 40755 root:root -File: /usr/lib/debug/.build-id/56/5a9a55dec136b8c006b63e7e8df7078c66f349 120777 root:root ../../../../bin/cvmsh2 -File: /usr/lib/debug/.build-id/56/5a9a55dec136b8c006b63e7e8df7078c66f349.debug 120777 root:root ../../usr/bin/cvmsh2.debug -File: /usr/lib/debug/.build-id/b5 40755 root:root -File: /usr/lib/debug/.build-id/b5/af8ff3fa6ca815e9b74ab7670438c852a02494 120777 root:root ../../../../bin/drawbdmesh -File: /usr/lib/debug/.build-id/b5/af8ff3fa6ca815e9b74ab7670438c852a02494.debug 120777 root:root ../../usr/bin/drawbdmesh.debug -File: /usr/lib/debug/.build-id/c8 40755 root:root -File: /usr/lib/debug/.build-id/c8/c0acc5fd6aa0aa16a100dc051f8964402fe2e9 120777 root:root ../../../../bin/bamg-g -File: /usr/lib/debug/.build-id/c8/c0acc5fd6aa0aa16a100dc051f8964402fe2e9.debug 120777 root:root ../../usr/bin/bamg-g.debug -File: /usr/lib/debug/usr/bin/bamg-g.debug 100644 root:root b5015c4e91d41d6be054be34efae9f35 -File: /usr/lib/debug/usr/bin/bamg.debug 100644 root:root 7c8b1c35aeefecbcd9ce86005c64874f -File: /usr/lib/debug/usr/bin/cvmsh2.debug 100644 root:root ff195689068740f85091581d3974b329 -File: /usr/lib/debug/usr/bin/drawbdmesh.debug 100644 root:root 86f08b135ab18d2c04216ea056b053e6 +File: /usr/lib/debug/.build-id/2e 40755 root:root +File: /usr/lib/debug/.build-id/2e/5ebf6fbc4c036b161b4d6dd196340ed545e84d 120777 root:root ../../../../bin/cvmsh2 +File: /usr/lib/debug/.build-id/2e/5ebf6fbc4c036b161b4d6dd196340ed545e84d.debug 120777 root:root ../../usr/bin/cvmsh2.debug +File: /usr/lib/debug/.build-id/3f 40755 root:root +File: /usr/lib/debug/.build-id/3f/11e353391950e0270ccf8cbb92eb633feab5f1 120777 root:root ../../../../bin/drawbdmesh +File: /usr/lib/debug/.build-id/3f/11e353391950e0270ccf8cbb92eb633feab5f1.debug 120777 root:root ../../usr/bin/drawbdmesh.debug +File: /usr/lib/debug/.build-id/43 40755 root:root +File: /usr/lib/debug/.build-id/43/5dff2cf5731080fa1fff7adbd3958b1bf65c60 120777 root:root ../../../../bin/bamg +File: /usr/lib/debug/.build-id/43/5dff2cf5731080fa1fff7adbd3958b1bf65c60.debug 120777 root:root ../../usr/bin/bamg.debug +File: /usr/lib/debug/.build-id/7f 40755 root:root +File: /usr/lib/debug/.build-id/7f/792cd683d6535af7333ce222aa0be8dd243809 120777 root:root ../../../../bin/bamg-g +File: /usr/lib/debug/.build-id/7f/792cd683d6535af7333ce222aa0be8dd243809.debug 120777 root:root ../../usr/bin/bamg-g.debug +File: /usr/lib/debug/usr/bin/bamg-g.debug 100644 root:root a8b32ea2f657b85356d7c96738977d9d +File: /usr/lib/debug/usr/bin/bamg.debug 100644 root:root 980fc034d82897c29b51924debdc0445 +File: /usr/lib/debug/usr/bin/cvmsh2.debug 100644 root:root e8ebc65e7aca2f522ef620e250aed6fd +File: /usr/lib/debug/usr/bin/drawbdmesh.debug 100644 root:root 37b131979e63c81042eef45cdc6748e2 File: /usr/src/debug/bamg-0.60 40755 root:root @@ -87,2 +87,2 @@ File: /usr/src/debug/bamg-0.60/meshtype.h 100644 root:root abb48235bac465190acb42369063ff09 -RPMIdentity: 509726b222eb830f3a290c13d99c0774d51ee94e9ddc467b9b46e1e0ce03400ac6f18a42f41ba8054cea0f04255f94508460dbfcac44ec6712c0798cb30db9c4 +RPMIdentity: d6894e8ba49366574686a1110c68a71632c06c29f3704ba8e5db1fe5c40c50fc7167d801e1eae8018e55ed10df379b801df31692e4516aa4bfd67343bf2e3e94 --- bamg-doc-0.60-alt4.noarch.rpm.repo 2016-04-08 01:49:48.000000000 +0000 +++ bamg-doc-0.60-alt4.noarch.rpm.hasher 2024-06-16 02:10:37.695121164 +0000 @@ -6,2 +6,2 @@ File: /usr/share/doc/bamg-doc-0.60/bamg.ps.gz 100644 root:root db8780db022ca5eeac3da26112d9ca3c -RPMIdentity: fc854f55c20d91e6e82a93c47e2712561035f3ec20570d7c8b4724ff3525330b6bf476c39719406bb5578d1081eefc386c7212f58dc0d1bb36ccfbe0a1a11fc3 +RPMIdentity: 8924cc8805f8745974fae331c833f4d05587f9e3f41226bf94ec682290f1673fe74358d9d3bf3bc05e2197d923071d4c0b520bab0bf16dd27174f38de46ed572 --- bamg-examples-0.60-alt4.noarch.rpm.repo 2016-04-08 01:49:48.000000000 +0000 +++ bamg-examples-0.60-alt4.noarch.rpm.hasher 2024-06-16 02:10:37.901125267 +0000 @@ -59,2 +59,2 @@ File: /usr/share/doc/bamg-examples-0.60/test/dotest3.pl 100755 root:root fa6c18699b347192a619e8654ae7498d -RPMIdentity: fc8d55f73837027ed009823105f6abbef5061f4295eb50a5998d15502883a0c339599d35cc675a2d51d9570477d0ce9fb5dee6d969ff6e77ce4185e113a4211b +RPMIdentity: bf9dfeb328e88ba1aabe70bfd84b0292ed5dde06b5b3a9add362779986c70f37961a4c8046168c89af6f32cfe183761b10cf0dc6dc37466bc8d5e402aeeb570e