<86>Aug 6 05:30:35 userdel[1431140]: delete user 'rooter' <86>Aug 6 05:30:35 userdel[1431140]: removed group 'rooter' owned by 'rooter' <86>Aug 6 05:30:35 groupadd[1431162]: group added to /etc/group: name=rooter, GID=963 <86>Aug 6 05:30:35 groupadd[1431162]: group added to /etc/gshadow: name=rooter <86>Aug 6 05:30:35 groupadd[1431162]: new group: name=rooter, GID=963 <86>Aug 6 05:30:35 useradd[1431181]: new user: name=rooter, UID=963, GID=963, home=/root, shell=/bin/bash <86>Aug 6 05:30:35 userdel[1431214]: delete user 'builder' <86>Aug 6 05:30:35 userdel[1431214]: removed group 'builder' owned by 'builder' <86>Aug 6 05:30:35 groupadd[1431242]: group added to /etc/group: name=builder, GID=964 <86>Aug 6 05:30:35 groupadd[1431242]: group added to /etc/gshadow: name=builder <86>Aug 6 05:30:35 groupadd[1431242]: new group: name=builder, GID=964 <86>Aug 6 05:30:35 useradd[1431262]: new user: name=builder, UID=964, GID=964, 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>Aug 6 05:30:36 rpmi: libquadmath0-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed <13>Aug 6 05:30:36 rpmi: libquadmath12-devel-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed <13>Aug 6 05:30:37 rpmi: libgfortran5-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed <13>Aug 6 05:30:37 rpmi: libX11-locales-3:1.8-alt1 sisyphus+299436.100.1.1 1651655356 installed <13>Aug 6 05:30:37 rpmi: xorg-proto-devel-2022.1-alt1 sisyphus+299488.100.1.1 1651731532 installed <13>Aug 6 05:30:37 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219233 installed <13>Aug 6 05:30:37 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080738 installed <13>Aug 6 05:30:37 rpmi: libxcb-1.15-alt1 sisyphus+299436.300.1.1 1651655490 installed <13>Aug 6 05:30:38 rpmi: libxcb-devel-1.15-alt1 sisyphus+299436.300.1.1 1651655490 installed <13>Aug 6 05:30:38 rpmi: libX11-3:1.8-alt1 sisyphus+299436.100.1.1 1651655362 installed <13>Aug 6 05:30:38 rpmi: gcc-fortran-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Aug 6 05:30:38 rpmi: libgfortran12-devel-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed <13>Aug 6 05:30:38 rpmi: gcc12-fortran-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed <13>Aug 6 05:30:38 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Aug 6 05:30:39 rpmi: libstdc++12-devel-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed <13>Aug 6 05:30:39 rpmi: gcc12-c++-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed <13>Aug 6 05:30:39 rpmi: gcc-c++-12-alt1 sisyphus+300988.300.1.1 1654033914 installed <13>Aug 6 05:30:39 rpmi: gcc-fortran-12-alt1 sisyphus+300988.300.1.1 1654033914 installed <13>Aug 6 05:30:39 rpmi: libX11-devel-3:1.8-alt1 sisyphus+299436.100.1.1 1651655362 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/bamg-0.60-alt4.nosrc.rpm (w1.gzdio) Installing bamg-0.60-alt4.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.76676 + 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.76676 + 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){} | ^~~~~~~~~~~ Mesh2.h: In function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 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;} | ^~~~~~~~~~~~ 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 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);} | ^~~~~~~~~ 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 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) | ^ Mesh2.h: In member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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:253:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 253 | register int k=0,ii[3]; | ^ Mesh2.cpp:253:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 253 | register int k=0,ii[3]; | ^~ 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:25: 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:10: 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:358:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 358 | register Vertex * s = ns[i]; | ^ 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]; | ^ 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:53: 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:10: 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; | ^~~ 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:33: 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:9: 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:820:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 820 | register int n; | ^ Mesh2.cpp:834:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 834 | register Vertex * v; | ^ 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; | ~^~~~~~~~~ Mesh2.cpp: In member function 'int ListofIntersectionTriangles::NewItem(R2, const Metric&)': Mesh2.cpp:848:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 848 | register int n; | ^ 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; | ^~ 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]]; | ^~ 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)) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~ 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 | ^~~~~~~ Mesh2.cpp: In member function 'int Triangle::swap(Int2, int)': Mesh2.cpp:1247:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1247 | register Triangle *t1=this,*t2=at[a];// les 2 triangles adjacent | ^~ Mesh2.cpp:1247:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1247 | register Triangle *t1=this,*t2=at[a];// les 2 triangles adjacent | ^~ Mesh2.cpp:1248:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1248 | register Int1 a1=a,a2=aa[a];// les 2 numero de l arete dans les 2 triangles | ^~ Mesh2.cpp:1248:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1248 | register Int1 a1=a,a2=aa[a];// les 2 numero de l arete dans les 2 triangles | ^~ Mesh2.cpp:1257:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1257 | register Vertex *sa=t1->ns[VerticesOfTriangularEdge[a1][0]]; | ^~ Mesh2.cpp:1258:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1258 | register Vertex *sb=t1->ns[VerticesOfTriangularEdge[a1][1]]; | ^~ Mesh2.cpp:1259:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1259 | register Vertex *s1=t1->ns[OppositeVertex[a1]]; | ^~ Mesh2.cpp:1260:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1260 | register Vertex *s2=t2->ns[OppositeVertex[a2]]; | ^~ Mesh2.cpp:1293:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1293 | register Icoor2 xb1 = sb->i.x - s1->i.x, | ^~~ Mesh2.cpp:1294:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1294 | x21 = s2->i.x - s1->i.x, | ^~~ Mesh2.cpp:1295:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1295 | yb1 = sb->i.y - s1->i.y, | ^~~ Mesh2.cpp:1296:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1296 | y21 = s2->i.y - s1->i.y, | ^~~ Mesh2.cpp:1297:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1297 | xba = sb->i.x - sa->i.x, | ^~~ Mesh2.cpp:1298:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1298 | x2a = s2->i.x - sa->i.x, | ^~~ Mesh2.cpp:1299:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1299 | yba = sb->i.y - sa->i.y, | ^~~ Mesh2.cpp:1300:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1300 | y2a = s2->i.y - sa->i.y; | ^~~ Mesh2.cpp:1302:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1302 | cosb12 = double(xb1*x21 + yb1*y21), | ^~~~~~ Mesh2.cpp:1303:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1303 | cosba2 = double(xba*x2a + yba*y2a) , | ^~~~~~ Mesh2.cpp:1304:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1304 | sinb12 = double(det2), | ^~~~~~ Mesh2.cpp:1305:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1305 | sinba2 = double(t2->det); | ^~~~~~ Mesh2.cpp: In member function 'Real8 Vertex::Smoothing(Triangles&, const Triangles&, Triangle*&, Real8)': Mesh2.cpp:1383:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1383 | register Int4 NbSwap =0; | ^~~~~~ Mesh2.cpp:1384:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1384 | register Vertex * s = this; | ^ Mesh2.cpp:1388:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1388 | register Triangle * tbegin= t , *tria = t , *ttc; | ^~~~~~ Mesh2.cpp:1388:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1388 | register Triangle * tbegin= t , *tria = t , *ttc; | ^~~~ Mesh2.cpp:1388:48: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1388 | register Triangle * tbegin= t , *tria = t , *ttc; | ^~~ Mesh2.cpp:1390:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1390 | register int k=0,kk=0,j = EdgesVertexTriangle[vint][0],jc; | ^ Mesh2.cpp:1390:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1390 | register int k=0,kk=0,j = EdgesVertexTriangle[vint][0],jc; | ^~ Mesh2.cpp:1390:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1390 | register int k=0,kk=0,j = EdgesVertexTriangle[vint][0],jc; | ^ Mesh2.cpp:1390:58: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1390 | register int k=0,kk=0,j = EdgesVertexTriangle[vint][0],jc; | ^~ 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:22: 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:9: note: in expansion of macro 'assert' 1485 | assert(k<2000); | ^~~~~~ Mesh2.cpp:1461:16: 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:1514:41: note: 's2' declared here 1514 | Vertex &s0 = (* t)[0], &s1=(* t)[1], &s2=(* t)[2]; | ^~ 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:1514:27: note: 's1' declared here 1514 | Vertex &s0 = (* t)[0], &s1=(* t)[1], &s2=(* t)[2]; | ^~ 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:1514:11: note: 's0' declared here 1514 | Vertex &s0 = (* t)[0], &s1=(* t)[1], &s2=(* t)[2]; | ^~ Mesh2.cpp:1518:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1518 | register int nbd0 =0; // number of zero det3 | ^~~~ Mesh2.cpp:1519:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1519 | register int izerodet=-1,iedge; // izerodet = egde contening the vertex s | ^~~~~~~~ Mesh2.cpp:1519:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1519 | register int izerodet=-1,iedge; // izerodet = egde contening the vertex s | ^~~~~ 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:1514:11: note: 's0' declared here 1514 | Vertex &s0 = (* t)[0], &s1=(* t)[1], &s2=(* t)[2]; | ^~ 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:1514:27: note: 's1' declared here 1514 | Vertex &s0 = (* t)[0], &s1=(* t)[1], &s2=(* t)[2]; | ^~ 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:1514:41: note: 's2' declared here 1514 | Vertex &s0 = (* t)[0], &s1=(* t)[1], &s2=(* t)[2]; | ^~ 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 | ^ 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:18: warning: the compiler can assume that the address of 'tt' will never be NULL [-Waddress] 1658 | if ( &tt && tt.link && it < Number(tt)) | ^~~ Mesh2.cpp:1657:23: note: 'tt' declared here 1657 | Triangle &tt = *t.TriangleAdj(j); | ^~ 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:1758:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1758 | register Int4 j = nbvold +(k3 = (k3 + PrimeNumber)% nbvnew); | ^ Mesh2.cpp:1759:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1759 | register Int4 i = nbvold+is3; | ^ Mesh2.cpp:1778:31: 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:9: note: in expansion of macro 'assert' 1778 | assert( &vj== ordre[j]); | ^~~~~~ Mesh2.cpp:1809:39: 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:9: 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:22: warning: unused variable 'NbvOld' [-Wunused-variable] 1972 | const Int4 NbvOld = nbv; | ^~~~~~ Mesh2.cpp:2004:39: 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:10: 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; | ^~~~~ 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:2135:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2135 | register int kk = t->NuEdgeTriangleAdj(j); | ^~ Mesh2.cpp:2136:99: 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:13: note: in expansion of macro 'assert' 2136 | assert ((*t)(VerticesOfTriangularEdge[j][0]) == (*ta)(VerticesOfTriangularEdge[kk][1])); | ^~~~~~ Mesh2.cpp:2137:99: 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:13: note: in expansion of macro 'assert' 2137 | assert ((*t)(VerticesOfTriangularEdge[j][1]) == (*ta)(VerticesOfTriangularEdge[kk][0])); | ^~~~~~ Mesh2.cpp:2138:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2138 | register Int4 kolor =3*k + kk; | ^~~~~ Mesh2.cpp:2140:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2140 | register Int4 kkk= 1; | ^~~ Mesh2.cpp:2160:16: warning: unused variable 'NbvNp' [-Wunused-variable] 2160 | Int4 NbvNp = lIntTria.NewPoints(vertices,nbv,nbvx); | ^~~~~ Mesh2.cpp:2236:18: warning: variable 'VP' set but not used [-Wunused-but-set-variable] 2236 | R2 VP = V10*s + V11*(1-s); | ^~ Mesh2.cpp:2278:41: 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:15: note: in expansion of macro 'assert' 2278 | assert(i1 < nbv && i1 >= 0); | ^~~~~~ Mesh2.cpp:2279:41: 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:15: note: in expansion of macro 'assert' 2279 | assert(i0 < nbv && i0 >= 0); | ^~~~~~ Mesh2.cpp:2280:30: 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:15: note: in expansion of macro 'assert' 2280 | assert(i1 != i0); | ^~~~~~ Mesh2.cpp:2294:35: 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:15: note: in expansion of macro 'assert' 2294 | assert (i0 >= nbvold); | ^~~~~~ Mesh2.cpp:2295:35: 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:15: note: in expansion of macro 'assert' 2295 | assert (i1 >= nbvold); | ^~~~~~ Mesh2.cpp:2296:30: 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:15: note: in expansion of macro 'assert' 2296 | assert(i0 != i1); | ^~~~~~ Mesh2.cpp:2302:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2302 | register Int4 ip,ipp; | ^~ Mesh2.cpp:2302:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2302 | register Int4 ip,ipp; | ^~~ Mesh2.cpp:2309:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2309 | register Int4 ip0, ip1, ipp0,ipp1; | ^~~ Mesh2.cpp:2309:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2309 | register Int4 ip0, ip1, ipp0,ipp1; | ^~~ Mesh2.cpp:2309:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2309 | register Int4 ip0, ip1, ipp0,ipp1; | ^~~~ Mesh2.cpp:2309:46: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2309 | register Int4 ip0, ip1, ipp0,ipp1; | ^~~~ Mesh2.cpp:2310:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2310 | register int kk0=1,kk1=1; | ^~~ Mesh2.cpp:2310:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2310 | register int kk0=1,kk1=1; | ^~~ Mesh2.cpp:2315:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2315 | register Real8 w0 = ((Real8) kk0)/(kk0+kk1); | ^~ Mesh2.cpp:2316:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2316 | register Real8 w1 = ((Real8) kk1)/(kk0+kk1); | ^~ Mesh2.cpp:2299:18: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2299 | if ( d01 < seuil) | ^ Mesh2.cpp:2203:18: warning: unused variable 'savRef' [-Wunused-variable] 2203 | Int4 savRef[10]; | ^~~~~~ 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); | ^~ Mesh2.cpp:2432:39: 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:10: 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]; | ^~~~~~~~~ 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:39: 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:14: note: in expansion of macro 'assert' 2895 | assert(mark[Number(tt)]<0); | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::ReNumberingTheTriangleBySubDomain()': Mesh2.cpp:3019:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3019 | register Triangle *t0,*t,*te=triangles+nbt; | ^~ Mesh2.cpp:3019:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3019 | register Triangle *t0,*t,*te=triangles+nbt; | ^ Mesh2.cpp:3019:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3019 | register Triangle *t0,*t,*te=triangles+nbt; | ^~ Mesh2.cpp:3020:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3020 | register Int4 k=0,it,i,j; | ^ Mesh2.cpp:3020:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3020 | register Int4 k=0,it,i,j; | ^~ Mesh2.cpp:3020:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3020 | register Int4 k=0,it,i,j; | ^ Mesh2.cpp:3020:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3020 | register Int4 k=0,it,i,j; | ^ 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:3041:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3041 | for ( it=0;it=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]); | ^ 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:23: 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:10: 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:3367:48: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3367 | register GeometricalVertex * GA0 = *ei[k0].on; | ^~~ 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:27: note: in expansion of macro 'assert' 3393 | assert (sNew >= L0); | ^~~~~~ Mesh2.cpp:3394:37: 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:27: note: in expansion of macro 'assert' 3394 | assert(LAB); | ^~~~~~ Mesh2.cpp:3397:54: 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:27: note: in expansion of macro 'assert' 3405 | assert(se>=0 && se < 1.000000001); | ^~~~~~ Mesh2.cpp:3411:50: 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:27: note: in expansion of macro 'assert' 3411 | assert(se>=0 && se <= 1); | ^~~~~~ Mesh2.cpp:3458:68: 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:23: note: in expansion of macro 'assert' 3458 | assert(ee.on->CurveNumber==ei.on->CurveNumber); | ^~~~~~ Mesh2.cpp:3461:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3461 | register GeometricalVertex * GA1 = *ee[k1].on; | ^~~ Mesh2.cpp:3463:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3463 | assert (A1-vertices>=0 && A1-vertices =0 && A1-vertices no background | ^~~ Mesh2.cpp: In member function 'void Triangles::SetIntCoor(char*)': Mesh2.cpp:3954:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3954 | 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__) | ^~~~~~~~ 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:3974:18: note: 'v0' declared here 3974 | Vertex & v0 = triangles[i][0]; | ^~ 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:3975:18: note: 'v1' declared here 3975 | Vertex & v1 = triangles[i][1]; | ^~ 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:3976:18: note: 'v2' declared here 3976 | Vertex & v2 = triangles[i][2]; | ^~ Mesh2.cpp:3982:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 3982 | if(Nberr==1) | ^ 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:104: 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:13: 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 | ^ Mesh2.cpp:4239:40: 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:24: 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:14: warning: unused variable 'nbtfillhole' [-Wunused-variable] 4202 | Int4 nbtfillhole = nbt; | ^~~~~~~~~~~ Mesh2.cpp: In member function 'Int4 Triangle::Optim(Int2, int)': Mesh2.cpp:4484:25: 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:9: 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:4575:23: note: 'vP' declared here 4575 | Vertex & vP = triangles[it][VerticesOfTriangularEdge[j][0]]; | ^~ Mesh2.cpp:4577:29: warning: the compiler can assume that the address of 'vQ' will never be NULL [-Waddress] 4577 | if ( !& vP || !&vQ) continue; | ^~~ Mesh2.cpp:4576:23: note: 'vQ' declared here 4576 | Vertex & vQ = triangles[it][VerticesOfTriangularEdge[j][1]]; | ^~ 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:33: 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:13: note: in expansion of macro 'assert' 4695 | assert(tta.Cracked()); | ^~~~~~ Mesh2.cpp:4702:25: 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:11: 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:9: 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; | ^~~~ 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;} | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~ In member function 'int Triangle::swap(Int2, int)', inlined from 'void Triangles::Add(Vertex&, Triangle*, Icoor2*)' at Mesh2.cpp:1627:34: Mesh2.cpp:1244:2: warning: 'iedge' may be used uninitialized [-Wmaybe-uninitialized] 1244 | if(a/4 !=0) return 0;// arete lock or MarkUnSwap | ^~ Mesh2.cpp: In member function 'void Triangles::Add(Vertex&, Triangle*, Icoor2*)': Mesh2.cpp:1519:28: note: 'iedge' was declared here 1519 | register int izerodet=-1,iedge; // izerodet = egde contening the vertex s | ^~~~~ Mesh2.cpp: In member function 'void Triangles::FindSubDomain(int)': Mesh2.cpp:2825:14: warning: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 2825 | delete mark; | ^~~~ Mesh2.cpp:2742:33: note: returned from 'void* operator new [](std::size_t)' 2742 | Int4 * mark = new Int4[nbt]; | ^ Mesh2.cpp: In member function 'void Triangles::GeomToTriangles0(Int4)': Mesh2.cpp:3808:43: warning: 'PreviousNewEdge' may be used uninitialized [-Wmaybe-uninitialized] 3808 | PreviousNewEdge->adj[1] = & edges[nbe]; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ Mesh2.cpp:3634:19: note: 'PreviousNewEdge' was declared here 3634 | Edge * PreviousNewEdge; | ^~~~~~~~~~~~~~~ Mesh2.cpp:3803:33: warning: 'e' may be used uninitialized [-Wmaybe-uninitialized] 3803 | edges[nbe].ref = e->ref; | ~~~^~~ Mesh2.cpp:3579:21: note: 'e' was declared here 3579 | GeometricalEdge * e; | ^ Mesh2.cpp:3802:28: warning: 'vb' may be used uninitialized [-Wmaybe-uninitialized] 3802 | edges[nbe].v[1]=vb; | ~~~~~~~~~~~~~~~^~~ Mesh2.cpp:3578:15: note: 'vb' was declared here 3578 | Vertex *va,*vb; | ^~ Mesh2.cpp:3801:28: warning: 'va' may be used uninitialized [-Wmaybe-uninitialized] 3801 | edges[nbe].v[0]=va; | ~~~~~~~~~~~~~~~^~~ Mesh2.cpp:3578:11: note: 'va' was declared here 3578 | Vertex *va,*vb; | ^~ Mesh2.cpp:3816:17: warning: 'NbEdgeCurve' may be used uninitialized [-Wmaybe-uninitialized] 3816 | nbe += NbEdgeCurve; | ~~~~^~~~~~~~~~~~~~ Mesh2.cpp:3569:35: note: 'NbEdgeCurve' was declared here 3569 | Int4 i,NbOfCurves=0,NbNewPoints,NbEdgeCurve; | ^~~~~~~~~~~ Mesh2.cpp: In member function 'void Triangles::FillHoleInMesh()': Mesh2.cpp:4316:12: warning: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 4316 | delete st; | ^~ Mesh2.cpp:4027:31: note: returned from 'void* operator new [](std::size_t)' 4027 | Int4 * st = new Int4[nbt*3]; | ^ 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:90: 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:12: 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){} | ^~~~~~~~~~~ Mesh2.h: In function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 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;} | ^~~~~~~~~~~~ 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 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);} | ^~~~~~~~~ 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 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) | ^ Mesh2.h: In member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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:27: 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:12: note: in expansion of macro 'assert' 88 | assert(vertices); | ^~~~~~ MeshRead.cpp:89:37: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 89 | ordre=new (Vertex* [nbvx]); | ^ MeshRead.cpp:90:24: 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:12: note: in expansion of macro 'assert' 90 | assert(ordre); | ^~~~~~ MeshRead.cpp:103:28: 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:12: note: in expansion of macro 'assert' 103 | assert(triangles); | ^~~~~~ MeshRead.cpp:175:43: 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:16: note: in expansion of macro 'assert' 175 | assert(VerticesOnGeomVertex); | ^~~~~~ MeshRead.cpp:193:41: 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:16: note: in expansion of macro 'assert' 193 | assert(VerticesOnGeomEdge); | ^~~~~~ MeshRead.cpp:198:35: warning: unused variable 'v' [-Wunused-variable] 198 | VertexOnGeom & v =VerticesOnGeomVertex[i0]; | ^ 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:36: 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:15: note: in expansion of macro 'assert' 223 | assert(i1 >0 && i2 >0); | ^~~~~~ MeshRead.cpp:224:44: 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:15: 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:17: 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); | ^~~~~~ 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]); | ^ 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]); | ^ 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]; | ^~ 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]; | ^~~ 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]); | ^ 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]); | ^ 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]); | ^ MeshRead.cpp:767:35: 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:11: note: in expansion of macro 'assert' 767 | assert( j >0 && j <= nbv); | ^~~~~~ MeshRead.cpp:778:36: 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:12: 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; | ^~~~~~~~~ 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:32: 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:13: note: in expansion of macro 'assert' 980 | assert(coefIcoor >0); | ^~~~~~ MeshRead.cpp:1006:27: 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:15: note: in expansion of macro 'assert' 1006 | assert(edges); | ^~~~~~ MeshRead.cpp:1007:29: 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:15: note: in expansion of macro 'assert' 1007 | assert (nbv >0); | ^~~~~~ MeshRead.cpp:1069:32: 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:15: note: in expansion of macro 'assert' 1069 | assert( i <= nbe ); | ^~~~~~ MeshRead.cpp:1070:29: 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:15: note: in expansion of macro 'assert' 1070 | assert( i > 0 ); | ^~~~~~ MeshRead.cpp:1071:39: 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:15: 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:31: 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:17: note: in expansion of macro 'assert' 1115 | assert(i0 == 2); | ^~~~~~ MeshRead.cpp:1116:39: 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:17: 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:90: 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:12: 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){} | ^~~~~~~~~~~ Mesh2.h: In function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 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;} | ^~~~~~~~~~~~ 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 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);} | ^~~~~~~~~ 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 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) | ^ Mesh2.h: In member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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; | ^ 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; | ^ 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:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 494 | f << endl; | ^ 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:33: 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:10: note: in expansion of macro 'assert' 636 | assert(v.OnGeomVertex()) ; | ^~~~~~ MeshWrite.cpp:647:31: 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:10: 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); | ^~~~~~ 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;} | ~~~~^~~~~~~~~~~~~~~~~ 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_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_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){} | ^~~~~~~~~~~ Mesh2.h: In function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 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;} | ^~~~~~~~~~~~ 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 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);} | ^~~~~~~~~ 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 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) | ^ Mesh2.h: In member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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:102: 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:11: 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:43: 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:13: note: in expansion of macro 'assert' 208 | assert( v == edges[i0 ].v[j0]); | ^~~~~~ MeshGeom.cpp:211:40: 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:13: 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; | ^~~~~~~~~~~~ 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:36: 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:9: note: in expansion of macro 'assert' 570 | assert(bge>=0 && bge <= mxe); | ^~~~~~ MeshGeom.cpp:599:36: 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:9: note: in expansion of macro 'assert' 599 | assert(tge>=0 && tge <= mxe); | ^~~~~~ MeshGeom.cpp:618:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 618 | register Real8 s0= vg0,s1=vg1; | ^~ MeshGeom.cpp:618:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 618 | register Real8 s0= vg0,s1=vg1; | ^~ MeshGeom.cpp:634:36: 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:12: 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:34: 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:9: 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:56: 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:18: note: in expansion of macro 'assert' 699 | assert( v == & (Vertex &) vertices[j]); | ^~~~~~ MeshGeom.cpp:782:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 782 | register float angleold = -1000 ; // angle = - infini | ^~~~~~~~ MeshGeom.cpp:787:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 787 | register Int4 i1= n /2; | ^~ MeshGeom.cpp:788:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 788 | register Int4 j1 = n % 2; | ^~ MeshGeom.cpp:789:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 789 | register Int4 *pn = ev + n; | ^~ MeshGeom.cpp:803:17: warning: unused variable 'a' [-Wunused-variable] 803 | float a = 180*(j1 ? OppositeAngle(eangle[i1]): eangle[i1])/Pi; | ^ 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; | ^~~~~~~~~~ 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; | ^~ 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:90: 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:12: 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){} | ^~~~~~~~~~~ Mesh2.h: In function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 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;} | ^~~~~~~~~~~~ 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 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);} | ^~~~~~~~~ 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 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) | ^ Mesh2.h: In member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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:21: note: in expansion of macro 'assert' 228 | assert(thetab>=0 && thetab<=1); | ^~~~~~ MeshQuad.cpp:245:22: 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:12: note: in expansion of macro 'assert' 245 | assert(eee); | ^~~~~~ MeshQuad.cpp:254:45: 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:16: note: in expansion of macro 'assert' 254 | assert(thetab>=0 && thetab<=1); | ^~~~~~ MeshQuad.cpp: In member function 'int Triangles::SplitElement(int)': MeshQuad.cpp:340:47: warning: the compiler can assume that the address of 'Triangles::BTh' will never be NULL [-Waddress] 340 | const int withBackground = &BTh != this && &BTh; | ^~~~ Mesh2.h:713:15: note: 'Triangles::BTh' declared here 713 | Triangles & BTh; // Background Mesh Bth==*this =>no background | ^~~ MeshQuad.cpp:440:31: 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:15: 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:23: warning: the compiler can assume that the address of 'tt' will never be NULL [-Waddress] 608 | if (&tt) // internal triangles all the boundary | ^~~ MeshQuad.cpp:596:28: note: 'tt' declared here 596 | const Triangle & tt = ta; | ^~ 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:36: 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:12: 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:78: 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:12: 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; | ^~~~ In file included from /usr/include/c++/12/iostream:39, from Meshio.h:17: In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits]', inlined from 'int Triangles::SplitElement(int)' at MeshQuad.cpp:558:43: /usr/include/c++/12/ostream:221:25: warning: 'cc' may be used uninitialized [-Wmaybe-uninitialized] 221 | { return _M_insert(__f); } | ~~~~~~~~~^~~~~ MeshQuad.cpp: In member function 'int Triangles::SplitElement(int)': MeshQuad.cpp:550:26: note: 'cc' was declared here 550 | Real8 aa,bb,cc,dd; | ^~ In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits]', inlined from 'int Triangles::SplitElement(int)' at MeshQuad.cpp:558:30: /usr/include/c++/12/ostream:221:25: warning: 'bb' may be used uninitialized [-Wmaybe-uninitialized] 221 | { return _M_insert(__f); } | ~~~~~~~~~^~~~~ MeshQuad.cpp: In member function 'int Triangles::SplitElement(int)': MeshQuad.cpp:550:23: note: 'bb' was declared here 550 | Real8 aa,bb,cc,dd; | ^~ MeshQuad.cpp:907:10: warning: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 907 | delete newedges; | ^~~~~~~~ MeshQuad.cpp:398:36: note: returned from 'void* operator new [](std::size_t)' 398 | Edge *newedges = new Edge [newnbe]; | ^ MeshQuad.cpp:907:10: warning: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 907 | delete newedges; | ^~~~~~~~ MeshQuad.cpp:398:36: note: returned from 'void* operator new [](std::size_t)' 398 | Edge *newedges = new Edge [newnbe]; | ^ 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:90: 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:12: 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){} | ^~~~~~~~~~~ Mesh2.h: In function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 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;} | ^~~~~~~~~~~~ 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 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);} | ^~~~~~~~~ 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 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) | ^ Mesh2.h: In member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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:123:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 123 | register int l=0; // level | ^ QuadTree.cpp:124:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 124 | register QuadTreeBox * b; | ^ QuadTree.cpp:135:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 135 | register Int4 n0; | ^~ QuadTree.cpp:143:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 143 | register Icoor1 hb2 = hb >> 1 ; | ^~~ QuadTree.cpp:144:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 144 | register int k = IJ(iplus,jplus,hb2);// QuadTreeBox number of size hb2 contening i;j | ^ QuadTree.cpp:145:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 145 | register QuadTreeBox * b0= b->b[k]; | ^~ QuadTree.cpp:158:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 158 | for(register int k=0;kb[k]) | ~^~~~~~~~ QuadTree.cpp:199:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 199 | register Icoor1 iii = ii[l]+I_IJ(k,hb); | ^~~ QuadTree.cpp:200:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 200 | register Icoor1 jjj = jj[l]+J_IJ(k,hb); | ^~~ QuadTree.cpp: In member function 'int QuadTree::ToClose(Vertex&, Real8, Icoor1, Icoor1)': QuadTree.cpp:235:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 235 | register int l=0; // level | ^ QuadTree.cpp:236:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 236 | register QuadTreeBox * b; | ^ QuadTree.cpp:256:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 256 | register int k = pi[l]; | ^ QuadTree.cpp:277:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 277 | register QuadTreeBox *b0=b; | ^~ QuadTree.cpp:279:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 279 | if (b=b->b[k]) | ~^~~~~~~~ QuadTree.cpp:282:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 282 | register long iii = ii[l]+I_IJ(k,hb); | ^~~ QuadTree.cpp:283:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 283 | register long jjj = jj[l]+J_IJ(k,hb); | ^~~ QuadTree.cpp:237:10: warning: variable 'h' set but not used [-Wunused-but-set-variable] 237 | Icoor1 h=MaxISize; | ^ QuadTree.cpp: In member function 'void QuadTree::Add(Vertex&)': QuadTree.cpp:310:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 310 | register long i=w.i.x, j=w.i.y,l=MaxISize; | ^ QuadTree.cpp:310:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 310 | register long i=w.i.x, j=w.i.y,l=MaxISize; | ^ QuadTree.cpp:310:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 310 | register long i=w.i.x, j=w.i.y,l=MaxISize; | ^ 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:337:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 337 | for (register int k=0;k<4;k++) // for the 4 vertices find the sub QuadTreeBox ij | ^ QuadTree.cpp:339:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 339 | register int ij; | ^~ QuadTree.cpp:340:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 340 | register QuadTreeBox * bb = b->b[ij=IJ(v4[k]->i.x,v4[k]->i.y,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) : | ^~~~~~~~ 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) : | ^~~~~~~~ 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.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() : | ^~~~~~~~ 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() : | ^~~~~~~~ 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:433:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 433 | register Int4 n0; | ^~ QuadTree.cpp:441:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 441 | register Icoor1 hb2 = hb >> 1 ; | ^~~ QuadTree.cpp:442:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 442 | register int k = IJ(iplus,jplus,hb2);// QuadTreeBox number of size hb2 contening i;j | ^ QuadTree.cpp:443:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 443 | register QuadTreeBox * b0= b->b[k]; | ^~ QuadTree.cpp:456:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 456 | for(register int k=0;kb[k]) | ~^~~~~~~~ QuadTree.cpp:502:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 502 | register Icoor1 iii = ii[l]+I_IJ(k,hb); | ^~~ QuadTree.cpp:503:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 503 | register Icoor1 jjj = jj[l]+J_IJ(k,hb); | ^~~ 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:90: 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:12: 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:90: 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:12: 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){} | ^~~~~~~~~~~ Mesh2.h: In function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 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;} | ^~~~~~~~~~~~ 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 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);} | ^~~~~~~~~ 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 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) | ^ Mesh2.h: In member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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; | ^~~ 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:30: 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:11: 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:31: warning: unused variable 'xx' [-Wunused-variable] 548 | Real8 xx = V.x-V.y; | ^~ Metric.cpp:549:31: warning: unused variable 'yy' [-Wunused-variable] 549 | Real8 yy = V.x + V.y; | ^~ Metric.cpp:575:29: 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:17: note: in expansion of macro 'assert' 575 | assert(det33); | ^~~~~~ Metric.cpp:529:23: warning: variable 'lla' set but not used [-Wunused-but-set-variable] 529 | Real8 lla,llb,llc,llf; | ^~~ Metric.cpp:529:27: warning: variable 'llb' set but not used [-Wunused-but-set-variable] 529 | Real8 lla,llb,llc,llf; | ^~~ Metric.cpp:529:31: warning: variable 'llc' set but not used [-Wunused-but-set-variable] 529 | Real8 lla,llb,llc,llf; | ^~~ Metric.cpp:529:35: 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:18: 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:876:21: note: 'tt' declared here 876 | Triangle &tt = *t.TriangleAdj(j); | ^~ Metric.cpp:877:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 877 | if ( ! &tt || it < Number(tt) && ( tt.link || t.link)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ Metric.cpp: In member function 'void Triangles::SmoothMetric(Real8)': Metric.cpp:962:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 962 | register Triangle * t= vertices[i].t; | ^ Metric.cpp:963:17: 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:9: note: in expansion of macro 'assert' 963 | assert(t); | ^~~~~~ Metric.cpp:972:48: 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:11: note: in expansion of macro 'assert' 972 | assert(vertices+i == ta.EdgeVertex(1)); | ^~~~~~ Metric.cpp:974:16: warning: the compiler can assume that the address of 'vj' will never be NULL [-Waddress] 974 | if ( &vj ) { | ^~~ Metric.cpp:973:20: note: 'vj' declared here 973 | Vertex & vj = *(ta.EdgeVertex(0)); | ^~ Metric.cpp:976:35: 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:13: 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:90: 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:12: 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){} | ^~~~~~~~~~~ Mesh2.h: In function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 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;} | ^~~~~~~~~~~~ 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 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);} | ^~~~~~~~~ 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 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) | ^ Mesh2.h: In member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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) | ^ bamg.cpp:560:36: 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:14: note: in expansion of macro 'assert' 560 | assert(lsolbb==BTh.nbv); | ^~~~~~ bamg.cpp:576:36: 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:14: note: in expansion of macro 'assert' 576 | assert(lsolBB==BTh.nbv); | ^~~~~~ bamg.cpp:604:17: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 604 | if ( NoMeshReconstruction) | ^ bamg.cpp:688:35: 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:22: 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:90: 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:12: 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){} | ^~~~~~~~~~~ Mesh2.h: In function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 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;} | ^~~~~~~~~~~~ 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 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);} | ^~~~~~~~~ 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 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) | ^ Mesh2.h: In member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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 function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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:253:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 253 | register int k=0,ii[3]; | ^ Mesh2.cpp:253:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 253 | register int k=0,ii[3]; | ^~ 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:25: 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:10: 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:358:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 358 | register Vertex * s = ns[i]; | ^ 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:53: 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:10: 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:33: 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:9: 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 'int ListofIntersectionTriangles::NewItem(Triangle*, Real8, Real8, Real8)': Mesh2.cpp:820:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 820 | register int n; | ^ Mesh2.cpp:834:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 834 | register Vertex * v; | ^ Mesh2.cpp: In member function 'int ListofIntersectionTriangles::NewItem(R2, const Metric&)': Mesh2.cpp:848:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 848 | register int n; | ^ 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:33: 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:11: 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:1247:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1247 | register Triangle *t1=this,*t2=at[a];// les 2 triangles adjacent | ^~ Mesh2.cpp:1247:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1247 | register Triangle *t1=this,*t2=at[a];// les 2 triangles adjacent | ^~ Mesh2.cpp:1248:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1248 | register Int1 a1=a,a2=aa[a];// les 2 numero de l arete dans les 2 triangles | ^~ Mesh2.cpp:1248:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1248 | register Int1 a1=a,a2=aa[a];// les 2 numero de l arete dans les 2 triangles | ^~ Mesh2.cpp:1257:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1257 | register Vertex *sa=t1->ns[VerticesOfTriangularEdge[a1][0]]; | ^~ Mesh2.cpp:1258:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1258 | register Vertex *sb=t1->ns[VerticesOfTriangularEdge[a1][1]]; | ^~ Mesh2.cpp:1259:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1259 | register Vertex *s1=t1->ns[OppositeVertex[a1]]; | ^~ Mesh2.cpp:1260:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1260 | register Vertex *s2=t2->ns[OppositeVertex[a2]]; | ^~ 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:1293:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1293 | register Icoor2 xb1 = sb->i.x - s1->i.x, | ^~~ Mesh2.cpp:1294:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1294 | x21 = s2->i.x - s1->i.x, | ^~~ Mesh2.cpp:1295:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1295 | yb1 = sb->i.y - s1->i.y, | ^~~ Mesh2.cpp:1296:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1296 | y21 = s2->i.y - s1->i.y, | ^~~ Mesh2.cpp:1297:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1297 | xba = sb->i.x - sa->i.x, | ^~~ Mesh2.cpp:1298:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1298 | x2a = s2->i.x - sa->i.x, | ^~~ Mesh2.cpp:1299:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1299 | yba = sb->i.y - sa->i.y, | ^~~ Mesh2.cpp:1300:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1300 | y2a = s2->i.y - sa->i.y; | ^~~ Mesh2.cpp:1302:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1302 | cosb12 = double(xb1*x21 + yb1*y21), | ^~~~~~ Mesh2.cpp:1303:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1303 | cosba2 = double(xba*x2a + yba*y2a) , | ^~~~~~ Mesh2.cpp:1304:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1304 | sinb12 = double(det2), | ^~~~~~ Mesh2.cpp:1305:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1305 | sinba2 = double(t2->det); | ^~~~~~ Mesh2.cpp: In member function 'Real8 Vertex::Smoothing(Triangles&, const Triangles&, Triangle*&, Real8)': Mesh2.cpp:1383:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1383 | register Int4 NbSwap =0; | ^~~~~~ Mesh2.cpp:1384:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1384 | register Vertex * s = this; | ^ Mesh2.cpp:1388:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1388 | register Triangle * tbegin= t , *tria = t , *ttc; | ^~~~~~ Mesh2.cpp:1388:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1388 | register Triangle * tbegin= t , *tria = t , *ttc; | ^~~~ Mesh2.cpp:1388:48: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1388 | register Triangle * tbegin= t , *tria = t , *ttc; | ^~~ Mesh2.cpp:1390:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1390 | register int k=0,kk=0,j = EdgesVertexTriangle[vint][0],jc; | ^ Mesh2.cpp:1390:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1390 | register int k=0,kk=0,j = EdgesVertexTriangle[vint][0],jc; | ^~ Mesh2.cpp:1390:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1390 | register int k=0,kk=0,j = EdgesVertexTriangle[vint][0],jc; | ^ Mesh2.cpp:1390:58: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1390 | register int k=0,kk=0,j = EdgesVertexTriangle[vint][0],jc; | ^~ 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:22: 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:9: note: in expansion of macro 'assert' 1485 | assert(k<2000); | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::Add(Vertex&, Triangle*, Icoor2*)': Mesh2.cpp:1518:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1518 | register int nbd0 =0; // number of zero det3 | ^~~~ Mesh2.cpp:1519:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1519 | register int izerodet=-1,iedge; // izerodet = egde contening the vertex s | ^~~~~~~~ Mesh2.cpp:1519:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1519 | register int izerodet=-1,iedge; // izerodet = egde contening the vertex s | ^~~~~ 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:1758:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1758 | register Int4 j = nbvold +(k3 = (k3 + PrimeNumber)% nbvnew); | ^ Mesh2.cpp:1759:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1759 | register Int4 i = nbvold+is3; | ^ Mesh2.cpp:1778:31: 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:9: note: in expansion of macro 'assert' 1778 | assert( &vj== ordre[j]); | ^~~~~~ Mesh2.cpp:1809:39: 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:9: 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:39: 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:10: 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:2135:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2135 | register int kk = t->NuEdgeTriangleAdj(j); | ^~ Mesh2.cpp:2136:99: 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:13: note: in expansion of macro 'assert' 2136 | assert ((*t)(VerticesOfTriangularEdge[j][0]) == (*ta)(VerticesOfTriangularEdge[kk][1])); | ^~~~~~ Mesh2.cpp:2137:99: 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:13: note: in expansion of macro 'assert' 2137 | assert ((*t)(VerticesOfTriangularEdge[j][1]) == (*ta)(VerticesOfTriangularEdge[kk][0])); | ^~~~~~ Mesh2.cpp:2138:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2138 | register Int4 kolor =3*k + kk; | ^~~~~ Mesh2.cpp:2140:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2140 | register Int4 kkk= 1; | ^~~ Mesh2.cpp:2278:41: 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:15: note: in expansion of macro 'assert' 2278 | assert(i1 < nbv && i1 >= 0); | ^~~~~~ Mesh2.cpp:2279:41: 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:15: note: in expansion of macro 'assert' 2279 | assert(i0 < nbv && i0 >= 0); | ^~~~~~ Mesh2.cpp:2280:30: 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:15: note: in expansion of macro 'assert' 2280 | assert(i1 != i0); | ^~~~~~ Mesh2.cpp:2294:35: 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:15: note: in expansion of macro 'assert' 2294 | assert (i0 >= nbvold); | ^~~~~~ Mesh2.cpp:2295:35: 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:15: note: in expansion of macro 'assert' 2295 | assert (i1 >= nbvold); | ^~~~~~ Mesh2.cpp:2296:30: 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:15: note: in expansion of macro 'assert' 2296 | assert(i0 != i1); | ^~~~~~ Mesh2.cpp:2302:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2302 | register Int4 ip,ipp; | ^~ Mesh2.cpp:2302:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2302 | register Int4 ip,ipp; | ^~~ Mesh2.cpp:2309:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2309 | register Int4 ip0, ip1, ipp0,ipp1; | ^~~ Mesh2.cpp:2309:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2309 | register Int4 ip0, ip1, ipp0,ipp1; | ^~~ Mesh2.cpp:2309:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2309 | register Int4 ip0, ip1, ipp0,ipp1; | ^~~~ Mesh2.cpp:2309:46: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2309 | register Int4 ip0, ip1, ipp0,ipp1; | ^~~~ Mesh2.cpp:2310:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2310 | register int kk0=1,kk1=1; | ^~~ Mesh2.cpp:2310:36: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2310 | register int kk0=1,kk1=1; | ^~~ Mesh2.cpp:2315:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2315 | register Real8 w0 = ((Real8) kk0)/(kk0+kk1); | ^~ Mesh2.cpp:2316:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2316 | register Real8 w1 = ((Real8) kk1)/(kk0+kk1); | ^~ 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:39: 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:10: 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:39: 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:14: note: in expansion of macro 'assert' 2895 | assert(mark[Number(tt)]<0); | ^~~~~~ Mesh2.cpp: In member function 'void Triangles::ReNumberingTheTriangleBySubDomain()': Mesh2.cpp:3019:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3019 | register Triangle *t0,*t,*te=triangles+nbt; | ^~ Mesh2.cpp:3019:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3019 | register Triangle *t0,*t,*te=triangles+nbt; | ^ Mesh2.cpp:3019:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3019 | register Triangle *t0,*t,*te=triangles+nbt; | ^~ Mesh2.cpp:3020:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3020 | register Int4 k=0,it,i,j; | ^ Mesh2.cpp:3020:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3020 | register Int4 k=0,it,i,j; | ^~ Mesh2.cpp:3020:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3020 | register Int4 k=0,it,i,j; | ^ Mesh2.cpp:3020:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3020 | register Int4 k=0,it,i,j; | ^ 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:3081:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3081 | register Triangle *t0,*t; | ^~ Mesh2.cpp:3081:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3081 | register Triangle *t0,*t; | ^ Mesh2.cpp:3082:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3082 | register Int4 k=0, num; | ^ Mesh2.cpp:3082:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3082 | register Int4 k=0, num; | ^~~ 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]); | ^ 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:23: 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:10: 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:3367:48: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3367 | register GeometricalVertex * GA0 = *ei[k0].on; | ^~~ 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:27: note: in expansion of macro 'assert' 3393 | assert (sNew >= L0); | ^~~~~~ Mesh2.cpp:3394:37: 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:27: note: in expansion of macro 'assert' 3394 | assert(LAB); | ^~~~~~ Mesh2.cpp:3397:54: 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:27: note: in expansion of macro 'assert' 3405 | assert(se>=0 && se < 1.000000001); | ^~~~~~ Mesh2.cpp:3411:50: 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:27: note: in expansion of macro 'assert' 3411 | assert(se>=0 && se <= 1); | ^~~~~~ Mesh2.cpp:3458:68: 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:23: note: in expansion of macro 'assert' 3458 | assert(ee.on->CurveNumber==ei.on->CurveNumber); | ^~~~~~ Mesh2.cpp:3461:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 3461 | register GeometricalVertex * GA1 = *ee[k1].on; | ^~~ Mesh2.cpp:3463:67: 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:104: 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:13: note: in expansion of macro 'assert' 4048 | assert( ! triangles[i].TriangleAdj(j) && !triangles[st[k] / 3].TriangleAdj((int) (st[k]%3))); | ^~~~~~ Mesh2.cpp:4239:40: 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:24: 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:25: 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:9: note: in expansion of macro 'assert' 4484 | assert(k++<20000); | ^~~~~~ Mesh2.cpp:4489:48: 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:9: 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:33: 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:13: note: in expansion of macro 'assert' 4695 | assert(tta.Cracked()); | ^~~~~~ Mesh2.cpp:4702:25: 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:11: 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 function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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:27: 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:12: note: in expansion of macro 'assert' 88 | assert(vertices); | ^~~~~~ MeshRead.cpp:89:37: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] 89 | ordre=new (Vertex* [nbvx]); | ^ MeshRead.cpp:90:24: 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:12: note: in expansion of macro 'assert' 90 | assert(ordre); | ^~~~~~ MeshRead.cpp:103:28: 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:12: note: in expansion of macro 'assert' 103 | assert(triangles); | ^~~~~~ MeshRead.cpp:175:43: 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:16: note: in expansion of macro 'assert' 175 | assert(VerticesOnGeomVertex); | ^~~~~~ MeshRead.cpp:193:41: 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:16: 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:36: 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:15: note: in expansion of macro 'assert' 223 | assert(i1 >0 && i2 >0); | ^~~~~~ MeshRead.cpp:224:44: 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:15: note: in expansion of macro 'assert' 224 | assert(i1 <= nbv && i2 <= nbv); | ^~~~~~ MeshRead.cpp:266:51: 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:21: note: in expansion of macro 'assert' 266 | assert( v == edges[i0 ].v[j0]); | ^~~~~~ MeshRead.cpp:269:48: 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:21: note: in expansion of macro 'assert' 269 | assert(edges[i0].v[j0] == v); | ^~~~~~ MeshRead.cpp:278:23: 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:11: note: in expansion of macro 'assert' 278 | assert(edges); | ^~~~~~ MeshRead.cpp:308:30: 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:17: note: in expansion of macro 'assert' 308 | assert (i3==3); | ^~~~~~ MeshRead.cpp:310:46: 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:17: 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: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]); | ^ 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]); | ^ 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]); | ^ 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]); | ^ 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]); | ^ MeshRead.cpp:767:35: 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:11: note: in expansion of macro 'assert' 767 | assert( j >0 && j <= nbv); | ^~~~~~ MeshRead.cpp:778:36: 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:12: 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: 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:32: 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:13: note: in expansion of macro 'assert' 980 | assert(coefIcoor >0); | ^~~~~~ MeshRead.cpp:1006:27: 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:15: note: in expansion of macro 'assert' 1006 | assert(edges); | ^~~~~~ MeshRead.cpp:1007:29: 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:15: note: in expansion of macro 'assert' 1007 | assert (nbv >0); | ^~~~~~ MeshRead.cpp:1069:32: 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:15: note: in expansion of macro 'assert' 1069 | assert( i <= nbe ); | ^~~~~~ MeshRead.cpp:1070:29: 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:15: note: in expansion of macro 'assert' 1070 | assert( i > 0 ); | ^~~~~~ MeshRead.cpp:1071:39: 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:15: 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:31: 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:17: note: in expansion of macro 'assert' 1115 | assert(i0 == 2); | ^~~~~~ MeshRead.cpp:1116:39: 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:17: 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 function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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:33: 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:10: note: in expansion of macro 'assert' 636 | assert(v.OnGeomVertex()) ; | ^~~~~~ MeshWrite.cpp:647:31: 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:10: 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 function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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 MeshDraw.cpp: In member function 'int Triangle::swapDRAW(Int2)': MeshDraw.cpp:511:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 511 | register Triangle *t1=this,*t2=at[a];// les 2 triangles adjacent | ^~ MeshDraw.cpp:511:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 511 | register Triangle *t1=this,*t2=at[a];// les 2 triangles adjacent | ^~ MeshDraw.cpp:512:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 512 | register Int1 a1=a,a2=aa[a];// les 2 numero de l arete dans les 2 triangles | ^~ MeshDraw.cpp:512:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 512 | register Int1 a1=a,a2=aa[a];// les 2 numero de l arete dans les 2 triangles | ^~ MeshDraw.cpp:516:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 516 | register Vertex *sa=t1->ns[VerticesOfTriangularEdge[a1][0]]; | ^~ MeshDraw.cpp:517:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 517 | register Vertex *sb=t1->ns[VerticesOfTriangularEdge[a1][1]]; | ^~ MeshDraw.cpp:518:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 518 | register Vertex *s1=t1->ns[OppositeVertex[a1]]; | ^~ MeshDraw.cpp:519:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 519 | register Vertex *s2=t2->ns[OppositeVertex[a2]]; | ^~ 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:551:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 551 | register Real8 xb1 = sb->i.x - s1->i.x, | ^~~ MeshDraw.cpp:552:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 552 | x21 = s2->i.x - s1->i.x, | ^~~ MeshDraw.cpp:553:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | yb1 = sb->i.y - s1->i.y, | ^~~ MeshDraw.cpp:554:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 554 | y21 = s2->i.y - s1->i.y, | ^~~ MeshDraw.cpp:555:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 555 | xba = sb->i.x - sa->i.x, | ^~~ MeshDraw.cpp:556:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 556 | x2a = s2->i.x - sa->i.x, | ^~~ MeshDraw.cpp:557:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 557 | yba = sb->i.y - sa->i.y, | ^~~ MeshDraw.cpp:558:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 558 | y2a = s2->i.y - sa->i.y, | ^~~ MeshDraw.cpp:559:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 559 | cosb12 = xb1*x21 + yb1*y21 , | ^~~~~~ MeshDraw.cpp:560:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 560 | cosba2 = xba*x2a + yba*y2a , | ^~~~~~ MeshDraw.cpp:561:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 561 | sinb12 = det2, | ^~~~~~ MeshDraw.cpp:562:12: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 562 | sinba2 = t2->det, | ^~~~~~ MeshDraw.cpp:566:10: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 566 | OnSwap = (cosb12 * sinba2) < (cosba2 * sinb12); | ^~~~~~ MeshDraw.cpp: In member function 'void GeometricalEdge::Draw(Int4)': MeshDraw.cpp:719:39: 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 function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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:102: 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:11: 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:43: 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:13: note: in expansion of macro 'assert' 208 | assert( v == edges[i0 ].v[j0]); | ^~~~~~ MeshGeom.cpp:211:40: 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:13: 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:36: 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:9: note: in expansion of macro 'assert' 570 | assert(bge>=0 && bge <= mxe); | ^~~~~~ MeshGeom.cpp:599:36: 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:9: note: in expansion of macro 'assert' 599 | assert(tge>=0 && tge <= mxe); | ^~~~~~ MeshGeom.cpp:618:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 618 | register Real8 s0= vg0,s1=vg1; | ^~ MeshGeom.cpp:618:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 618 | register Real8 s0= vg0,s1=vg1; | ^~ MeshGeom.cpp:634:36: 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:12: 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:34: 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:9: 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:56: 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:18: note: in expansion of macro 'assert' 699 | assert( v == & (Vertex &) vertices[j]); | ^~~~~~ MeshGeom.cpp:782:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 782 | register float angleold = -1000 ; // angle = - infini | ^~~~~~~~ MeshGeom.cpp:787:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 787 | register Int4 i1= n /2; | ^~ MeshGeom.cpp:788:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 788 | register Int4 j1 = n % 2; | ^~ MeshGeom.cpp:789:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 789 | register Int4 *pn = ev + n; | ^~ 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 function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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:9: note: in expansion of macro 'assert' 164 | assert(! (*vA.onbe->be)[0].on->IsRequiredVertex()); | ^~~~~~ MeshQuad.cpp:166:57: 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:9: note: in expansion of macro 'assert' 166 | assert(!(*vA.onbe->be)[1].on->IsRequiredVertex()); | ^~~~~~ MeshQuad.cpp:187:32: 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:10: note: in expansion of macro 'assert' 187 | assert(0 /* A FAIRE */); | ^~~~~~ MeshQuad.cpp:219:33: 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:17: note: in expansion of macro 'assert' 219 | assert(kkk++<100); | ^~~~~~ MeshQuad.cpp:220:27: 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:17: note: in expansion of macro 'assert' 220 | assert(eee); | ^~~~~~ MeshQuad.cpp:228:50: 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:21: note: in expansion of macro 'assert' 228 | assert(thetab>=0 && thetab<=1); | ^~~~~~ MeshQuad.cpp:245:22: 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:12: note: in expansion of macro 'assert' 245 | assert(eee); | ^~~~~~ MeshQuad.cpp:254:45: 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:16: note: in expansion of macro 'assert' 254 | assert(thetab>=0 && thetab<=1); | ^~~~~~ MeshQuad.cpp: In member function 'int Triangles::SplitElement(int)': MeshQuad.cpp:440:31: 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:15: 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:36: 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:12: 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:78: 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:12: 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 function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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:42:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 42 | register int l=0; // level | ^ QuadTree.cpp:43:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 43 | register QuadTreeBox * b; | ^ QuadTree.cpp:65:39: 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:19: note: in expansion of macro 'assert' 65 | assert(ii[l] <= i2.x); | ^~~~~~ QuadTree.cpp:66:39: 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:19: note: in expansion of macro 'assert' 66 | assert(jj[l] <= i2.y); | ^~~~~~ QuadTree.cpp:67:42: 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:19: note: in expansion of macro 'assert' 67 | assert(ii[l] +hb > i2.x); | ^~~~~~ QuadTree.cpp:68:42: 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:19: note: in expansion of macro 'assert' 68 | assert(jj[l] +hb > i2.y); | ^~~~~~ QuadTree.cpp:75:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 75 | register int lll = pi[l]; | ^~~ QuadTree.cpp:76:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 76 | register QuadTreeBox *b0=b; | ^~ QuadTree.cpp:81:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 81 | register Icoor1 iii = ii[l]+I_IJ(lll,hb); | ^~~ QuadTree.cpp:82:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 82 | register Icoor1 jjj = jj[l]+J_IJ(lll,hb); | ^~~ QuadTree.cpp:99:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 99 | register Icoor1 iii = ii[l]+I_IJ(lll,hb/2); | ^~~ QuadTree.cpp:100:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 100 | register Icoor1 jjj = jj[l]+J_IJ(lll,hb/2); | ^~~ QuadTree.cpp: In member function 'Vertex* QuadTree::NearestVertex(Icoor1, Icoor1)': QuadTree.cpp:123:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 123 | register int l=0; // level | ^ QuadTree.cpp:124:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 124 | register QuadTreeBox * b; | ^ QuadTree.cpp:135:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 135 | register Int4 n0; | ^~ QuadTree.cpp:143:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 143 | register Icoor1 hb2 = hb >> 1 ; | ^~~ QuadTree.cpp:144:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 144 | register int k = IJ(iplus,jplus,hb2);// QuadTreeBox number of size hb2 contening i;j | ^ QuadTree.cpp:145:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 145 | register QuadTreeBox * b0= b->b[k]; | ^~ QuadTree.cpp:158:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 158 | for(register int k=0;kb[ij=IJ(v4[k]->i.x,v4[k]->i.y,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); | ^~~~~~ QuadTree.cpp: In member function 'Vertex* QuadTree::NearestVertexWithNormal(Icoor1, Icoor1)': QuadTree.cpp:433:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 433 | register Int4 n0; | ^~ QuadTree.cpp:441:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 441 | register Icoor1 hb2 = hb >> 1 ; | ^~~ QuadTree.cpp:442:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 442 | register int k = IJ(iplus,jplus,hb2);// QuadTreeBox number of size hb2 contening i;j | ^ QuadTree.cpp:443:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 443 | register QuadTreeBox * b0= b->b[k]; | ^~ QuadTree.cpp:456:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 456 | for(register int k=0;k=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 member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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:30: 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:11: 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:29: 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:17: note: in expansion of macro 'assert' 575 | assert(det33); | ^~~~~~ Metric.cpp: In member function 'void Triangles::SmoothMetric(Real8)': Metric.cpp:962:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 962 | register Triangle * t= vertices[i].t; | ^ Metric.cpp:963:17: 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:9: note: in expansion of macro 'assert' 963 | assert(t); | ^~~~~~ Metric.cpp:972:48: 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:11: note: in expansion of macro 'assert' 972 | assert(vertices+i == ta.EdgeVertex(1)); | ^~~~~~ Metric.cpp:976:35: 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:13: 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:54: 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: In member function 'void* AllocExtern::MyNewOperator(size_t)': CheckPtr.cpp:141:56: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 141 | printf("\t\tCheckPtrMem Full Exit(10) New Alloc %ld %lx when %ld\n ", ll, a->p, a->n); | ~~^ ~~ | | | | long int size_t {aka unsigned int} | %d 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:143:34: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 143 | printf (" Memory undelete %ld \n" , AllocSize); | ~~^ ~~~~~~~~~ | | | | | size_t {aka unsigned int} | long int | %d 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:56: 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:195:65: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-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 int size_t {aka unsigned int} | %d CheckPtr.cpp:203:34: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 203 | printf (" Memory undelete %ld \n" , AllocSize); | ~~^ ~~~~~~~~~ | | | | | size_t {aka unsigned int} | long int | %d 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 CheckPtr.cpp:236:72: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-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 int size_t {aka unsigned int} | %d 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 function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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 function 'Icoor2 det(const I2&, const I2&, const I2&)': Mesh2.h:94:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:94:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 94 | register Icoor2 bax = b.x - a.x ,bay = b.y - a.y; | ^~~ Mesh2.h:95:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ Mesh2.h:95:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register Icoor2 cax = c.x - a.x ,cay = c.y - a.y; | ^~~ 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 'void Triangle::SetAdjAdj(Int1)': Mesh2.h:401:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 401 | register Triangle *tt=at[a]; | ^~ Mesh2.h:403:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 403 | register Int1 aatt = aa[a] & 3; | ^~~~ Mesh2.h: In member function 'void Triangle::SetHidden(int)': Mesh2.h:432:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 432 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetCracked(int)': Mesh2.h:436:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 436 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetLocked(int)': Mesh2.h:444:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 444 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetMarkUnSwap(int)': Mesh2.h:449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 449 | register Triangle * t = at[a]; | ^ Mesh2.h: In member function 'void Triangle::SetUnMarkUnSwap(int)': Mesh2.h:455:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register Triangle * t = at[a]; | ^ 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:553:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 553 | register int newsize = MaxSize*2; | ^~~~~~~ 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 member function 'void Triangles::ReMakeTriangleContainingTheVertex()': Mesh2.h:1113:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1113 | register Int4 i; | ^ Mesh2.h: In member function 'void Triangles::UnMarkUnSwapTriangle()': Mesh2.h:1125:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1125 | register Int4 i; | ^ 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 'Icoor2 det(const Vertex&, const Vertex&, const Vertex&)': Mesh2.h:1262:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1262:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1262 | register Icoor2 bax = b.i.x - a.i.x ,bay = b.i.y - a.i.y; | ^~~ Mesh2.h:1263:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ Mesh2.h:1263:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1263 | register Icoor2 cax = c.i.x - a.i.x ,cay = c.i.y - a.i.y; | ^~~ 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:36: 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:14: note: in expansion of macro 'assert' 560 | assert(lsolbb==BTh.nbv); | ^~~~~~ bamg.cpp:576:36: 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:14: note: in expansion of macro 'assert' 576 | assert(lsolBB==BTh.nbv); | ^~~~~~ bamg.cpp:688:35: 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:22: 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.28312 + 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) verify-elf: WARNING: ./usr/bin/drawbdmesh: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/bin/bamg-g: uses non-LFS functions: fopen Processing files: bamg-0.60-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.23931 + 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.rU6kKP 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.gvpfqN find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libX11.so.6 >= set:oiqbWLcRr8gdbokEo33TYzAb0bfIOWCY6wGPLaKx8SGpEWavK6qjy84uZ3FPHO0aWTI2li4MkiO34yzByEZabDGNNc61yXNxiOcnru5Ccci2KRF4, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.29), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.29), libstdc++.so.6(GLIBCXX_3.4.9), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.STCwq8 Creating bamg-debuginfo package Processing files: bamg-doc-0.60-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.2684 + 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.N96SJE 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.PGxTXV 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.40279 + 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.hXiUPr 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.u9nWEs 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.q8oSgI find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ghQbcC find-requires: running scripts (debuginfo) Requires: bamg = 0.60-alt4, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libX11.so.6), debug(libc.so.6), debug(libgcc_s.so.1), debug(libm.so.6), debug(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/i586/bamg-0.60-alt4.i586.rpm (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/i586/bamg-debuginfo-0.60-alt4.i586.rpm (w2.lzdio) 28.17user 2.78system 0:37.95elapsed 81%CPU (0avgtext+0avgdata 127728maxresident)k 0inputs+0outputs (0major+1022539minor)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.i586.rpm: license not found in '/usr/share/license' directory: Free /.out/bamg-0.60-alt4.i586.rpm: license not found in '/usr/share/license' directory: for /.out/bamg-0.60-alt4.i586.rpm: license not found in '/usr/share/license' directory: non-commertial /.out/bamg-0.60-alt4.i586.rpm: license not found in '/usr/share/license' directory: using /.out/bamg-debuginfo-0.60-alt4.i586.rpm: license not found in '/usr/share/license' directory: Free /.out/bamg-debuginfo-0.60-alt4.i586.rpm: license not found in '/usr/share/license' directory: for /.out/bamg-debuginfo-0.60-alt4.i586.rpm: license not found in '/usr/share/license' directory: non-commertial /.out/bamg-debuginfo-0.60-alt4.i586.rpm: license not found in '/usr/share/license' directory: using 33.51user 6.15system 0:45.81elapsed 86%CPU (0avgtext+0avgdata 127728maxresident)k 0inputs+0outputs (30705major+1326496minor)pagefaults 0swaps --- bamg-0.60-alt4.i586.rpm.repo 2016-04-08 01:49:48.000000000 +0000 +++ bamg-0.60-alt4.i586.rpm.hasher 2022-08-06 05:31:19.641785802 +0000 @@ -13,2 +13,3 @@ Requires: libc.so.6(GLIBC_2.3.4) +Requires: libc.so.6(GLIBC_2.34) Requires: libc.so.6(GLIBC_2.4) @@ -16,5 +17,10 @@ Requires: libm.so.6(GLIBC_2.0) +Requires: libm.so.6(GLIBC_2.29) Requires: libstdc++.so.6(CXXABI_1.3) +Requires: libstdc++.so.6(CXXABI_1.3.8) +Requires: libstdc++.so.6(CXXABI_1.3.9) Requires: libstdc++.so.6(GLIBCXX_3.4) Requires: libstdc++.so.6(GLIBCXX_3.4.11) +Requires: libstdc++.so.6(GLIBCXX_3.4.21) +Requires: libstdc++.so.6(GLIBCXX_3.4.29) Requires: libstdc++.so.6(GLIBCXX_3.4.9) @@ -23,8 +29,8 @@ Provides: bamg = 0.60-alt4 -File: /usr/bin/bamg 100755 root:root aa3f1ded4a5163683714a5200ab75f39 -File: /usr/bin/bamg-g 100755 root:root 3bbbed6e1f8091bebf286561959095b2 -File: /usr/bin/cvmsh2 100755 root:root b9235dc406da78d331f31051625ba445 -File: /usr/bin/drawbdmesh 100755 root:root f7a2b6eef02648215069f8f5abacc51f +File: /usr/bin/bamg 100755 root:root a4965ed2eaa0b38bf858cbdcfcee4685 +File: /usr/bin/bamg-g 100755 root:root c51fd00108ffaf718f8d8b8ea3c87561 +File: /usr/bin/cvmsh2 100755 root:root 709c09ff8102cfed4543e9cf0338f215 +File: /usr/bin/drawbdmesh 100755 root:root 541572e6196176559f88440795ada745 File: /usr/share/doc/bamg-0.60 40755 root:root File: /usr/share/doc/bamg-0.60/README 100644 root:root d5f5465c16074870fd15083e44f9f62a -RPMIdentity: d690b2d659c8ee74b20c9df9d1735e2adee7f0783eb3e9ff3cea5af7ee72ac922c2818d85027e40c0fd16ae7c498e4c775816acddfcbc320e56f84cfa5a01d6d +RPMIdentity: e2875fb20c21ae80e138f7cd00ac1f43de9b2fdda2934e4ce8ff786ae81f8424dd679b571a4a84653585109b00e329925924d63dbe4bcbfea4fcb446479fae6c --- bamg-debuginfo-0.60-alt4.i586.rpm.repo 2016-04-08 01:49:48.000000000 +0000 +++ bamg-debuginfo-0.60-alt4.i586.rpm.hasher 2022-08-06 05:31:19.957791492 +0000 @@ -1,13 +1,13 @@ -/usr/lib/debug/.build-id/1e 40755 root:root -/usr/lib/debug/.build-id/1e/030afaeba564ee613d89758f8bdd9b04d70f79 120777 root:root ../../../../bin/cvmsh2 -/usr/lib/debug/.build-id/1e/030afaeba564ee613d89758f8bdd9b04d70f79.debug 120777 root:root ../../usr/bin/cvmsh2.debug -/usr/lib/debug/.build-id/5d 40755 root:root -/usr/lib/debug/.build-id/5d/cf61b95d62e61aaf3fe85f5336501db5a48e8c 120777 root:root ../../../../bin/bamg-g -/usr/lib/debug/.build-id/5d/cf61b95d62e61aaf3fe85f5336501db5a48e8c.debug 120777 root:root ../../usr/bin/bamg-g.debug -/usr/lib/debug/.build-id/60 40755 root:root -/usr/lib/debug/.build-id/60/dc1aa79cc9d666df3dc529647d9e3c93b264ec 120777 root:root ../../../../bin/bamg -/usr/lib/debug/.build-id/60/dc1aa79cc9d666df3dc529647d9e3c93b264ec.debug 120777 root:root ../../usr/bin/bamg.debug -/usr/lib/debug/.build-id/71 40755 root:root -/usr/lib/debug/.build-id/71/e31b9a91c834dd4a7f80c3a1b54602dc0db5da 120777 root:root ../../../../bin/drawbdmesh -/usr/lib/debug/.build-id/71/e31b9a91c834dd4a7f80c3a1b54602dc0db5da.debug 120777 root:root ../../usr/bin/drawbdmesh.debug +/usr/lib/debug/.build-id/45 40755 root:root +/usr/lib/debug/.build-id/45/62ddb90197c4dab5ab4111d267661ff460e624 120777 root:root ../../../../bin/bamg-g +/usr/lib/debug/.build-id/45/62ddb90197c4dab5ab4111d267661ff460e624.debug 120777 root:root ../../usr/bin/bamg-g.debug +/usr/lib/debug/.build-id/b1 40755 root:root +/usr/lib/debug/.build-id/b1/1b68d4010d70163b91038006064f7295857411 120777 root:root ../../../../bin/bamg +/usr/lib/debug/.build-id/b1/1b68d4010d70163b91038006064f7295857411.debug 120777 root:root ../../usr/bin/bamg.debug +/usr/lib/debug/.build-id/b5 40755 root:root +/usr/lib/debug/.build-id/b5/e13ec217359c77ea6ea21c05b1c3d11fa0efaa 120777 root:root ../../../../bin/drawbdmesh +/usr/lib/debug/.build-id/b5/e13ec217359c77ea6ea21c05b1c3d11fa0efaa.debug 120777 root:root ../../usr/bin/drawbdmesh.debug +/usr/lib/debug/.build-id/c4 40755 root:root +/usr/lib/debug/.build-id/c4/53ff34328ee7f2720a31262cb84928e75437bd 120777 root:root ../../../../bin/cvmsh2 +/usr/lib/debug/.build-id/c4/53ff34328ee7f2720a31262cb84928e75437bd.debug 120777 root:root ../../usr/bin/cvmsh2.debug /usr/lib/debug/usr/bin/bamg-g.debug 100644 root:root @@ -39,2 +39,3 @@ /usr/src/debug/bamg-0.60/meshtype.h 100644 root:root +/usr/src/debug/bamg-0.60/rgraph.h 100644 root:root Requires: bamg = 0.60-alt4 @@ -48,18 +49,18 @@ Provides: bamg-debuginfo = 0.60-alt4 -File: /usr/lib/debug/.build-id/1e 40755 root:root -File: /usr/lib/debug/.build-id/1e/030afaeba564ee613d89758f8bdd9b04d70f79 120777 root:root ../../../../bin/cvmsh2 -File: /usr/lib/debug/.build-id/1e/030afaeba564ee613d89758f8bdd9b04d70f79.debug 120777 root:root ../../usr/bin/cvmsh2.debug -File: /usr/lib/debug/.build-id/5d 40755 root:root -File: /usr/lib/debug/.build-id/5d/cf61b95d62e61aaf3fe85f5336501db5a48e8c 120777 root:root ../../../../bin/bamg-g -File: /usr/lib/debug/.build-id/5d/cf61b95d62e61aaf3fe85f5336501db5a48e8c.debug 120777 root:root ../../usr/bin/bamg-g.debug -File: /usr/lib/debug/.build-id/60 40755 root:root -File: /usr/lib/debug/.build-id/60/dc1aa79cc9d666df3dc529647d9e3c93b264ec 120777 root:root ../../../../bin/bamg -File: /usr/lib/debug/.build-id/60/dc1aa79cc9d666df3dc529647d9e3c93b264ec.debug 120777 root:root ../../usr/bin/bamg.debug -File: /usr/lib/debug/.build-id/71 40755 root:root -File: /usr/lib/debug/.build-id/71/e31b9a91c834dd4a7f80c3a1b54602dc0db5da 120777 root:root ../../../../bin/drawbdmesh -File: /usr/lib/debug/.build-id/71/e31b9a91c834dd4a7f80c3a1b54602dc0db5da.debug 120777 root:root ../../usr/bin/drawbdmesh.debug -File: /usr/lib/debug/usr/bin/bamg-g.debug 100644 root:root 0caf41a48082631220d8df5925634309 -File: /usr/lib/debug/usr/bin/bamg.debug 100644 root:root 382d2b26fda8de2fddcba9d99101c85a -File: /usr/lib/debug/usr/bin/cvmsh2.debug 100644 root:root da6c6c11604dcb6c85baeeb7ca001612 -File: /usr/lib/debug/usr/bin/drawbdmesh.debug 100644 root:root 62768f40dd5f6feb1f47f326c6cec351 +File: /usr/lib/debug/.build-id/45 40755 root:root +File: /usr/lib/debug/.build-id/45/62ddb90197c4dab5ab4111d267661ff460e624 120777 root:root ../../../../bin/bamg-g +File: /usr/lib/debug/.build-id/45/62ddb90197c4dab5ab4111d267661ff460e624.debug 120777 root:root ../../usr/bin/bamg-g.debug +File: /usr/lib/debug/.build-id/b1 40755 root:root +File: /usr/lib/debug/.build-id/b1/1b68d4010d70163b91038006064f7295857411 120777 root:root ../../../../bin/bamg +File: /usr/lib/debug/.build-id/b1/1b68d4010d70163b91038006064f7295857411.debug 120777 root:root ../../usr/bin/bamg.debug +File: /usr/lib/debug/.build-id/b5 40755 root:root +File: /usr/lib/debug/.build-id/b5/e13ec217359c77ea6ea21c05b1c3d11fa0efaa 120777 root:root ../../../../bin/drawbdmesh +File: /usr/lib/debug/.build-id/b5/e13ec217359c77ea6ea21c05b1c3d11fa0efaa.debug 120777 root:root ../../usr/bin/drawbdmesh.debug +File: /usr/lib/debug/.build-id/c4 40755 root:root +File: /usr/lib/debug/.build-id/c4/53ff34328ee7f2720a31262cb84928e75437bd 120777 root:root ../../../../bin/cvmsh2 +File: /usr/lib/debug/.build-id/c4/53ff34328ee7f2720a31262cb84928e75437bd.debug 120777 root:root ../../usr/bin/cvmsh2.debug +File: /usr/lib/debug/usr/bin/bamg-g.debug 100644 root:root 3b8b232a729eee88ca5bb02c1456b2af +File: /usr/lib/debug/usr/bin/bamg.debug 100644 root:root 8d62a7640cebeb3513fab6e236baf509 +File: /usr/lib/debug/usr/bin/cvmsh2.debug 100644 root:root 2b557d6ac592c3b2118b709567e9b222 +File: /usr/lib/debug/usr/bin/drawbdmesh.debug 100644 root:root 2e92285df9696bcda7b04caf28096dea File: /usr/src/debug/bamg-0.60 40755 root:root @@ -87,2 +88,3 @@ File: /usr/src/debug/bamg-0.60/meshtype.h 100644 root:root abb48235bac465190acb42369063ff09 -RPMIdentity: 77106db1c199b2337cb2b8b920e63d5ad5e27f20b892a294516b0745459ef1244650d75c9a00206cd14adfe26c00427604f9653021172de6fd28a75e813da772 +File: /usr/src/debug/bamg-0.60/rgraph.h 100644 root:root 3b20374dfa99fbdb42f1ab6b81e5b434 +RPMIdentity: e34cb2d01e1929989f8de0c8f8f76c343e6946929ee9525a723fb68b3bed8e86e8e12be952b9c619826bce4cd68bde81c981792022973aef8ae8449d3016428e --- bamg-doc-0.60-alt4.noarch.rpm.repo 2016-04-08 01:49:48.000000000 +0000 +++ bamg-doc-0.60-alt4.noarch.rpm.hasher 2022-08-06 05:31:20.007792392 +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 2022-08-06 05:31:20.054793239 +0000 @@ -59,2 +59,2 @@ File: /usr/share/doc/bamg-examples-0.60/test/dotest3.pl 100755 root:root fa6c18699b347192a619e8654ae7498d -RPMIdentity: fc8d55f73837027ed009823105f6abbef5061f4295eb50a5998d15502883a0c339599d35cc675a2d51d9570477d0ce9fb5dee6d969ff6e77ce4185e113a4211b +RPMIdentity: bf9dfeb328e88ba1aabe70bfd84b0292ed5dde06b5b3a9add362779986c70f37961a4c8046168c89af6f32cfe183761b10cf0dc6dc37466bc8d5e402aeeb570e