=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for xmill-0.9.1nb3 c++ -o tmp/realmain.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/realmain.cpp c++ -o tmp/Options.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/Options.cpp c++ -o tmp/CompressMan.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/CompressMan.cpp c++ -o tmp/ContMan.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/ContMan.cpp c++ -o tmp/PathDict.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/PathDict.cpp c++ -o tmp/UnCompCont.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/UnCompCont.cpp c++ -o tmp/PathTree.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/PathTree.cpp c++ -o tmp/SAXClient.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/SAXClient.cpp ./XMill/Options.cpp: In function 'void ParseOptionFile(Session*, char*)': ./XMill/Options.cpp:149:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | throw new XMillException (XMILL_ERR_ARGUMENTS, "Only one option file allowed!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/Options.cpp:154:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 154 | XMillException *e = new XMillException (XMILL_ERR_FILENOTFOUND, "Could not open parameter file '"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/Options.cpp:156:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 156 | e->ErrorCont("'!"); | ^~~~ ./XMill/Options.cpp:165:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 165 | XMillException *e = new XMillException (XMILL_ERR_FILETOOLARGE, "Input file '"); | ^~~~~~~~~~~~~~ ./XMill/Options.cpp:167:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 167 | e->ErrorCont("' is too large!"); | ^~~~~~~~~~~~~~~~~ ./XMill/Options.cpp: In member function 'void Settings::InterpretOptionString(char*)': ./XMill/Options.cpp:195:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 195 | throw new XMillException (XMILL_ERR_ARGUMENTS, "Invalid filename for option '-f'"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/Options.cpp:222:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 222 | throw new XMillException (XMILL_ERR_ARGUMENTS, "Option '-m' must be followed be a number >=1"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/CompressMan.cpp: In member function 'UserCompressorFactory* BothCompressMan::FindCompressorFactory(char*, int)': ./XMill/CompressMan.cpp:68:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | XMillException *e = new XMillException(XMILL_ERR_NO_COMPRESSOR, "Could not find compressor '"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/CompressMan.cpp:70:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | e->ErrorCont("'!"); | ^~~~ ./XMill/Options.cpp:365:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 365 | XMillException *e = new XMillException (XMILL_ERR_ARGUMENTS, "Invalid option '-"); | ^~~~~~~~~~~~~~~~~~~ ./XMill/Options.cpp:367:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 367 | e->ErrorCont("'"); | ^~~ ./XMill/CompressMan.cpp: In function 'char* FindEndOfParamString(char*, char*)': ./XMill/CompressMan.cpp:143:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 143 | XMillException *e = new XMillException(XMILL_ERR_PARSE, "Could not find closing '\"' in string '"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./XMill/Output.hpp:47, from ./XMill/XMill.h:124, from ./XMill/stdafx.h:18, from ./XMill/UnCompCont.cpp:33: ./XMill/UnCompCont.cpp: In member function 'void UncompressContainer::UncompressLargeContainer(Input*)': ./XMill/Error.hpp:40:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | #define ExitCorruptFile() {throw new XMillException(XMILL_ERR_CORRUPT, "corrupt file");} | ^~~~~~~~~~~~~~ ./XMill/UnCompCont.cpp:83:7: note: in expansion of macro 'ExitCorruptFile' 83 | ExitCorruptFile(); | ^~~~~~~~~~~~~~~ ./XMill/CompressMan.cpp:145:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | e->ErrorCont("'"); | ^~~ ./XMill/CompressMan.cpp:162:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 162 | XMillException *e = new XMillException(XMILL_ERR_PARSE, "Could not find closing parenthesis for parameter '"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/CompressMan.cpp:164:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 164 | e->ErrorCont("'"); | ^~~ ./XMill/UnCompCont.cpp: In member function 'void UncompressContainerBlock::Load(Session*, SmallBlockUncompressor*)': ./XMill/Error.hpp:40:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | #define ExitCorruptFile() {throw new XMillException(XMILL_ERR_CORRUPT, "corrupt file");} | ^~~~~~~~~~~~~~ ./XMill/UnCompCont.cpp:161:7: note: in expansion of macro 'ExitCorruptFile' 161 | ExitCorruptFile(); | ^~~~~~~~~~~~~~~ ./XMill/CompressMan.cpp: In member function 'UserCompressor* CompressMan::CreateCompressorInstance(char*&, char*)': ./XMill/CompressMan.cpp:205:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 205 | XMillException *e = new XMillException(XMILL_ERR_FATAL, "Compressor '"); | ^~~~~~~~~~~~~~ ./XMill/CompressMan.cpp:207:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 207 | e->ErrorCont("' is not defined"); | ^~~~~~~~~~~~~~~~~~ ./XMill/CompressMan.cpp: In member function 'UserUncompressor* DecompressMan::CreateUncompressorInstance(char*&, char*)': ./XMill/CompressMan.cpp:267:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 267 | XMillException *e = new XMillException(XMILL_ERR_FATAL, "Compressor '"); | ^~~~~~~~~~~~~~ ./XMill/CompressMan.cpp:269:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 269 | e->ErrorCont("' is not defined"); | ^~~~~~~~~~~~~~~~~~ ./XMill/SAXClient.cpp: In member function 'void SAXClient::HandleEndLabel(char*, int, char)': ./XMill/SAXClient.cpp:196:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 196 | XMillException *e = new XMillException(XMILL_ERR_PARSE, "End label has trailing white spaces!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/SAXClient.cpp:207:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 207 | XMillException *e = new XMillException (XMILL_ERR_PARSE, "Unexpected end label '"); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/SAXClient.cpp:209:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 209 | e->ErrorCont("' !"); | ^~~~~ ./XMill/SAXClient.cpp:230:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 230 | XMillException *e = new XMillException(XMILL_ERR_PARSE, "End label '"); | ^~~~~~~~~~~~~ ./XMill/SAXClient.cpp:232:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 232 | e->ErrorCont("' does not match start label '"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/SAXClient.cpp:234:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 234 | e->ErrorCont("' !"); | ^~~~~ ./XMill/SAXClient.cpp:241:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 241 | XMillException *e = new XMillException(XMILL_ERR_PARSE, "Warning: End label '"); | ^~~~~~~~~~~~~~~~~~~~~~ ./XMill/SAXClient.cpp:246:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 246 | e->ErrorCont("'!\n => Additional end label inserted!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/SAXClient.cpp: In member function 'void Session::CompressTextItem(char*, int, int, int)': ./XMill/SAXClient.cpp:560:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 560 | throw new XMillException (XMILL_ERR_FATAL, "No automaton accepts current path !\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/realmain.cpp: In function 'int main(int, char**)': ./XMill/realmain.cpp:40:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | XMill *xmill = new XMill(""); | ^~ ./XMill/realmain.cpp:100:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | char *pathptr="//#"; | ^~~~~ ./XMill/realmain.cpp:102:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | pathptr="/"; | ^~~ ./XMill/realmain.cpp:122:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | throw new XMillException (XMILL_ERR_ARGUMENTS, "No input file specified! Specify '-c' to use stdin/stdout"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -o tmp/VPathExprMan.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/VPathExprMan.cpp c++ -o tmp/MemMan.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/MemMan.cpp c++ -o tmp/MemStreamer.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/MemStreamer.cpp c++ -o tmp/Error.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/Error.cpp c++ -o tmp/FSM.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/FSM.cpp c++ -o tmp/XMillData.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/XMillData.cpp c++ -o tmp/XMillAPI.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/xmillapi.cpp c++ -o tmp/File.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/File.cpp In file included from ./XMill/Output.hpp:47, from ./XMill/XMill.h:124, from ./XMill/stdafx.h:18, from ./XMill/MemMan.cpp:38: ./XMill/MemMan.cpp: In member function 'char* Session::AllocateBlockRecurs(unsigned char)': ./XMill/Error.hpp:39:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | #define ExitNoMem() {throw new XMillException(XMILL_ERR_NOMEM, "no memory left");} | ^~~~~~~~~~~~~~~~ ./XMill/MemMan.cpp:70:13: note: in expansion of macro 'ExitNoMem' 70 | ExitNoMem(); | ^~~~~~~~~ ./XMill/MemMan.cpp: In member function 'void Session::SetMemoryAllocationSize(long unsigned int)': ./XMill/Error.hpp:39:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | #define ExitNoMem() {throw new XMillException(XMILL_ERR_NOMEM, "no memory left");} | ^~~~~~~~~~~~~~~~ ./XMill/MemMan.cpp:163:10: note: in expansion of macro 'ExitNoMem' 163 | ExitNoMem(); | ^~~~~~~~~ ./XMill/MemMan.cpp: In member function 'unsigned char* Session::AllocateMemBlock(long unsigned int)': ./XMill/MemMan.cpp:187:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 187 | throw new XMillException(XMILL_ERR_FATAL, "memory fuckup"); | ^~~~~~~~~~~~~~~ ./XMill/VPathExprMan.cpp: In member function 'void VPathExpr::PathParseError(char*, char*)': ./XMill/VPathExprMan.cpp:66:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | XMillException *e = new XMillException(XMILL_ERR_PARSE, "Error while parsing path expression:\n\n "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/VPathExprMan.cpp:68:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | e->ErrorCont("\n"); | ^~~~ ./XMill/VPathExprMan.cpp:70:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | e->ErrorCont(" ",1); | ^~~ ./XMill/VPathExprMan.cpp:71:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | e->ErrorCont("^\n"); | ^~~~~ ./XMill/VPathExprMan.cpp: In member function 'void VPathExpr::ParseUserCompressorString(char*&, char*)': ./XMill/VPathExprMan.cpp:224:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 224 | XMillException *e = new XMillException(XMILL_ERR_PARSE, "Character ':' expected at '...'"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/VPathExprMan.cpp:228:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 228 | e->ErrorCont("...'"); | ^~~~~~ ./XMill/VPathExprMan.cpp: In member function 'void CompVPathExpr::CreateXPathEdge(char*, char*, FSM*, FSMState*, FSMState*, char)': ./XMill/VPathExprMan.cpp:245:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 245 | PathParseError("Unexpected character",from); | ^~~~~~~~~~~~~~~~~~~~~~ ./XMill/VPathExprMan.cpp:275:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 275 | PathParseError("Symbol '/' or '|' expected after '#'",from+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/VPathExprMan.cpp:289:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 289 | PathParseError("Symbol '/' or '|' expected after '*'",from+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/VPathExprMan.cpp: In member function 'void CompVPathExpr::ParseXPathItem(char*&, char*, FSM*, FSMState*, FSMState*, char)': ./XMill/VPathExprMan.cpp:318:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | PathParseError("Missing closed parenthesis ')'",startptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/VPathExprMan.cpp:378:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 378 | PathParseError("Invalid symbol",startptr); | ^~~~~~~~~~~~~~~~ ./XMill/VPathExprMan.cpp: In member function 'FSM* CompVPathExpr::ParseXPath(char*&, char*, char)': ./XMill/VPathExprMan.cpp:437:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 437 | PathParseError("Unexpected character",str); | ^~~~~~~~~~~~~~~~~~~~~~ ./XMill/VPathExprMan.cpp: In member function 'void CompVPathExpr::CreateFromString(char*&, char*)': ./XMill/VPathExprMan.cpp:482:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 482 | PathParseError("Character '/' expected",str); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/VPathExprMan.cpp:550:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 550 | char *textstring="t"; | ^~~ ./XMill/VPathExprMan.cpp: In member function 'void DecompVPathExpr::Load(SmallBlockUncompressor*)': ./XMill/VPathExprMan.cpp:689:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 689 | char *textstring="t"; | ^~~ ./XMill/MemStreamer.cpp: In member function 'void MemStreamer::ReleaseByteBlock(unsigned int)': ./XMill/MemStreamer.cpp:201:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 201 | throw new XMillException(XMILL_ERR_FATAL, "Fatal error in ReleaseBlock !\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -o tmp/Decode.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/Decode.cpp ./XMill/xmillapi.cpp: In member function 'void XMill::Compress(char*, int, char**, int*, int*)': ./XMill/xmillapi.cpp:167:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 167 | throw new XMillException(XMILL_ERR_PARSE, "There are unclosed XML tags!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/XMillData.cpp: In member function 'void Session::FSMInit()': ./XMill/XMillData.cpp:332:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 332 | elementpoundlabelid=globalclabeldict->CreateLabelOrAttrib("#",1,0); | ^~~ ./XMill/XMillData.cpp:333:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 333 | attribpoundlabelid=globalclabeldict->CreateLabelOrAttrib("#",1,1); | ^~~ ./XMill/xmillapi.cpp: In member function 'void XMill::InitCompress(char**, int*, int*)': ./XMill/xmillapi.cpp:175:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 175 | throw new XMillException(XMILL_ERR_NULL_POINTER, "Please supply a bytesread pointer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/xmillapi.cpp: In member function 'void XMill::CompressBlock(char*, int, int*)': ./XMill/xmillapi.cpp:191:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 191 | throw new XMillException(XMILL_ERR_NULL_POINTER, "Please supply an endmarker pointer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/xmillapi.cpp: In member function 'void XMill::InitDecompress(char**, int*, int*)': ./XMill/xmillapi.cpp:235:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 235 | throw new XMillException(XMILL_ERR_NULL_POINTER, "Please supply a bytesread pointer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/xmillapi.cpp:247:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 247 | throw new XMillException(XMILL_ERR_NULL_POINTER, "could not create MSXML instance"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/XMillData.cpp: In member function 'void Session::Init(int, int, int, char**)': ./XMill/XMillData.cpp:505:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 505 | char *pathptr="//#"; | ^~~~~ ./XMill/XMillData.cpp:507:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 507 | pathptr="/"; | ^~~ c++ -o tmp/LabelDict.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/LabelDict.cpp c++ -o tmp/CurPath.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/CurPath.cpp c++ -o tmp/XMLOutput.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/XMLOutput.cpp ./XMill/Decode.cpp: In member function 'void Session::DecodeTreeBlock(UncompressContainer*, UncompressContainer*, UncompressContainer*, XMLOutput*)': ./XMill/Decode.cpp:50:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | throw new XMillException(XMILL_ERR_DECOMPRESS, "Label ID too large"); | ^~~~~~~~~~~~~~~~~~~~ c++ -o tmp/XMLParse.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/XMLParse.cpp In file included from ./XMill/Output.hpp:47, from ./XMill/XMill.h:124, from ./XMill/stdafx.h:18, from ./XMill/LabelDict.cpp:35: ./XMill/LabelDict.cpp: In member function 'virtual void CompLabelDict::InitMore()': ./XMill/Error.hpp:39:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | #define ExitNoMem() {throw new XMillException(XMILL_ERR_NOMEM, "no memory left");} | ^~~~~~~~~~~~~~~~ ./XMill/LabelDict.cpp:140:5: note: in expansion of macro 'ExitNoMem' 140 | ExitNoMem(); | ^~~~~~~~~ c++ -o tmp/FileParser.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/FileParser.cpp ./XMill/LabelDict.cpp: In member function 'void DecompLabelDict::Load(SmallBlockUncompressor*)': ./XMill/Error.hpp:40:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | #define ExitCorruptFile() {throw new XMillException(XMILL_ERR_CORRUPT, "corrupt file");} | ^~~~~~~~~~~~~~ ./XMill/LabelDict.cpp:333:10: note: in expansion of macro 'ExitCorruptFile' 333 | ExitCorruptFile(); | ^~~~~~~~~~~~~~~ c++ -o tmp/MainFileActions.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/MainFileActions.cpp ./XMill/XMLOutput.cpp: In member function 'virtual void XMLStringOutput::startElement(char*, int)': ./XMill/XMLOutput.cpp:108:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 108 | throw new XMillException(XMILL_ERR_PARSE, "Cannot start element within attribute!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/XMLOutput.cpp: In member function 'virtual void XMLStringOutput::endElement(char*, int)': ./XMill/XMLOutput.cpp:153:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 153 | throw new XMillException (XMILL_ERR_PARSE, "Invalid end tag"); | ^~~~~~~~~~~~~~~~~ ./XMill/XMLOutput.cpp: In member function 'virtual void XMLStringOutput::startAttribute(char*, int)': ./XMill/XMLOutput.cpp:194:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 194 | throw new XMillException(XMILL_ERR_CORRUPT, "Cannot print attribute outside of start element!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/XMLOutput.cpp: In member function 'virtual void XMLStringOutput::endAttribute(char*, int)': ./XMill/XMLOutput.cpp:216:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 216 | throw new XMillException(XMILL_ERR_PARSE, "Could not finish attribute outside of start element!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -o tmp/Load.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/Load.cpp c++ -o tmp/Input.o -O2 -I/usr/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/Input.cpp ./XMill/XMLParse.cpp: In member function 'char XMLParse::ParseAttribs(char*)': ./XMill/XMLParse.cpp:142:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 142 | XMLParseError("Symbol '=' expected !"); | ^~~~~~~~~~~~~~~~~~~~~~~ ./XMill/XMLParse.cpp:185:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 185 | e->ErrorCont("'!"); | ^~~~ ./XMill/XMLParse.cpp: In member function 'char XMLParse::ParseLabel()': ./XMill/XMLParse.cpp:240:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 240 | XMillException *e = new XMillException(XMILL_ERR_PARSE, "Unfinished end label!"); | ^~~~~~~~~~~~~~~~~~~~~~~ ./XMill/XMLParse.cpp:291:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | XMLParseError("Symbol '/' in label must be followed by '>' !"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/XMLParse.cpp:316:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 316 | XMLParseError("Symbol '>' expected after '/' in tag!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/XMLParse.cpp: In member function 'char XMLParse::ParsePI()': ./XMill/XMLParse.cpp:330:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 330 | if(ReadStringUntil(&ptr,&len,"?>")) | ^~~~ ./XMill/XMLParse.cpp:337:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 337 | XMLParseError("Could not find closing '?>' for processing instruction in line %lu !",savelineno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/XMLParse.cpp: In member function 'char XMLParse::ParseCDATA()': ./XMill/XMLParse.cpp:353:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 353 | while(ReadStringUntil(&ptr,&len,"]]>")==0) | ^~~~~ ./XMill/XMLParse.cpp:359:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 359 | XMLParseError("Could not find closing ']]>' for CDATA section starting in line %lu !",savelineno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/XMLParse.cpp: In member function 'char XMLParse::ParseComment()': ./XMill/XMLParse.cpp:375:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 375 | while(ReadStringUntil(&ptr,&len,"-->")==0) | ^~~~~ ./XMill/XMLParse.cpp:382:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 382 | XMLParseError("Could not find closing '-->' for comment starting in line %lu !",savelineno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/XMLParse.cpp: In member function 'char XMLParse::ParseDOCTYPE()': ./XMill/XMLParse.cpp:536:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 536 | XMLParseError("Could not find closing ']>' for DOCTYPE section starting in line %lu !",savelineno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/XMLParse.cpp:554:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 554 | XMLParseError("Could not find closing ']>' for DOCTYPE section starting in line %lu !",savelineno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/XMLParse.cpp: In member function 'char XMLParse::DoParsing(SAXClient*)': ./XMill/XMLParse.cpp:604:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 604 | throw new XMillException(XMILL_ERR_PARSE, "Character '<' expected !"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./XMill/XMLParse.cpp:639:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 639 | XMillException *e = new XMillException(XMILL_ERR_PARSE, "Invalid tag '"); | ^~~~~~~~~~~~~~~ ./XMill/XMLParse.cpp:641:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 641 | e->ErrorCont("...' should probably be 'ErrorCont("...' should probably be 'ErrorCont("...' should probably be '