=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/net/nam", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for nam-1.15nb9 --- tkcompat.o --- --- tkUnixInit.o --- --- xwd.o --- --- tkcompat.o --- rm -f tkcompat.o; gcc -o tkcompat.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include tkcompat.c --- tkUnixInit.o --- rm -f tkUnixInit.o; gcc -o tkUnixInit.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include tkUnixInit.c --- xwd.o --- rm -f xwd.o; gcc -o xwd.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include xwd.c --- tkcompat.o --- cc1: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C --- tkUnixInit.o --- cc1: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C --- xwd.o --- cc1: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C xwd.c: In function 'ReadColors': xwd.c:139:1: warning: type of 'tk' defaults to 'int' [-Wimplicit-int] 139 | ReadColors(tk,cmap,colors) | ^~~~~~~~~~ In file included from xwd.c:77: /tmp/work/net/nam/work/.buildlink/include/tk.h:726:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 726 | #define Tk_Visual(tkwin) (((Tk_FakeWin *) (tkwin))->visual) | ^ xwd.c:143:23: note: in expansion of macro 'Tk_Visual' 143 | Visual *vis = Tk_Visual(tk); | ^~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tk.h:721:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 721 | #define Tk_Display(tkwin) (((Tk_FakeWin *) (tkwin))->display) | ^ xwd.c:181:22: note: in expansion of macro 'Tk_Display' 181 | XQueryColors(Tk_Display(tk), cmap, *colors, ncolors); | ^~~~~~~~~~ --- netview.o --- rm -f netview.o; g++ -o netview.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include netview.cc --- netmodel.o --- rm -f netmodel.o; g++ -o netmodel.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include netmodel.cc --- edge.o --- rm -f edge.o; g++ -o edge.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include edge.cc --- netview.o --- In file included from netview.cc:51: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ --- netmodel.o --- In file included from netmodel.cc:43: tag.h: In member function 'int Tag::isMember(unsigned int) const': tag.h:75:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 75 | return (Tcl_FindHashEntry(mbrHash_, (const char *)id) != NULL); | ^~~~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2570:60: note: in definition of macro 'Tcl_FindHashEntry' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ In file included from lan.h:45, from netmodel.cc:57: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ netmodel.cc: In member function 'int NetModel::addAddress(int, int) const': netmodel.cc:297:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 297 | Tcl_CreateHashEntry(addrHash_, (const char *)addr, &newEntry); | ^~~~~~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2573:62: note: in definition of macro 'Tcl_CreateHashEntry' 2573 | (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) | ^~~ netmodel.cc:301:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 301 | Tcl_SetHashValue(he, (ClientData)id); | ^~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2556:64: note: in definition of macro 'Tcl_SetHashValue' 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2556:55: warning: invalid conversion from 'void*' to 'ClientData' {aka 'int*'} [-fpermissive] 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~~~~~~~~~~~ | | | void* netmodel.cc:301:17: note: in expansion of macro 'Tcl_SetHashValue' 301 | Tcl_SetHashValue(he, (ClientData)id); | ^~~~~~~~~~~~~~~~ netmodel.cc: In member function 'int NetModel::addr2id(int) const': netmodel.cc:308:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 308 | Tcl_HashEntry *he = Tcl_FindHashEntry(addrHash_, (const char *)addr); | ^~~~~~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2570:60: note: in definition of macro 'Tcl_FindHashEntry' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ netmodel.cc: In member function 'virtual void NetModel::handle(const TraceEvent&, double, int)': netmodel.cc:1117:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1117 | ehn->edge->set_down("red"); | ^~~~~ netmodel.cc:1118:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1118 | ehnrev->edge->set_down("red"); | ^~~~~ netmodel.cc:1142:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1142 | ehn->edge->set_down("red"); | ^~~~~ netmodel.cc:1143:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1143 | ehnrev->edge->set_down("red"); | ^~~~~ netmodel.cc:1180:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1180 | n->set_down("gray"); | ^~~~~~ netmodel.cc:1196:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1196 | n->set_down("gray"); | ^~~~~~ netmodel.cc: In member function 'int NetModel::add_group(Group*)': netmodel.cc:1659:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1659 | (const char *)grp->addr(), | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2573:62: note: in definition of macro 'Tcl_CreateHashEntry' 2573 | (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) | ^~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2556:55: warning: invalid conversion from 'void*' to 'ClientData' {aka 'int*'} [-fpermissive] 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~~~~~~~~~~~ | | | void* netmodel.cc:1664:17: note: in expansion of macro 'Tcl_SetHashValue' 1664 | Tcl_SetHashValue(he, (ClientData)grp); | ^~~~~~~~~~~~~~~~ netmodel.cc: In member function 'Group* NetModel::lookupGroup(unsigned int)': netmodel.cc:1672:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1672 | Tcl_HashEntry *he = Tcl_FindHashEntry(grpHash_, (const char *)addr); | ^~~~~~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2570:60: note: in definition of macro 'Tcl_FindHashEntry' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ --- edge.o --- In file included from edge.cc:44: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ --- netmodel.o --- netmodel.cc: In member function 'int NetModel::add_tag(Tag*)': /tmp/work/net/nam/work/.buildlink/include/tcl.h:2556:55: warning: invalid conversion from 'void*' to 'ClientData' {aka 'int*'} [-fpermissive] 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~~~~~~~~~~~ | | | void* netmodel.cc:2706:5: note: in expansion of macro 'Tcl_SetHashValue' 2706 | Tcl_SetHashValue(he, (ClientData)tag); | ^~~~~~~~~~~~~~~~ netmodel.cc: In member function 'int NetModel::registerObjName(const char*, int)': netmodel.cc:2745:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2745 | Tcl_SetHashValue(he, (ClientData)id); | ^~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2556:64: note: in definition of macro 'Tcl_SetHashValue' 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2556:55: warning: invalid conversion from 'void*' to 'ClientData' {aka 'int*'} [-fpermissive] 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~~~~~~~~~~~ | | | void* netmodel.cc:2745:17: note: in expansion of macro 'Tcl_SetHashValue' 2745 | Tcl_SetHashValue(he, (ClientData)id); | ^~~~~~~~~~~~~~~~ --- packet.o --- rm -f packet.o; g++ -o packet.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include packet.cc --- node.o --- rm -f node.o; g++ -o node.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include node.cc --- packet.o --- In file included from packet.cc:44: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ --- node.o --- In file included from node.cc:40: tag.h: In member function 'int Tag::isMember(unsigned int) const': tag.h:75:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 75 | return (Tcl_FindHashEntry(mbrHash_, (const char *)id) != NULL); | ^~~~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2570:60: note: in definition of macro 'Tcl_FindHashEntry' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ In file included from node.cc:46: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ --- main.o --- rm -f main.o; g++ -o main.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include main.cc main.cc: In function 'char* parse_assignment(char*)': main.cc:236:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 236 | return ("true"); | ~^~~~~~~ --- trace.o --- rm -f trace.o; g++ -o trace.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include trace.cc --- queue.o --- rm -f queue.o; g++ -o queue.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include queue.cc --- drop.o --- rm -f drop.o; g++ -o drop.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include drop.cc --- animation.o --- rm -f animation.o; g++ -o animation.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include animation.cc In file included from animation.cc:37: animation.cc: In static member function 'static Animation* Animation::find(unsigned int)': animation.cc:51:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 51 | Tcl_HashEntry *he = Tcl_FindHashEntry(AniHash_, (const char *)id); | ^~~~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2570:60: note: in definition of macro 'Tcl_FindHashEntry' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ animation.cc: In constructor 'Animation::Animation(double, long int)': animation.cc:81:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 81 | (const char *)id_, &newEntry); | ^~~~~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2573:62: note: in definition of macro 'Tcl_CreateHashEntry' 2573 | (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) | ^~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2556:55: warning: invalid conversion from 'void*' to 'ClientData' {aka 'int*'} [-fpermissive] 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~~~~~~~~~~~ | | | void* animation.cc:84:17: note: in expansion of macro 'Tcl_SetHashValue' 84 | Tcl_SetHashValue(he, (ClientData)this); | ^~~~~~~~~~~~~~~~ animation.cc: In destructor 'virtual Animation::~Animation()': animation.cc:105:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 105 | Tcl_HashEntry *he = Tcl_FindHashEntry(AniHash_, (const char *)id_); | ^~~~~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2570:60: note: in definition of macro 'Tcl_FindHashEntry' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ --- agent.o --- rm -f agent.o; g++ -o agent.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include agent.cc --- feature.o --- rm -f feature.o; g++ -o feature.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include feature.cc --- route.o --- rm -f route.o; g++ -o route.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include route.cc --- agent.o --- In file included from agent.cc:44: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ --- feature.o --- In file included from feature.cc:41: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ --- route.o --- In file included from route.cc:44: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ --- transform.o --- rm -f transform.o; g++ -o transform.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include transform.cc --- paint.o --- rm -f paint.o; g++ -o paint.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include paint.cc --- state.o --- rm -f state.o; g++ -o state.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include state.cc --- monitor.o --- rm -f monitor.o; g++ -o monitor.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include monitor.cc --- anetmodel.o --- rm -f anetmodel.o; g++ -o anetmodel.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include anetmodel.cc --- rng.o --- rm -f rng.o; g++ -o rng.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include rng.cc --- view.o --- rm -f view.o; g++ -o view.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include view.cc --- anetmodel.o --- In file included from anetmodel.cc:19: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ --- view.o --- view.cc:55:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | "-adobe-times-medium-r-normal-*-8-*-*-*-*-*-*-*", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ view.cc:56:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | "-adobe-times-medium-r-normal-*-10-*-*-*-*-*-*-*", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ view.cc:57:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | "-adobe-times-medium-r-normal-*-12-*-*-*-*-*-*-*", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ view.cc:58:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 58 | "-adobe-times-medium-r-normal-*-14-*-*-*-*-*-*-*", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ view.cc:59:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | "-adobe-times-medium-r-normal-*-18-*-*-*-*-*-*-*", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ view.cc:60:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 60 | "-adobe-times-medium-r-normal-*-20-*-*-*-*-*-*-*", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ view.cc:61:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | "-adobe-times-medium-r-normal-*-24-*-*-*-*-*-*-*", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ view.cc:62:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | "-adobe-times-medium-r-normal-*-34-*-*-*-*-*-*-*" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- rng.o --- rng.cc: In constructor 'RNG::RNG(const char*)': rng.cc:820:28: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 820 | name_[100] = 0; | ~~~~~~~~~~~^~~ In file included from rng.cc:71: rng.h:305:14: note: at offset 100 into destination object 'RNG::name_' of size 100 305 | char name_[100]; | ^~~~~ --- graphview.o --- rm -f graphview.o; g++ -o graphview.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include graphview.cc --- netgraph.o --- rm -f netgraph.o; g++ -o netgraph.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include netgraph.cc --- tracehook.o --- rm -f tracehook.o; g++ -o tracehook.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include tracehook.cc --- lan.o --- rm -f lan.o; g++ -o lan.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include lan.cc --- psview.o --- rm -f psview.o; g++ -o psview.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include psview.cc --- lan.o --- In file included from lan.h:45, from lan.cc:36: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ In file included from animation.h:39, from lan.h:42: lan.cc: In member function 'void Lan::register_drop(const TraceEvent&)': /tmp/work/net/nam/work/.buildlink/include/tcl.h:2556:55: warning: invalid conversion from 'void*' to 'ClientData' {aka 'int*'} [-fpermissive] 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~~~~~~~~~~~ | | | void* lan.cc:254:11: note: in expansion of macro 'Tcl_SetHashValue' 254 | Tcl_SetHashValue(he, (ClientData)pe); | ^~~~~~~~~~~~~~~~ --- group.o --- rm -f group.o; g++ -o group.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include group.cc In file included from group.h:50, from group.cc:46: group.cc: In member function 'int Group::join(int)': group.cc:71:60: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 71 | Tcl_HashEntry *he = Tcl_CreateHashEntry(nodeHash_, (const char *)id, | ^~~~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2573:62: note: in definition of macro 'Tcl_CreateHashEntry' 2573 | (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) | ^~~ group.cc:76:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 76 | Tcl_SetHashValue(he, (ClientData)id); | ^~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2556:64: note: in definition of macro 'Tcl_SetHashValue' 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2556:55: warning: invalid conversion from 'void*' to 'ClientData' {aka 'int*'} [-fpermissive] 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~~~~~~~~~~~ | | | void* group.cc:76:17: note: in expansion of macro 'Tcl_SetHashValue' 76 | Tcl_SetHashValue(he, (ClientData)id); | ^~~~~~~~~~~~~~~~ group.cc: In member function 'void Group::leave(int)': group.cc:84:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 84 | Tcl_HashEntry *he = Tcl_FindHashEntry(nodeHash_, (const char *)id); | ^~~~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2570:60: note: in definition of macro 'Tcl_FindHashEntry' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ --- editview.o --- rm -f editview.o; g++ -o editview.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include editview.cc --- tag.o --- rm -f tag.o; g++ -o tag.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include tag.cc --- address.o --- rm -f address.o; g++ -o address.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include address.cc --- tag.o --- In file included from tag.cc:49: tag.h: In member function 'int Tag::isMember(unsigned int) const': tag.h:75:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 75 | return (Tcl_FindHashEntry(mbrHash_, (const char *)id) != NULL); | ^~~~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2570:60: note: in definition of macro 'Tcl_FindHashEntry' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ --- address.o --- address.cc: In member function 'int Address::str2addr(char*)': address.cc:185:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 185 | char *delim = "."; | ^~~ --- editview.o --- In file included from /tmp/work/net/nam/work/.buildlink/include/tk.h:19, from view.h:39, from editview.cc:53: tag.h: In member function 'int Tag::isMember(unsigned int) const': tag.h:75:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 75 | return (Tcl_FindHashEntry(mbrHash_, (const char *)id) != NULL); | ^~~~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2570:60: note: in definition of macro 'Tcl_FindHashEntry' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ In file included from editview.cc:60: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ --- animator.o --- rm -f animator.o; g++ -o animator.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include animator.cc --- tag.o --- In file included from tag.cc:53: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ tag.cc: In member function 'void Tag::add(Animation*)': tag.cc:103:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 103 | Tcl_CreateHashEntry(mbrHash_,(const char *)a->id(), &newEntry); | ^~~~~~~~~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2573:62: note: in definition of macro 'Tcl_CreateHashEntry' 2573 | (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) | ^~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2556:55: warning: invalid conversion from 'void*' to 'ClientData' {aka 'int*'} [-fpermissive] 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~~~~~~~~~~~ | | | void* tag.cc:106:17: note: in expansion of macro 'Tcl_SetHashValue' 106 | Tcl_SetHashValue(he, (ClientData)a); | ^~~~~~~~~~~~~~~~ tag.cc: In member function 'void Tag::remove(Animation*)': tag.cc:134:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 134 | Tcl_HashEntry *he = Tcl_FindHashEntry(mbrHash_, (const char *)a->id()); | ^~~~~~~~~~~~~~~~~~~~~ /tmp/work/net/nam/work/.buildlink/include/tcl.h:2570:60: note: in definition of macro 'Tcl_FindHashEntry' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ --- wnetmodel.o --- rm -f wnetmodel.o; g++ -o wnetmodel.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include wnetmodel.cc --- nam_stream.o --- rm -f nam_stream.o; g++ -o nam_stream.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include nam_stream.cc nam_stream.cc: In static member function 'static int NamStreamPipe::read_pipe()': nam_stream.cc:406:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 406 | die("NamStreamPipe::read_pipe: tmpfile write problem.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nam_stream.cc:414:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 414 | die("NamStreamPipe::read_pipe: fseek problem.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- wnetmodel.o --- In file included from wnetmodel.cc:16: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ --- enetmodel.o --- rm -f enetmodel.o; g++ -o enetmodel.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include enetmodel.cc --- testview.o --- rm -f testview.o; g++ -o testview.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include testview.cc --- parser.o --- rm -f parser.o; g++ -o parser.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include parser.cc parser.cc: In constructor 'ParseTable::ParseTable(TraceEvent*)': parser.cc:336:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 336 | ts = addTraceSyntax('#', "comment -- this line is ignored"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:339:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 339 | ts = addTraceSyntax('T', "Dummy event to be used in time synchronization"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:340:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 340 | ts->addAttribute('t', &pending->time, "time", "-1.0", true, "time"); | ^~~~~~ parser.cc:340:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 340 | ts->addAttribute('t', &pending->time, "time", "-1.0", true, "time"); | ^~~~~~ parser.cc:340:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 340 | ts->addAttribute('t', &pending->time, "time", "-1.0", true, "time"); | ^~~~~~ parser.cc:346:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 346 | ts = addTraceSyntax('n', "node"); | ^~~~~~ parser.cc:347:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 347 | ts->addAttribute('t', &pending->time, "time", "-1.0", true, "time"); | ^~~~~~ parser.cc:347:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 347 | ts->addAttribute('t', &pending->time, "time", "-1.0", true, "time"); | ^~~~~~ parser.cc:347:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 347 | ts->addAttribute('t', &pending->time, "time", "-1.0", true, "time"); | ^~~~~~ parser.cc:348:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 348 | ts->addAttribute('s', &pending->ne.src, "int", "-1", true, "node id"); | ^~~~~ parser.cc:348:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 348 | ts->addAttribute('s', &pending->ne.src, "int", "-1", true, "node id"); | ^~~~ parser.cc:348:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 348 | ts->addAttribute('s', &pending->ne.src, "int", "-1", true, "node id"); | ^~~~~~~~~ parser.cc:349:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 349 | ts->addAttribute('u', &pending->ne.x_vel_, "double", "0.0", false, "x velocity"); | ^~~~~~~~ parser.cc:349:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 349 | ts->addAttribute('u', &pending->ne.x_vel_, "double", "0.0", false, "x velocity"); | ^~~~~ parser.cc:349:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 349 | ts->addAttribute('u', &pending->ne.x_vel_, "double", "0.0", false, "x velocity"); | ^~~~~~~~~~~~ parser.cc:350:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 350 | ts->addAttribute('U', &pending->ne.x_vel_, "double", "0.0", false, "x velocity"); | ^~~~~~~~ parser.cc:350:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 350 | ts->addAttribute('U', &pending->ne.x_vel_, "double", "0.0", false, "x velocity"); | ^~~~~ parser.cc:350:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 350 | ts->addAttribute('U', &pending->ne.x_vel_, "double", "0.0", false, "x velocity"); | ^~~~~~~~~~~~ parser.cc:351:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 351 | ts->addAttribute('V', &pending->ne.y_vel_, "double", "0.0", false, "y velocity"); | ^~~~~~~~ parser.cc:351:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 351 | ts->addAttribute('V', &pending->ne.y_vel_, "double", "0.0", false, "y velocity"); | ^~~~~ parser.cc:351:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 351 | ts->addAttribute('V', &pending->ne.y_vel_, "double", "0.0", false, "y velocity"); | ^~~~~~~~~~~~ parser.cc:353:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 353 | ts->addAttribute('v', &pending->ne.mark.shape, "shape", "circle", false, "shape (circle, box, hexagon)", &pending->ne.y_vel_); | ^~~~~~~ parser.cc:353:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 353 | ts->addAttribute('v', &pending->ne.mark.shape, "shape", "circle", false, "shape (circle, box, hexagon)", &pending->ne.y_vel_); | ^~~~~~~~ parser.cc:353:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 353 | ts->addAttribute('v', &pending->ne.mark.shape, "shape", "circle", false, "shape (circle, box, hexagon)", &pending->ne.y_vel_); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:354:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 354 | ts->addAttribute('c', &pending->ne.node.color, "color", "black", false, "color"); | ^~~~~~~ parser.cc:354:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 354 | ts->addAttribute('c', &pending->ne.node.color, "color", "black", false, "color"); | ^~~~~~~ parser.cc:354:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 354 | ts->addAttribute('c', &pending->ne.node.color, "color", "black", false, "color"); | ^~~~~~~ parser.cc:355:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 355 | ts->addAttribute('z', &pending->ne.size, "double", "10.0", false, "size of node"); | ^~~~~~~~ parser.cc:355:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 355 | ts->addAttribute('z', &pending->ne.size, "double", "10.0", false, "size of node"); | ^~~~~~ parser.cc:355:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 355 | ts->addAttribute('z', &pending->ne.size, "double", "10.0", false, "size of node"); | ^~~~~~~~~~~~~~ parser.cc:356:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 356 | ts->addAttribute('a', &pending->ne.node.addr, "int", "0", false, "address"); | ^~~~~ parser.cc:356:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 356 | ts->addAttribute('a', &pending->ne.node.addr, "int", "0", false, "address"); | ^~~ parser.cc:356:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 356 | ts->addAttribute('a', &pending->ne.node.addr, "int", "0", false, "address"); | ^~~~~~~~~ parser.cc:357:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 357 | ts->addAttribute('x', &pending->ne.x, "double", "0.0", false, "x location"); | ^~~~~~~~ parser.cc:357:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 357 | ts->addAttribute('x', &pending->ne.x, "double", "0.0", false, "x location"); | ^~~~~ parser.cc:357:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 357 | ts->addAttribute('x', &pending->ne.x, "double", "0.0", false, "x location"); | ^~~~~~~~~~~~ parser.cc:358:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 358 | ts->addAttribute('y', &pending->ne.y, "double", "0.0", false, "y location"); | ^~~~~~~~ parser.cc:358:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 358 | ts->addAttribute('y', &pending->ne.y, "double", "0.0", false, "y location"); | ^~~~~ parser.cc:358:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 358 | ts->addAttribute('y', &pending->ne.y, "double", "0.0", false, "y location"); | ^~~~~~~~~~~~ parser.cc:359:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 359 | ts->addAttribute('Z', &pending->ne.z, "double", "0.0", false, "z location (not supported)"); | ^~~~~~~~ parser.cc:359:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 359 | ts->addAttribute('Z', &pending->ne.z, "double", "0.0", false, "z location (not supported)"); | ^~~~~ parser.cc:359:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 359 | ts->addAttribute('Z', &pending->ne.z, "double", "0.0", false, "z location (not supported)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:360:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 360 | ts->addAttribute('i', &pending->ne.node.lcolor, "color", "black", false, "label color"); | ^~~~~~~ parser.cc:360:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 360 | ts->addAttribute('i', &pending->ne.node.lcolor, "color", "black", false, "label color"); | ^~~~~~~ parser.cc:360:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 360 | ts->addAttribute('i', &pending->ne.node.lcolor, "color", "black", false, "label color"); | ^~~~~~~~~~~~~ parser.cc:362:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 362 | ts->addAttribute('b', &pending->ne.node.dlabel, "string", "", false, "label"); // Initialization | ^~~~~~~~ parser.cc:362:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 362 | ts->addAttribute('b', &pending->ne.node.dlabel, "string", "", false, "label"); // Initialization | ^~ parser.cc:362:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 362 | ts->addAttribute('b', &pending->ne.node.dlabel, "string", "", false, "label"); // Initialization | ^~~~~~~ parser.cc:363:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 363 | ts->addAttribute('l', &pending->ne.node.dlabel, "string", "", false, "label"); | ^~~~~~~~ parser.cc:363:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 363 | ts->addAttribute('l', &pending->ne.node.dlabel, "string", "", false, "label"); | ^~ parser.cc:363:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 363 | ts->addAttribute('l', &pending->ne.node.dlabel, "string", "", false, "label"); | ^~~~~~~ parser.cc:365:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 365 | ts->addAttribute('o', &pending->ne.node.oldColor, "color", "gray", false, "previous color"); | ^~~~~~~ parser.cc:365:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 365 | ts->addAttribute('o', &pending->ne.node.oldColor, "color", "gray", false, "previous color"); | ^~~~~~ parser.cc:365:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 365 | ts->addAttribute('o', &pending->ne.node.oldColor, "color", "gray", false, "previous color"); | ^~~~~~~~~~~~~~~~ parser.cc:366:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 366 | ts->addAttribute('S', &pending->ne.node.state, "string", "UP", false, "state (UP, DOWN, COLOR)"); | ^~~~~~~~ parser.cc:366:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 366 | ts->addAttribute('S', &pending->ne.node.state, "string", "UP", false, "state (UP, DOWN, COLOR)"); | ^~~~ parser.cc:366:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 366 | ts->addAttribute('S', &pending->ne.node.state, "string", "UP", false, "state (UP, DOWN, COLOR)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:367:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 367 | ts->addAttribute('L', &pending->ne.node.odlabel, "string", "", false, "previous label"); | ^~~~~~~~ parser.cc:367:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 367 | ts->addAttribute('L', &pending->ne.node.odlabel, "string", "", false, "previous label"); | ^~ parser.cc:367:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 367 | ts->addAttribute('L', &pending->ne.node.odlabel, "string", "", false, "previous label"); | ^~~~~~~~~~~~~~~~ parser.cc:368:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 368 | ts->addAttribute('p', &pending->ne.node.direction, "string", "", false, "label location"); | ^~~~~~~~ parser.cc:368:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 368 | ts->addAttribute('p', &pending->ne.node.direction, "string", "", false, "label location"); | ^~ parser.cc:368:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 368 | ts->addAttribute('p', &pending->ne.node.direction, "string", "", false, "label location"); | ^~~~~~~~~~~~~~~~ parser.cc:369:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 369 | ts->addAttribute('P', &pending->ne.node.odirection, "string", "", false, "previous label location"); | ^~~~~~~~ parser.cc:369:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 369 | ts->addAttribute('P', &pending->ne.node.odirection, "string", "", false, "previous label location"); | ^~ parser.cc:369:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 369 | ts->addAttribute('P', &pending->ne.node.odirection, "string", "", false, "previous label location"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:370:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 370 | ts->addAttribute('i', &pending->ne.node.lcolor, "color", "black", false, "inside label color"); | ^~~~~~~ parser.cc:370:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 370 | ts->addAttribute('i', &pending->ne.node.lcolor, "color", "black", false, "inside label color"); | ^~~~~~~ parser.cc:370:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 370 | ts->addAttribute('i', &pending->ne.node.lcolor, "color", "black", false, "inside label color"); | ^~~~~~~~~~~~~~~~~~~~ parser.cc:371:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 371 | ts->addAttribute('I', &pending->ne.node.olcolor, "color", "black", false, "previous inside label color"); | ^~~~~~~ parser.cc:371:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 371 | ts->addAttribute('I', &pending->ne.node.olcolor, "color", "black", false, "previous inside label color"); | ^~~~~~~ parser.cc:371:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 371 | ts->addAttribute('I', &pending->ne.node.olcolor, "color", "black", false, "previous inside label color"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:372:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 372 | ts->addAttribute('e', &pending->ne.node.dcolor, "color", "black", false, "label color"); | ^~~~~~~ parser.cc:372:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 372 | ts->addAttribute('e', &pending->ne.node.dcolor, "color", "black", false, "label color"); | ^~~~~~~ parser.cc:372:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 372 | ts->addAttribute('e', &pending->ne.node.dcolor, "color", "black", false, "label color"); | ^~~~~~~~~~~~~ parser.cc:373:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 373 | ts->addAttribute('E', &pending->ne.node.odcolor, "color", "black", false, "previous label color"); | ^~~~~~~ parser.cc:373:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 373 | ts->addAttribute('E', &pending->ne.node.odcolor, "color", "black", false, "previous label color"); | ^~~~~~~ parser.cc:373:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 373 | ts->addAttribute('E', &pending->ne.node.odcolor, "color", "black", false, "previous label color"); | ^~~~~~~~~~~~~~~~~~~~~~ parser.cc:374:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 374 | ts->addAttribute('T', &pending->ne.stoptime, "double", "0.0", false, "duration of movement"); | ^~~~~~~~ parser.cc:374:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 374 | ts->addAttribute('T', &pending->ne.stoptime, "double", "0.0", false, "duration of movement"); | ^~~~~ parser.cc:374:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 374 | ts->addAttribute('T', &pending->ne.stoptime, "double", "0.0", false, "duration of movement"); | ^~~~~~~~~~~~~~~~~~~~~~ parser.cc:375:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 375 | ts->addAttribute('w', &pending->ne.wireless, "flag", "0", false, "wireless node"); | ^~~~~~ parser.cc:375:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 375 | ts->addAttribute('w', &pending->ne.wireless, "flag", "0", false, "wireless node"); | ^~~ parser.cc:375:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 375 | ts->addAttribute('w', &pending->ne.wireless, "flag", "0", false, "wireless node"); | ^~~~~~~~~~~~~~~ parser.cc:378:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 378 | ts = addTraceSyntax('l', "link"); | ^~~~~~ parser.cc:379:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 379 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:379:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 379 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:379:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 379 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:380:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 380 | ts->addAttribute('s', &pending->le.src, "int", "-1", true, "source id"); | ^~~~~ parser.cc:380:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 380 | ts->addAttribute('s', &pending->le.src, "int", "-1", true, "source id"); | ^~~~ parser.cc:380:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 380 | ts->addAttribute('s', &pending->le.src, "int", "-1", true, "source id"); | ^~~~~~~~~~~ parser.cc:381:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 381 | ts->addAttribute('d', &pending->le.dst, "int", "-1", true, "destination id"); | ^~~~~ parser.cc:381:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 381 | ts->addAttribute('d', &pending->le.dst, "int", "-1", true, "destination id"); | ^~~~ parser.cc:381:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 381 | ts->addAttribute('d', &pending->le.dst, "int", "-1", true, "destination id"); | ^~~~~~~~~~~~~~~~ parser.cc:382:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 382 | ts->addAttribute('r', &pending->le.link.rate, "double", "1.0", false, "transmission rate"); | ^~~~~~~~ parser.cc:382:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 382 | ts->addAttribute('r', &pending->le.link.rate, "double", "1.0", false, "transmission rate"); | ^~~~~ parser.cc:382:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 382 | ts->addAttribute('r', &pending->le.link.rate, "double", "1.0", false, "transmission rate"); | ^~~~~~~~~~~~~~~~~~~ parser.cc:383:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 383 | ts->addAttribute('D', &pending->le.link.delay, "double", "1.0", false, "delay"); | ^~~~~~~~ parser.cc:383:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 383 | ts->addAttribute('D', &pending->le.link.delay, "double", "1.0", false, "delay"); | ^~~~~ parser.cc:383:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 383 | ts->addAttribute('D', &pending->le.link.delay, "double", "1.0", false, "delay"); | ^~~~~~~ parser.cc:384:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 384 | ts->addAttribute('h', &pending->le.link.length, "double", "1.0", false, "length"); | ^~~~~~~~ parser.cc:384:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 384 | ts->addAttribute('h', &pending->le.link.length, "double", "1.0", false, "length"); | ^~~~~ parser.cc:384:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 384 | ts->addAttribute('h', &pending->le.link.length, "double", "1.0", false, "length"); | ^~~~~~~~ parser.cc:385:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 385 | ts->addAttribute('O', &pending->le.link.angle, "orientation", "1.0", false, "orientation"); | ^~~~~~~~~~~~~ parser.cc:385:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 385 | ts->addAttribute('O', &pending->le.link.angle, "orientation", "1.0", false, "orientation"); | ^~~~~ parser.cc:385:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 385 | ts->addAttribute('O', &pending->le.link.angle, "orientation", "1.0", false, "orientation"); | ^~~~~~~~~~~~~ parser.cc:386:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 386 | ts->addAttribute('b', &pending->le.link.dlabel, "string", "", false, "label"); | ^~~~~~~~ parser.cc:386:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 386 | ts->addAttribute('b', &pending->le.link.dlabel, "string", "", false, "label"); | ^~ parser.cc:386:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 386 | ts->addAttribute('b', &pending->le.link.dlabel, "string", "", false, "label"); | ^~~~~~~ parser.cc:388:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 388 | ts->addAttribute('c', &pending->le.link.color, "color", "black", false, "color"); | ^~~~~~~ parser.cc:388:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 388 | ts->addAttribute('c', &pending->le.link.color, "color", "black", false, "color"); | ^~~~~~~ parser.cc:388:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 388 | ts->addAttribute('c', &pending->le.link.color, "color", "black", false, "color"); | ^~~~~~~ parser.cc:390:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 390 | ts->addAttribute('o', &pending->le.link.oldColor, "color", "gray", false, "previous color", &pending->le.link.angle); | ^~~~~~~ parser.cc:390:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 390 | ts->addAttribute('o', &pending->le.link.oldColor, "color", "gray", false, "previous color", &pending->le.link.angle); | ^~~~~~ parser.cc:390:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 390 | ts->addAttribute('o', &pending->le.link.oldColor, "color", "gray", false, "previous color", &pending->le.link.angle); | ^~~~~~~~~~~~~~~~ parser.cc:391:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 391 | ts->addAttribute('S', &pending->le.link.state, "string", "UP", true, "state (UP, DOWN)"); | ^~~~~~~~ parser.cc:391:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 391 | ts->addAttribute('S', &pending->le.link.state, "string", "UP", true, "state (UP, DOWN)"); | ^~~~ parser.cc:391:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 391 | ts->addAttribute('S', &pending->le.link.state, "string", "UP", true, "state (UP, DOWN)"); | ^~~~~~~~~~~~~~~~~~ parser.cc:393:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 393 | ts->addAttribute('l', &pending->le.link.dlabel, "string l", "", false, "label", &pending->le.link.length); | ^~~~~~~~~~ parser.cc:393:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 393 | ts->addAttribute('l', &pending->le.link.dlabel, "string l", "", false, "label", &pending->le.link.length); | ^~ parser.cc:393:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 393 | ts->addAttribute('l', &pending->le.link.dlabel, "string l", "", false, "label", &pending->le.link.length); | ^~~~~~~ parser.cc:394:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 394 | ts->addAttribute('L', &pending->le.link.odlabel, "string", "", false, "previous label"); | ^~~~~~~~ parser.cc:394:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 394 | ts->addAttribute('L', &pending->le.link.odlabel, "string", "", false, "previous label"); | ^~ parser.cc:394:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 394 | ts->addAttribute('L', &pending->le.link.odlabel, "string", "", false, "previous label"); | ^~~~~~~~~~~~~~~~ parser.cc:395:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 395 | ts->addAttribute('e', &pending->le.link.dcolor, "color", "", false, "label color"); | ^~~~~~~ parser.cc:395:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 395 | ts->addAttribute('e', &pending->le.link.dcolor, "color", "", false, "label color"); | ^~ parser.cc:395:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 395 | ts->addAttribute('e', &pending->le.link.dcolor, "color", "", false, "label color"); | ^~~~~~~~~~~~~ parser.cc:396:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 396 | ts->addAttribute('E', &pending->le.link.odcolor, "color", "", false, "previous label color"); | ^~~~~~~ parser.cc:396:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 396 | ts->addAttribute('E', &pending->le.link.odcolor, "color", "", false, "previous label color"); | ^~ parser.cc:396:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 396 | ts->addAttribute('E', &pending->le.link.odcolor, "color", "", false, "previous label color"); | ^~~~~~~~~~~~~~~~~~~~~~ parser.cc:399:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 399 | ts = addTraceSyntax('+', "enqueue packet"); | ^~~~~~~~~~~~~~~~ parser.cc:400:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 400 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:400:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 400 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:400:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 400 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:401:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 401 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~ parser.cc:401:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 401 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~ parser.cc:401:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 401 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~~~~~~~ parser.cc:402:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 402 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~ parser.cc:402:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 402 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~ parser.cc:402:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 402 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~~~~~~~~~~~~ parser.cc:403:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 403 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~ parser.cc:403:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 403 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~ parser.cc:403:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 403 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~~~~ parser.cc:404:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 404 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "packet color attribute id"); | ^~~~~ parser.cc:404:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 404 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "packet color attribute id"); | ^~~ parser.cc:404:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 404 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "packet color attribute id"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:405:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 405 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~~ parser.cc:405:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 405 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~ parser.cc:405:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 405 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~ parser.cc:406:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 406 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~ parser.cc:406:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 406 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~ parser.cc:406:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 406 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~~~~ parser.cc:407:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 407 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~ parser.cc:407:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 407 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~ parser.cc:407:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 407 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~~~~~~~ parser.cc:408:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 408 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:408:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 408 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~~ parser.cc:408:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 408 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:409:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 409 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:409:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 409 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~ parser.cc:409:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 409 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:410:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 410 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:410:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 410 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~ parser.cc:410:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 410 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:411:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 411 | ts->addAttribute('y', &pending->pe.namgraph_flags, "comment", "{0 0}", false, ""); | ^~~~~~~~~ parser.cc:411:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 411 | ts->addAttribute('y', &pending->pe.namgraph_flags, "comment", "{0 0}", false, ""); | ^~~~~~~ parser.cc:411:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 411 | ts->addAttribute('y', &pending->pe.namgraph_flags, "comment", "{0 0}", false, ""); | ^~ parser.cc:412:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 412 | ts->addAttribute('S', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~~~ parser.cc:412:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 412 | ts->addAttribute('S', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~ parser.cc:412:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 412 | ts->addAttribute('S', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~ parser.cc:413:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 413 | ts->addAttribute('m', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~~~ parser.cc:413:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 413 | ts->addAttribute('m', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~ parser.cc:413:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 413 | ts->addAttribute('m', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~ parser.cc:414:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 414 | ts->addAttribute('f', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~~~ parser.cc:414:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 414 | ts->addAttribute('f', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~ parser.cc:414:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 414 | ts->addAttribute('f', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~ parser.cc:418:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 418 | ts = addTraceSyntax('-', "dequeue packet"); | ^~~~~~~~~~~~~~~~ parser.cc:419:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 419 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:419:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 419 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:419:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 419 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:420:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 420 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~ parser.cc:420:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 420 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~ parser.cc:420:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 420 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~~~~~~~ parser.cc:421:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 421 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~ parser.cc:421:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 421 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~ parser.cc:421:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 421 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~~~~~~~~~~~~ parser.cc:422:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 422 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~ parser.cc:422:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 422 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~ parser.cc:422:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 422 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~~~~ parser.cc:423:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 423 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~~~ parser.cc:423:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 423 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~ parser.cc:423:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 423 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~~~~~~~~~ parser.cc:424:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 424 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~~ parser.cc:424:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 424 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~ parser.cc:424:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 424 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~ parser.cc:425:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 425 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~ parser.cc:425:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 425 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~ parser.cc:425:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 425 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~~~~ parser.cc:426:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 426 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~ parser.cc:426:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 426 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~ parser.cc:426:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 426 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~~~~~~~ parser.cc:427:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 427 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:427:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 427 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~~ parser.cc:427:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 427 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:428:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 428 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:428:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 428 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~ parser.cc:428:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 428 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:429:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 429 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:429:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 429 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~ parser.cc:429:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 429 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:430:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 430 | ts->addAttribute('y', &pending->pe.namgraph_flags, "comment", "{0 0}", false, ""); | ^~~~~~~~~ parser.cc:430:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 430 | ts->addAttribute('y', &pending->pe.namgraph_flags, "comment", "{0 0}", false, ""); | ^~~~~~~ parser.cc:430:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 430 | ts->addAttribute('y', &pending->pe.namgraph_flags, "comment", "{0 0}", false, ""); | ^~ parser.cc:431:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 431 | ts->addAttribute('S', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~~~ parser.cc:431:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 431 | ts->addAttribute('S', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~ parser.cc:431:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 431 | ts->addAttribute('S', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~ parser.cc:432:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 432 | ts->addAttribute('m', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~~~ parser.cc:432:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 432 | ts->addAttribute('m', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~ parser.cc:432:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 432 | ts->addAttribute('m', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~ parser.cc:433:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 433 | ts->addAttribute('f', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~~~ parser.cc:433:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 433 | ts->addAttribute('f', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~ parser.cc:433:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 433 | ts->addAttribute('f', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~ parser.cc:436:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 436 | ts = addTraceSyntax('h', "hop"); | ^~~~~ parser.cc:437:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 437 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:437:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 437 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:437:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 437 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:438:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 438 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~ parser.cc:438:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 438 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~ parser.cc:438:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 438 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~~~~~~~ parser.cc:439:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 439 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~ parser.cc:439:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 439 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~ parser.cc:439:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 439 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~~~~~~~~~~~~ parser.cc:440:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 440 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~ parser.cc:440:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 440 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~ parser.cc:440:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 440 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~~~~ parser.cc:441:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 441 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~~~ parser.cc:441:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 441 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~ parser.cc:441:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 441 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~~~~~~~~~ parser.cc:442:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 442 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~~ parser.cc:442:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 442 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~ parser.cc:442:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 442 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~ parser.cc:443:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 443 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~ parser.cc:443:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 443 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~ parser.cc:443:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 443 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~~~~ parser.cc:444:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 444 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~ parser.cc:444:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 444 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~ parser.cc:444:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 444 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~~~~~~~ parser.cc:445:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 445 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:445:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 445 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~~ parser.cc:445:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 445 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:446:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 446 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:446:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 446 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~ parser.cc:446:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 446 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:447:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 447 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:447:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 447 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~ parser.cc:447:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 447 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:448:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 448 | ts->addAttribute('y', &pending->pe.namgraph_flags, "comment", "{0 0}", false, ""); | ^~~~~~~~~ parser.cc:448:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 448 | ts->addAttribute('y', &pending->pe.namgraph_flags, "comment", "{0 0}", false, ""); | ^~~~~~~ parser.cc:448:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 448 | ts->addAttribute('y', &pending->pe.namgraph_flags, "comment", "{0 0}", false, ""); | ^~ parser.cc:449:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 449 | ts->addAttribute('S', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~~~ parser.cc:449:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 449 | ts->addAttribute('S', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~ parser.cc:449:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 449 | ts->addAttribute('S', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~ parser.cc:450:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 450 | ts->addAttribute('m', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~~~ parser.cc:450:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 450 | ts->addAttribute('m', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~ parser.cc:450:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 450 | ts->addAttribute('m', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~ parser.cc:451:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 451 | ts->addAttribute('f', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~~~ parser.cc:451:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 451 | ts->addAttribute('f', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~ parser.cc:451:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 451 | ts->addAttribute('f', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~ parser.cc:452:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 452 | ts->addAttribute('R', &pending->pe.pkt.wBcastRadius, "double", "0", false, "wireless broadcast radius"); | ^~~~~~~~ parser.cc:452:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 452 | ts->addAttribute('R', &pending->pe.pkt.wBcastRadius, "double", "0", false, "wireless broadcast radius"); | ^~~ parser.cc:452:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 452 | ts->addAttribute('R', &pending->pe.pkt.wBcastRadius, "double", "0", false, "wireless broadcast radius"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:453:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 453 | ts->addAttribute('D', &pending->pe.pkt.wBcastDuration, "double", "0", false, "wireless broadcast duration"); | ^~~~~~~~ parser.cc:453:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 453 | ts->addAttribute('D', &pending->pe.pkt.wBcastDuration, "double", "0", false, "wireless broadcast duration"); | ^~~ parser.cc:453:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 453 | ts->addAttribute('D', &pending->pe.pkt.wBcastDuration, "double", "0", false, "wireless broadcast duration"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:456:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 456 | ts = addTraceSyntax('r', "receive"); | ^~~~~~~~~ parser.cc:457:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 457 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:457:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 457 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:457:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 457 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:458:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 458 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~ parser.cc:458:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 458 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~ parser.cc:458:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 458 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~~~~~~~ parser.cc:459:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 459 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~ parser.cc:459:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 459 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~ parser.cc:459:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 459 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~~~~~~~~~~~~ parser.cc:460:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 460 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~ parser.cc:460:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 460 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~ parser.cc:460:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 460 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~~~~ parser.cc:461:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 461 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~~~ parser.cc:461:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 461 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~ parser.cc:461:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 461 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~~~~~~~~~ parser.cc:462:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 462 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~~ parser.cc:462:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 462 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~ parser.cc:462:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 462 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~ parser.cc:463:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 463 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~ parser.cc:463:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 463 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~ parser.cc:463:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 463 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~~~~ parser.cc:464:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 464 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~ parser.cc:464:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 464 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~ parser.cc:464:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 464 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~~~~~~~ parser.cc:465:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 465 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:465:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 465 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~~ parser.cc:465:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 465 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:466:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 466 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:466:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 466 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~ parser.cc:466:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 466 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:467:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 467 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:467:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 467 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~ parser.cc:467:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 467 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:468:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 468 | ts->addAttribute('y', &pending->pe.namgraph_flags, "comment", "{0 0}", false, ""); | ^~~~~~~~~ parser.cc:468:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 468 | ts->addAttribute('y', &pending->pe.namgraph_flags, "comment", "{0 0}", false, ""); | ^~~~~~~ parser.cc:468:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 468 | ts->addAttribute('y', &pending->pe.namgraph_flags, "comment", "{0 0}", false, ""); | ^~ parser.cc:469:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 469 | ts->addAttribute('S', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~~~ parser.cc:469:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 469 | ts->addAttribute('S', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~ parser.cc:469:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 469 | ts->addAttribute('S', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~ parser.cc:470:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 470 | ts->addAttribute('m', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~~~ parser.cc:470:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 470 | ts->addAttribute('m', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~ parser.cc:470:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 470 | ts->addAttribute('m', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~ parser.cc:471:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 471 | ts->addAttribute('f', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~~~ parser.cc:471:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 471 | ts->addAttribute('f', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~ parser.cc:471:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 471 | ts->addAttribute('f', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~ parser.cc:472:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 472 | ts->addAttribute('R', &pending->pe.pkt.wBcastRadius, "double", "0", false, "wireless broadcast radius"); | ^~~~~~~~ parser.cc:472:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 472 | ts->addAttribute('R', &pending->pe.pkt.wBcastRadius, "double", "0", false, "wireless broadcast radius"); | ^~~ parser.cc:472:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 472 | ts->addAttribute('R', &pending->pe.pkt.wBcastRadius, "double", "0", false, "wireless broadcast radius"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:473:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 473 | ts->addAttribute('D', &pending->pe.pkt.wBcastDuration, "double", "0", false, "wireless broadcast duration"); | ^~~~~~~~ parser.cc:473:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 473 | ts->addAttribute('D', &pending->pe.pkt.wBcastDuration, "double", "0", false, "wireless broadcast duration"); | ^~~ parser.cc:473:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 473 | ts->addAttribute('D', &pending->pe.pkt.wBcastDuration, "double", "0", false, "wireless broadcast duration"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:476:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 476 | ts = addTraceSyntax('d', "drop line"); | ^~~~~~~~~~~ parser.cc:477:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 477 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:477:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 477 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:477:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 477 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:478:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 478 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~ parser.cc:478:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 478 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~ parser.cc:478:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 478 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~~~~~~~ parser.cc:479:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 479 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~ parser.cc:479:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 479 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~ parser.cc:479:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 479 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~~~~~~~~~~~~ parser.cc:480:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 480 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~ parser.cc:480:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 480 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~ parser.cc:480:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 480 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~~~~ parser.cc:481:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 481 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~~~ parser.cc:481:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 481 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~ parser.cc:481:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 481 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~~~~~~~~~ parser.cc:482:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 482 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~~ parser.cc:482:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 482 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~ parser.cc:482:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 482 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~ parser.cc:483:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 483 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~ parser.cc:483:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 483 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~ parser.cc:483:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 483 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~~~~ parser.cc:484:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 484 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~ parser.cc:484:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 484 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~ parser.cc:484:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 484 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~~~~~~~ parser.cc:485:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 485 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:485:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 485 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~~ parser.cc:485:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 485 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:486:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 486 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:486:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 486 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~ parser.cc:486:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 486 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:487:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 487 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:487:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 487 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~ parser.cc:487:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 487 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:488:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 488 | ts->addAttribute('y', &pending->pe.namgraph_flags, "comment", "{0 0}", false, ""); | ^~~~~~~~~ parser.cc:488:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 488 | ts->addAttribute('y', &pending->pe.namgraph_flags, "comment", "{0 0}", false, ""); | ^~~~~~~ parser.cc:488:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 488 | ts->addAttribute('y', &pending->pe.namgraph_flags, "comment", "{0 0}", false, ""); | ^~ parser.cc:489:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 489 | ts->addAttribute('S', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~~~ parser.cc:489:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 489 | ts->addAttribute('S', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~ parser.cc:489:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 489 | ts->addAttribute('S', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~ parser.cc:490:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 490 | ts->addAttribute('m', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~~~ parser.cc:490:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 490 | ts->addAttribute('m', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~ parser.cc:490:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 490 | ts->addAttribute('m', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~ parser.cc:491:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 491 | ts->addAttribute('f', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~~~ parser.cc:491:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 491 | ts->addAttribute('f', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~~ parser.cc:491:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 491 | ts->addAttribute('f', &pending->pe.namgraph_flags.size, "int", "0", false, ""); | ^~ parser.cc:494:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 494 | ts = addTraceSyntax('E', "session enqueue"); | ^~~~~~~~~~~~~~~~~ parser.cc:495:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 495 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:495:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 495 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:495:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 495 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:496:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 496 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~ parser.cc:496:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 496 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~ parser.cc:496:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 496 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~~~~~~~ parser.cc:497:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 497 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~ parser.cc:497:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 497 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~ parser.cc:497:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 497 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~~~~~~~~~~~~ parser.cc:498:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~ parser.cc:498:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~ parser.cc:498:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~~~~ parser.cc:499:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 499 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~~~ parser.cc:499:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 499 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~ parser.cc:499:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 499 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~~~~~~~~~ parser.cc:500:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 500 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~~ parser.cc:500:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 500 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~ parser.cc:500:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 500 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~ parser.cc:501:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 501 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~ parser.cc:501:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 501 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~ parser.cc:501:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 501 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~~~~ parser.cc:502:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 502 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~ parser.cc:502:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 502 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~ parser.cc:502:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 502 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~~~~~~~ parser.cc:503:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 503 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:503:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 503 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~~ parser.cc:503:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 503 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:504:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 504 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:504:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 504 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~ parser.cc:504:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 504 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:505:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 505 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:505:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 505 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~ parser.cc:505:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 505 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:508:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 508 | ts = addTraceSyntax('D', "session dequeue"); | ^~~~~~~~~~~~~~~~~ parser.cc:509:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 509 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:509:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 509 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:509:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 509 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:510:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 510 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~ parser.cc:510:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 510 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~ parser.cc:510:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 510 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~~~~~~~ parser.cc:511:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 511 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~ parser.cc:511:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 511 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~ parser.cc:511:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 511 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~~~~~~~~~~~~ parser.cc:512:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 512 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~ parser.cc:512:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 512 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~ parser.cc:512:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 512 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~~~~ parser.cc:513:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 513 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~~~ parser.cc:513:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 513 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~ parser.cc:513:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 513 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~~~~~~~~~ parser.cc:514:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 514 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~~ parser.cc:514:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 514 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~ parser.cc:514:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 514 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~ parser.cc:515:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 515 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~ parser.cc:515:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 515 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~ parser.cc:515:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 515 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~~~~ parser.cc:516:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 516 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~ parser.cc:516:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 516 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~ parser.cc:516:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 516 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~~~~~~~ parser.cc:517:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 517 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:517:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 517 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~~ parser.cc:517:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 517 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:518:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 518 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:518:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 518 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~ parser.cc:518:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 518 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:519:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 519 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:519:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 519 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~ parser.cc:519:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 519 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:522:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 522 | ts = addTraceSyntax('P', "session drop"); | ^~~~~~~~~~~~~~ parser.cc:523:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 523 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:523:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 523 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:523:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 523 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:524:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 524 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~ parser.cc:524:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 524 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~ parser.cc:524:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 524 | ts->addAttribute('s', &pending->pe.src, "int", "-1", true, "source id"); | ^~~~~~~~~~~ parser.cc:525:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 525 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~ parser.cc:525:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 525 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~ parser.cc:525:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 525 | ts->addAttribute('d', &pending->pe.dst, "int", "-1", true, "destination id"); | ^~~~~~~~~~~~~~~~ parser.cc:526:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 526 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~ parser.cc:526:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 526 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~ parser.cc:526:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 526 | ts->addAttribute('e', &pending->pe.pkt.size, "int", "1", false, "extent"); | ^~~~~~~~ parser.cc:527:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 527 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~~~ parser.cc:527:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 527 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~ parser.cc:527:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 527 | ts->addAttribute('a', &pending->pe.pkt.attr, "int", "0", false, "attribute"); | ^~~~~~~~~~~ parser.cc:528:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 528 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~~ parser.cc:528:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 528 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~ parser.cc:528:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 528 | ts->addAttribute('i', &pending->pe.pkt.id, "int", "0", false, "id"); | ^~~~ parser.cc:529:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 529 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~ parser.cc:529:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 529 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~ parser.cc:529:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 529 | ts->addAttribute('l', &pending->pe.pkt.energy, "int", "0", false, "energy"); | ^~~~~~~~ parser.cc:530:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 530 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~ parser.cc:530:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 530 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~ parser.cc:530:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 530 | ts->addAttribute('c', &pending->pe.pkt.convid, "string", "", false, "conversation"); | ^~~~~~~~~~~~~~ parser.cc:531:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 531 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:531:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 531 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~~ parser.cc:531:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 531 | ts->addAttribute('x', &pending->pe.pkt, "comment", "{-1 -1 }", false, "comment"); | ^~~~~~~~~ parser.cc:532:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 532 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:532:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 532 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~ parser.cc:532:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 532 | ts->addAttribute('p', &pending->pe.pkt.type, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:533:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 533 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~ parser.cc:533:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 533 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~ parser.cc:533:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 533 | ts->addAttribute('k', &pending->pe.pkt.wtype, "string", "", false, "packet type"); | ^~~~~~~~~~~~~ parser.cc:536:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 536 | ts = addTraceSyntax('a', "agent"); | ^~~~~~~ parser.cc:537:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 537 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:537:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 537 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:537:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 537 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:538:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 538 | ts->addAttribute('s', &pending->ae.src, "int", "-1", true, "source id"); | ^~~~~ parser.cc:538:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 538 | ts->addAttribute('s', &pending->ae.src, "int", "-1", true, "source id"); | ^~~~ parser.cc:538:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 538 | ts->addAttribute('s', &pending->ae.src, "int", "-1", true, "source id"); | ^~~~~~~~~~~ parser.cc:539:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 539 | ts->addAttribute('d', &pending->ae.dst, "int", "-1", false, "destination id"); | ^~~~~ parser.cc:539:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 539 | ts->addAttribute('d', &pending->ae.dst, "int", "-1", false, "destination id"); | ^~~~ parser.cc:539:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 539 | ts->addAttribute('d', &pending->ae.dst, "int", "-1", false, "destination id"); | ^~~~~~~~~~~~~~~~ parser.cc:540:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 540 | ts->addAttribute('x', &pending->ae.agent.expired, "flag", "0", false, "remove agent"); | ^~~~~~ parser.cc:540:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 540 | ts->addAttribute('x', &pending->ae.agent.expired, "flag", "0", false, "remove agent"); | ^~~ parser.cc:540:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 540 | ts->addAttribute('x', &pending->ae.agent.expired, "flag", "0", false, "remove agent"); | ^~~~~~~~~~~~~~ parser.cc:542:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 542 | ts->addAttribute('n', &pending->ae.agent.name, "string", "", false, "agent name"); | ^~~~~~~~ parser.cc:542:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 542 | ts->addAttribute('n', &pending->ae.agent.name, "string", "", false, "agent name"); | ^~ parser.cc:542:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 542 | ts->addAttribute('n', &pending->ae.agent.name, "string", "", false, "agent name"); | ^~~~~~~~~~~~ parser.cc:546:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 546 | ts = addTraceSyntax('f', "feature"); | ^~~~~~~~~ parser.cc:547:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 547 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:547:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 547 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:547:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 547 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:548:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 548 | ts->addAttribute('s', &pending->fe.src, "int", "-1", true, "source id"); | ^~~~~ parser.cc:548:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 548 | ts->addAttribute('s', &pending->fe.src, "int", "-1", true, "source id"); | ^~~~ parser.cc:548:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 548 | ts->addAttribute('s', &pending->fe.src, "int", "-1", true, "source id"); | ^~~~~~~~~~~ parser.cc:549:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 549 | ts->addAttribute('d', &pending->fe.dst, "int", "-1", false, "destination id"); | ^~~~~ parser.cc:549:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 549 | ts->addAttribute('d', &pending->fe.dst, "int", "-1", false, "destination id"); | ^~~~ parser.cc:549:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 549 | ts->addAttribute('d', &pending->fe.dst, "int", "-1", false, "destination id"); | ^~~~~~~~~~~~~~~~ parser.cc:550:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 550 | ts->addAttribute('x', &pending->fe.feature.expired, "flag", "0", false, "remove feature"); | ^~~~~~ parser.cc:550:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 550 | ts->addAttribute('x', &pending->fe.feature.expired, "flag", "0", false, "remove feature"); | ^~~ parser.cc:550:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 550 | ts->addAttribute('x', &pending->fe.feature.expired, "flag", "0", false, "remove feature"); | ^~~~~~~~~~~~~~~~ parser.cc:551:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 551 | ts->addAttribute('T', &pending->fe.feature.type, "char", "", true, "type"); | ^~~~~~ parser.cc:551:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 551 | ts->addAttribute('T', &pending->fe.feature.type, "char", "", true, "type"); | ^~ parser.cc:551:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 551 | ts->addAttribute('T', &pending->fe.feature.type, "char", "", true, "type"); | ^~~~~~ parser.cc:552:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 552 | ts->addAttribute('n', &pending->fe.feature.name, "string", "", true, "name"); | ^~~~~~~~ parser.cc:552:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 552 | ts->addAttribute('n', &pending->fe.feature.name, "string", "", true, "name"); | ^~ parser.cc:552:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 552 | ts->addAttribute('n', &pending->fe.feature.name, "string", "", true, "name"); | ^~~~~~ parser.cc:553:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 553 | ts->addAttribute('a', &pending->fe.feature.agent, "string", "", true, "agent"); | ^~~~~~~~ parser.cc:553:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 553 | ts->addAttribute('a', &pending->fe.feature.agent, "string", "", true, "agent"); | ^~ parser.cc:553:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 553 | ts->addAttribute('a', &pending->fe.feature.agent, "string", "", true, "agent"); | ^~~~~~~ parser.cc:554:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 554 | ts->addAttribute('v', &pending->fe.feature.value, "string", "", true, "value"); | ^~~~~~~~ parser.cc:554:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 554 | ts->addAttribute('v', &pending->fe.feature.value, "string", "", true, "value"); | ^~ parser.cc:554:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 554 | ts->addAttribute('v', &pending->fe.feature.value, "string", "", true, "value"); | ^~~~~~~ parser.cc:555:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | ts->addAttribute('o', &pending->fe.feature.oldvalue, "string", "", false, "previous value"); | ^~~~~~~~ parser.cc:555:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | ts->addAttribute('o', &pending->fe.feature.oldvalue, "string", "", false, "previous value"); | ^~ parser.cc:555:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | ts->addAttribute('o', &pending->fe.feature.oldvalue, "string", "", false, "previous value"); | ^~~~~~~~~~~~~~~~ parser.cc:558:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 558 | ts = addTraceSyntax('G', "group"); | ^~~~~~~ parser.cc:559:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 559 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:559:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 559 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:559:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 559 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:560:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 560 | ts->addAttribute('n', &pending->ge.grp.name, "string", "", true, "name"); | ^~~~~~~~ parser.cc:560:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 560 | ts->addAttribute('n', &pending->ge.grp.name, "string", "", true, "name"); | ^~ parser.cc:560:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 560 | ts->addAttribute('n', &pending->ge.grp.name, "string", "", true, "name"); | ^~~~~~ parser.cc:561:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 561 | ts->addAttribute('i', &pending->ge.src, "int", "-1", true, "node id"); | ^~~~~ parser.cc:561:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 561 | ts->addAttribute('i', &pending->ge.src, "int", "-1", true, "node id"); | ^~~~ parser.cc:561:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 561 | ts->addAttribute('i', &pending->ge.src, "int", "-1", true, "node id"); | ^~~~~~~~~ parser.cc:562:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 562 | ts->addAttribute('a', &pending->ge.grp.mbr, "int", "-1", true, "group id"); | ^~~~~ parser.cc:562:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 562 | ts->addAttribute('a', &pending->ge.grp.mbr, "int", "-1", true, "group id"); | ^~~~ parser.cc:562:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 562 | ts->addAttribute('a', &pending->ge.grp.mbr, "int", "-1", true, "group id"); | ^~~~~~~~~~ parser.cc:563:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 563 | ts->addAttribute('x', &pending->ge.grp.flag, "flag", "0", false, "remove from group"); | ^~~~~~ parser.cc:563:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 563 | ts->addAttribute('x', &pending->ge.grp.flag, "flag", "0", false, "remove from group"); | ^~~ parser.cc:563:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 563 | ts->addAttribute('x', &pending->ge.grp.flag, "flag", "0", false, "remove from group"); | ^~~~~~~~~~~~~~~~~~~ parser.cc:566:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 566 | ts = addTraceSyntax('L', "lan link"); | ^~~~~~~~~~ parser.cc:567:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 567 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:567:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 567 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:567:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 567 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:568:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 568 | ts->addAttribute('s', &pending->lle.src, "int", "-1", true, "source id"); | ^~~~~ parser.cc:568:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 568 | ts->addAttribute('s', &pending->lle.src, "int", "-1", true, "source id"); | ^~~~ parser.cc:568:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 568 | ts->addAttribute('s', &pending->lle.src, "int", "-1", true, "source id"); | ^~~~~~~~~~~ parser.cc:569:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 569 | ts->addAttribute('d', &pending->lle.dst, "int", "-1", true, "destination id"); | ^~~~~ parser.cc:569:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 569 | ts->addAttribute('d', &pending->lle.dst, "int", "-1", true, "destination id"); | ^~~~ parser.cc:569:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 569 | ts->addAttribute('d', &pending->lle.dst, "int", "-1", true, "destination id"); | ^~~~~~~~~~~~~~~~ parser.cc:570:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 570 | ts->addAttribute('o', &pending->lle.angle, "orientation", "0.0", false, "orientation"); | ^~~~~~~~~~~~~ parser.cc:570:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 570 | ts->addAttribute('o', &pending->lle.angle, "orientation", "0.0", false, "orientation"); | ^~~~~ parser.cc:570:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 570 | ts->addAttribute('o', &pending->lle.angle, "orientation", "0.0", false, "orientation"); | ^~~~~~~~~~~~~ parser.cc:571:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 571 | ts->addAttribute('O', &pending->lle.angle, "orientation", "0.0", false, "orientation"); | ^~~~~~~~~~~~~ parser.cc:571:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 571 | ts->addAttribute('O', &pending->lle.angle, "orientation", "0.0", false, "orientation"); | ^~~~~ parser.cc:571:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 571 | ts->addAttribute('O', &pending->lle.angle, "orientation", "0.0", false, "orientation"); | ^~~~~~~~~~~~~ parser.cc:574:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 574 | ts = addTraceSyntax('m', "mark node"); | ^~~~~~~~~~~ parser.cc:575:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 575 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:575:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 575 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:575:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 575 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:576:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 576 | ts->addAttribute('n', &pending->me.mark.name, "string", "", true, "name"); | ^~~~~~~~ parser.cc:576:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 576 | ts->addAttribute('n', &pending->me.mark.name, "string", "", true, "name"); | ^~ parser.cc:576:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 576 | ts->addAttribute('n', &pending->me.mark.name, "string", "", true, "name"); | ^~~~~~ parser.cc:577:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 577 | ts->addAttribute('s', &pending->me.src, "int", "-1", true, "node id"); | ^~~~~ parser.cc:577:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 577 | ts->addAttribute('s', &pending->me.src, "int", "-1", true, "node id"); | ^~~~ parser.cc:577:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 577 | ts->addAttribute('s', &pending->me.src, "int", "-1", true, "node id"); | ^~~~~~~~~ parser.cc:578:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 578 | ts->addAttribute('c', &pending->me.mark.color, "string", "black", false, "color"); | ^~~~~~~~ parser.cc:578:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 578 | ts->addAttribute('c', &pending->me.mark.color, "string", "black", false, "color"); | ^~~~~~~ parser.cc:578:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 578 | ts->addAttribute('c', &pending->me.mark.color, "string", "black", false, "color"); | ^~~~~~~ parser.cc:579:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 579 | ts->addAttribute('h', &pending->me.mark.shape, "string", "circle", false, "shape (circle, square, hexagon)"); | ^~~~~~~~ parser.cc:579:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 579 | ts->addAttribute('h', &pending->me.mark.shape, "string", "circle", false, "shape (circle, square, hexagon)"); | ^~~~~~~~ parser.cc:579:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 579 | ts->addAttribute('h', &pending->me.mark.shape, "string", "circle", false, "shape (circle, square, hexagon)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:580:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 580 | ts->addAttribute('X', &pending->me.mark.expired, "flag", "0", false, "remove mark"); | ^~~~~~ parser.cc:580:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 580 | ts->addAttribute('X', &pending->me.mark.expired, "flag", "0", false, "remove mark"); | ^~~ parser.cc:580:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 580 | ts->addAttribute('X', &pending->me.mark.expired, "flag", "0", false, "remove mark"); | ^~~~~~~~~~~~~ parser.cc:583:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 583 | ts = addTraceSyntax('R', "routing event"); | ^~~~~~~~~~~~~~~ parser.cc:584:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 584 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:584:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 584 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:584:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 584 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:585:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 585 | ts->addAttribute('s', &pending->re.src, "int", "-1", true, "source id"); | ^~~~~ parser.cc:585:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 585 | ts->addAttribute('s', &pending->re.src, "int", "-1", true, "source id"); | ^~~~ parser.cc:585:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 585 | ts->addAttribute('s', &pending->re.src, "int", "-1", true, "source id"); | ^~~~~~~~~~~ parser.cc:586:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 586 | ts->addAttribute('d', &pending->re.dst, "int", "-1", true, "destination id"); | ^~~~~ parser.cc:586:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 586 | ts->addAttribute('d', &pending->re.dst, "int", "-1", true, "destination id"); | ^~~~ parser.cc:586:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 586 | ts->addAttribute('d', &pending->re.dst, "int", "-1", true, "destination id"); | ^~~~~~~~~~~~~~~~ parser.cc:587:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 587 | ts->addAttribute('g', &pending->re.route.group, "int", "-1", false, "multicast group"); | ^~~~~ parser.cc:587:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 587 | ts->addAttribute('g', &pending->re.route.group, "int", "-1", false, "multicast group"); | ^~~~ parser.cc:587:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 587 | ts->addAttribute('g', &pending->re.route.group, "int", "-1", false, "multicast group"); | ^~~~~~~~~~~~~~~~~ parser.cc:588:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 588 | ts->addAttribute('p', &pending->re.route.pktsrc, "packet source", "-1", false, "packet source id or *"); | ^~~~~~~~~~~~~~~ parser.cc:588:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 588 | ts->addAttribute('p', &pending->re.route.pktsrc, "packet source", "-1", false, "packet source id or *"); | ^~~~ parser.cc:588:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 588 | ts->addAttribute('p', &pending->re.route.pktsrc, "packet source", "-1", false, "packet source id or *"); | ^~~~~~~~~~~~~~~~~~~~~~~ parser.cc:589:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 589 | ts->addAttribute('n', &pending->re.route.neg, "flag", "0", false, "negative cache"); | ^~~~~~ parser.cc:589:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 589 | ts->addAttribute('n', &pending->re.route.neg, "flag", "0", false, "negative cache"); | ^~~ parser.cc:589:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 589 | ts->addAttribute('n', &pending->re.route.neg, "flag", "0", false, "negative cache"); | ^~~~~~~~~~~~~~~~ parser.cc:590:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 590 | ts->addAttribute('x', &pending->re.route.expired, "flag", "0", false, "this route timed out"); | ^~~~~~ parser.cc:590:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 590 | ts->addAttribute('x', &pending->re.route.expired, "flag", "0", false, "this route timed out"); | ^~~ parser.cc:590:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 590 | ts->addAttribute('x', &pending->re.route.expired, "flag", "0", false, "this route timed out"); | ^~~~~~~~~~~~~~~~~~~~~~ parser.cc:591:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 591 | ts->addAttribute('T', &pending->re.route.timeout, "double", "0.0", false, "timeout"); | ^~~~~~~~ parser.cc:591:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 591 | ts->addAttribute('T', &pending->re.route.timeout, "double", "0.0", false, "timeout"); | ^~~~~ parser.cc:591:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 591 | ts->addAttribute('T', &pending->re.route.timeout, "double", "0.0", false, "timeout"); | ^~~~~~~~~ parser.cc:592:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 592 | ts->addAttribute('m', &pending->re.route.mode, "string", "iif", false, "mode (iif or oif)"); | ^~~~~~~~ parser.cc:592:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 592 | ts->addAttribute('m', &pending->re.route.mode, "string", "iif", false, "mode (iif or oif)"); | ^~~~~ parser.cc:592:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 592 | ts->addAttribute('m', &pending->re.route.mode, "string", "iif", false, "mode (iif or oif)"); | ^~~~~~~~~~~~~~~~~~~ parser.cc:595:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 595 | ts = addTraceSyntax('v', "execute tcl expression"); | ^~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:596:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 596 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:596:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 596 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:596:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 596 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:597:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 597 | ts->addAttribute('e', &pending->ve, "tcl expression", "\n", true, "tcl script"); | ^~~~~~~~~~~~~~~~ parser.cc:597:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 597 | ts->addAttribute('e', &pending->ve, "tcl expression", "\n", true, "tcl script"); | ^~~~ parser.cc:597:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 597 | ts->addAttribute('e', &pending->ve, "tcl expression", "\n", true, "tcl script"); | ^~~~~~~~~~~~ parser.cc:599:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 599 | ts = addTraceSyntax('V', "set trace file version"); | ^~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:600:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 600 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:600:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 600 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:600:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 600 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:601:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 601 | ts->addAttribute('v', &pending->version, "string", "", true, "time"); | ^~~~~~~~ parser.cc:601:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 601 | ts->addAttribute('v', &pending->version, "string", "", true, "time"); | ^~ parser.cc:601:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 601 | ts->addAttribute('v', &pending->version, "string", "", true, "time"); | ^~~~~~ parser.cc:602:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 602 | ts->addAttribute('a', &pending->dummy, "int", "0", true, "time"); | ^~~~~ parser.cc:602:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 602 | ts->addAttribute('a', &pending->dummy, "int", "0", true, "time"); | ^~~ parser.cc:602:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 602 | ts->addAttribute('a', &pending->dummy, "int", "0", true, "time"); | ^~~~~~ parser.cc:605:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 605 | ts = addTraceSyntax('N', "use nam graph"); | ^~~~~~~~~~~~~~~ parser.cc:608:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 608 | ts = addTraceSyntax('W', "wireless range"); | ^~~~~~~~~~~~~~~~ parser.cc:609:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 609 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:609:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 609 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:609:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 609 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:610:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 610 | ts->addAttribute('x', &pending->we.x, "int", "100", true, "X"); | ^~~~~ parser.cc:610:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 610 | ts->addAttribute('x', &pending->we.x, "int", "100", true, "X"); | ^~~~~ parser.cc:610:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 610 | ts->addAttribute('x', &pending->we.x, "int", "100", true, "X"); | ^~~ parser.cc:611:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 611 | ts->addAttribute('y', &pending->we.y, "int", "100", true, "Y"); | ^~~~~ parser.cc:611:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 611 | ts->addAttribute('y', &pending->we.y, "int", "100", true, "Y"); | ^~~~~ parser.cc:611:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 611 | ts->addAttribute('y', &pending->we.y, "int", "100", true, "Y"); | ^~~ parser.cc:614:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 614 | ts = addTraceSyntax('g', "energy status -- for future use"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:615:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 615 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:615:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 615 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:615:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 615 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:619:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 619 | ts = addTraceSyntax('A', "hierarchical address space configuration -- initilization only"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:620:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 620 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:620:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 620 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:620:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 620 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:621:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 621 | ts->addAttribute('n', &pending->hae.hierarchy, "int", "0", false, "hierarchy"); | ^~~~~ parser.cc:621:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 621 | ts->addAttribute('n', &pending->hae.hierarchy, "int", "0", false, "hierarchy"); | ^~~ parser.cc:621:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 621 | ts->addAttribute('n', &pending->hae.hierarchy, "int", "0", false, "hierarchy"); | ^~~~~~~~~~~ parser.cc:622:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 622 | ts->addAttribute('p', &pending->hae.portshift, "int", "0", false, "port shift"); | ^~~~~ parser.cc:622:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 622 | ts->addAttribute('p', &pending->hae.portshift, "int", "0", false, "port shift"); | ^~~ parser.cc:622:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 622 | ts->addAttribute('p', &pending->hae.portshift, "int", "0", false, "port shift"); | ^~~~~~~~~~~~ parser.cc:623:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 623 | ts->addAttribute('o', &pending->hae.portmask, "hex", "0xffffffff", false, "port mask"); | ^~~~~ parser.cc:623:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 623 | ts->addAttribute('o', &pending->hae.portmask, "hex", "0xffffffff", false, "port mask"); | ^~~~~~~~~~~~ parser.cc:623:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 623 | ts->addAttribute('o', &pending->hae.portmask, "hex", "0xffffffff", false, "port mask"); | ^~~~~~~~~~~ parser.cc:624:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 624 | ts->addAttribute('c', &pending->hae.multicast_shift, "int", "0", false, "mulitcast shift"); | ^~~~~ parser.cc:624:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 624 | ts->addAttribute('c', &pending->hae.multicast_shift, "int", "0", false, "mulitcast shift"); | ^~~ parser.cc:624:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 624 | ts->addAttribute('c', &pending->hae.multicast_shift, "int", "0", false, "mulitcast shift"); | ^~~~~~~~~~~~~~~~~ parser.cc:625:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 625 | ts->addAttribute('a', &pending->hae.multicast_mask, "int", "0", false, "multicast mask"); | ^~~~~ parser.cc:625:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 625 | ts->addAttribute('a', &pending->hae.multicast_mask, "int", "0", false, "multicast mask"); | ^~~ parser.cc:625:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 625 | ts->addAttribute('a', &pending->hae.multicast_mask, "int", "0", false, "multicast mask"); | ^~~~~~~~~~~~~~~~ parser.cc:626:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 626 | ts->addAttribute('h', &pending->hae.hierarchy, "int", "0", false, "hierarchy"); | ^~~~~ parser.cc:626:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 626 | ts->addAttribute('h', &pending->hae.hierarchy, "int", "0", false, "hierarchy"); | ^~~ parser.cc:626:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 626 | ts->addAttribute('h', &pending->hae.hierarchy, "int", "0", false, "hierarchy"); | ^~~~~~~~~~~ parser.cc:627:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 627 | ts->addAttribute('m', &pending->hae.nodeshift, "int", "0", false, "node shift"); | ^~~~~ parser.cc:627:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 627 | ts->addAttribute('m', &pending->hae.nodeshift, "int", "0", false, "node shift"); | ^~~ parser.cc:627:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 627 | ts->addAttribute('m', &pending->hae.nodeshift, "int", "0", false, "node shift"); | ^~~~~~~~~~~~ parser.cc:628:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 628 | ts->addAttribute('s', &pending->hae.nodemask, "int", "0", false, "node mask"); | ^~~~~ parser.cc:628:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 628 | ts->addAttribute('s', &pending->hae.nodemask, "int", "0", false, "node mask"); | ^~~ parser.cc:628:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 628 | ts->addAttribute('s', &pending->hae.nodemask, "int", "0", false, "node mask"); | ^~~~~~~~~~~ parser.cc:632:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 632 | ts = addTraceSyntax('c', "color table configuration -- initialization only"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:633:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 633 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:633:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 633 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:633:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 633 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:634:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 634 | ts->addAttribute('i', &pending->ce.id, "int", "1", true, "id"); | ^~~~~ parser.cc:634:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 634 | ts->addAttribute('i', &pending->ce.id, "int", "1", true, "id"); | ^~~ parser.cc:634:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 634 | ts->addAttribute('i', &pending->ce.id, "int", "1", true, "id"); | ^~~~ parser.cc:635:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 635 | ts->addAttribute('n', &pending->ce.color, "string", "black", true, "color"); | ^~~~~~~~ parser.cc:635:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 635 | ts->addAttribute('n', &pending->ce.color, "string", "black", true, "color"); | ^~~~~~~ parser.cc:635:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 635 | ts->addAttribute('n', &pending->ce.color, "string", "black", true, "color"); | ^~~~~~~ parser.cc:638:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 638 | ts = addTraceSyntax('q', "create packet queue -- initialization only"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cc:639:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 639 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:639:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 639 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:639:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 639 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:640:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 640 | ts->addAttribute('s', &pending->qe.src, "int", "0", true, "source id"); | ^~~~~ parser.cc:640:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 640 | ts->addAttribute('s', &pending->qe.src, "int", "0", true, "source id"); | ^~~ parser.cc:640:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 640 | ts->addAttribute('s', &pending->qe.src, "int", "0", true, "source id"); | ^~~~~~~~~~~ parser.cc:641:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 641 | ts->addAttribute('d', &pending->qe.dst, "int", "0", true, "destination id"); | ^~~~~ parser.cc:641:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 641 | ts->addAttribute('d', &pending->qe.dst, "int", "0", true, "destination id"); | ^~~ parser.cc:641:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 641 | ts->addAttribute('d', &pending->qe.dst, "int", "0", true, "destination id"); | ^~~~~~~~~~~~~~~~ parser.cc:642:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 642 | ts->addAttribute('a', &pending->qe.angle, "orientation", "0.0", true, "orientaion"); | ^~~~~~~~~~~~~ parser.cc:642:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 642 | ts->addAttribute('a', &pending->qe.angle, "orientation", "0.0", true, "orientaion"); | ^~~~~ parser.cc:642:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 642 | ts->addAttribute('a', &pending->qe.angle, "orientation", "0.0", true, "orientaion"); | ^~~~~~~~~~~~ parser.cc:645:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 645 | ts = addTraceSyntax('X', "layout lan"); | ^~~~~~~~~~~~ parser.cc:646:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 646 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:646:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 646 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~ parser.cc:646:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 646 | ts->addAttribute('t', &pending->time, "time", "0.0", true, "time"); | ^~~~~~ parser.cc:647:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 647 | ts->addAttribute('n', &pending->layoutle.name, "string", "", true, "name"); | ^~~~~~~~ parser.cc:647:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 647 | ts->addAttribute('n', &pending->layoutle.name, "string", "", true, "name"); | ^~ parser.cc:647:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 647 | ts->addAttribute('n', &pending->layoutle.name, "string", "", true, "name"); | ^~~~~~ parser.cc:648:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 648 | ts->addAttribute('r', &pending->layoutle.rate, "double", "10.0", true, "rate"); | ^~~~~~~~ parser.cc:648:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 648 | ts->addAttribute('r', &pending->layoutle.rate, "double", "10.0", true, "rate"); | ^~~~~~ parser.cc:648:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 648 | ts->addAttribute('r', &pending->layoutle.rate, "double", "10.0", true, "rate"); | ^~~~~~ parser.cc:649:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 649 | ts->addAttribute('D', &pending->layoutle.delay, "double", "0.0", true, "delay"); | ^~~~~~~~ parser.cc:649:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 649 | ts->addAttribute('D', &pending->layoutle.delay, "double", "0.0", true, "delay"); | ^~~~~ parser.cc:649:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 649 | ts->addAttribute('D', &pending->layoutle.delay, "double", "0.0", true, "delay"); | ^~~~~~~ parser.cc:650:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 650 | ts->addAttribute('o', &pending->layoutle.angle, "orientation", "0.0", false, "orientation"); | ^~~~~~~~~~~~~ parser.cc:650:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 650 | ts->addAttribute('o', &pending->layoutle.angle, "orientation", "0.0", false, "orientation"); | ^~~~~ parser.cc:650:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 650 | ts->addAttribute('o', &pending->layoutle.angle, "orientation", "0.0", false, "orientation"); | ^~~~~~~~~~~~~ parser.cc:651:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 651 | ts->addAttribute('O', &pending->layoutle.angle, "orientation", "0.0", false, "orientation"); | ^~~~~~~~~~~~~ parser.cc:651:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 651 | ts->addAttribute('O', &pending->layoutle.angle, "orientation", "0.0", false, "orientation"); | ^~~~~ parser.cc:651:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 651 | ts->addAttribute('O', &pending->layoutle.angle, "orientation", "0.0", false, "orientation"); | ^~~~~~~~~~~~~ --- enetmodel.o --- In file included from enetmodel.cc:57: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ --- trafficsource.o --- rm -f trafficsource.o; g++ -o trafficsource.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include trafficsource.cc --- lossmodel.o --- rm -f lossmodel.o; g++ -o lossmodel.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include lossmodel.cc --- trafficsource.o --- In file included from trafficsource.cc:42: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ trafficsource.cc: In member function 'void TrafficSource::setDefaults()': trafficsource.cc:150:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 150 | color_ = "green"; | ^~~~~~~ --- queuehandle.o --- rm -f queuehandle.o; g++ -o queuehandle.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include queuehandle.cc --- lossmodel.o --- lossmodel.cc: In member function 'void LossModel::setDefaults()': lossmodel.cc:120:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | color_ = "black"; | ^~~~~~~ --- gen/version.c --- rm -f gen/version.c /opt/local/bin/tclsh8.6 bin/string2c.tcl version < VERSION > gen/version.c --- gen/nam_tcl.cc --- rm -f gen/nam_tcl.cc /opt/local/bin/tclsh8.6 bin/tcl-expand.tcl tcl/nam-lib.tcl | /opt/local/bin/tcl2c++ et_nam > gen/nam_tcl.cc --- gen/version.o --- rm -f gen/version.o; gcc -o gen/version.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include gen/version.c cc1: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C --- gen/nam_tcl.o --- rm -f gen/nam_tcl.o; g++ -o gen/nam_tcl.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/freetype2 -fpermissive -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/tcl/generic -I/opt/local/include -I/opt/local/include gen/nam_tcl.cc --- queuehandle.o --- In file included from queuehandle.cc:41: node.h: In member function 'virtual char* BoxNode::style()': node.h:280:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | char *style() {return "box";} | ^~~~~ node.h: In member function 'virtual char* CircleNode::style()': node.h:291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | char *style() {return "circle";} | ^~~~~~~~ node.h: In member function 'virtual char* HexagonNode::style()': node.h:302:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 302 | char *style() {return "hexagon";} | ^~~~~~~~~ node.h: In member function 'virtual char* VirtualNode::style()': node.h:318:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | char *style() {return "virtual";} | ^~~~~~~~~ queuehandle.cc: In member function 'void QueueHandle::setDefaults()': queuehandle.cc:145:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | color_ = "black"; | ^~~~~~~ queuehandle.cc: In member function 'virtual void QueueHandle::draw(View*, double)': queuehandle.cc:321:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 321 | char * label = "Q"; | ^~~ --- nam --- rm -f nam g++ -Wl,-R/opt/local/lib -lintl -liconv -L/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o nam tkcompat.o tkUnixInit.o xwd.o netview.o netmodel.o edge.o packet.o node.o main.o trace.o queue.o drop.o animation.o agent.o feature.o route.o transform.o paint.o state.o monitor.o anetmodel.o rng.o view.o graphview.o netgraph.o tracehook.o lan.o psview.o group.o editview.o tag.o address.o animator.o wnetmodel.o nam_stream.o enetmodel.o testview.o parser.o trafficsource.o lossmodel.o queuehandle.o gen/version.o gen/nam_tcl.o -R/opt/local/lib -L/opt/local/lib -ltclcl -R/opt/local/lib -L/opt/local/lib -lotcl -R/opt/local/lib -L/opt/local/lib -ltk86 -R/opt/local/lib -L/opt/local/lib -ltcl86 -R/opt/local/lib -L/opt/local/lib -lz -L/opt/local/lib/amd64 -Wl,-R/opt/local/lib/amd64 -lX11 -lXss -lXext -Wl,-R/opt/local/lib -L/opt/local/lib -lXft -lfontconfig -lfontconfig -lpthread -ldl -lz -lsocket -lnsl -lpthread -lm -lXext -lX11 -lsocket -lnsl -lintl -ldl -lm -ldl