=> Bootstrap dependency digest>=20010302: found digest-20160304 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for nget-0.27.1nb4 c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o nget.o nget.cc c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o status.o status.cc In file included from /usr/include/g++/backward/hash_map:60:0, from _hash_map.h:28, from cache.h:29, from prot_nntp.h:26, from nget.cc:49: /usr/include/g++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^ nget.cc: In function 'void addoptions()': nget.cc:147:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("quiet",0,'q',0,"supress extra info"); ^ nget.cc:147:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:148:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("host",1,'h',"HOSTALIAS","force nntp host to use (must be configured in .ngetrc)"); ^ nget.cc:148:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:148:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:149:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("available",0,'a',0,"update/load available newsgroups list"); ^ nget.cc:149:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:150:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("quickavailable",0,'A',0,"load available newsgroups list"); ^ nget.cc:150:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:151:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("xavailable",0,'X',0,"search available newsgroups list without using cache files"); ^ nget.cc:151:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:152:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("group",1,'g',"GROUP(s)","update and use newsgroups (comma seperated)"); ^ nget.cc:152:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:152:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:153:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("quickgroup",1,'G',"GROUP(s)","use group(s) without checking for new headers"); ^ nget.cc:153:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:153:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:154:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("xgroup",1,'x',"GROUP(s)","use group(s) without using cache files (requires XPAT)"); ^ nget.cc:154:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:154:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:155:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("flushserver",1,'F',"HOSTALIAS","flush server from current group(s) or newsgroup list"); ^ nget.cc:155:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:155:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:156:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("expretrieve",1,'R',"EXPRESSION","retrieve files matching expression(see man page)"); ^ nget.cc:156:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:156:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:157:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("retrieve",1,'r',"REGEX","retrieve files matching regex"); ^ nget.cc:157:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:157:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:158:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("list",1,'@',"LISTFILE","read commands from listfile"); ^ nget.cc:158:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:158:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:159:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("path",1,'p',"DIRECTORY","path to store subsequent retrieves"); ^ nget.cc:159:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:159:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:160:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("temppath",1,'P',"DIRECTORY","path to store tempfiles"); ^ nget.cc:160:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:160:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:161:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("dupepath",1,OPT_DUPEPATH,"DIRECTORY","extra path to check for dupe files"); ^ nget.cc:161:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:161:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:162:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("makedirs",1,'m',"no,yes,ask,#","make dirs specified by -p and -P"); ^ nget.cc:162:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:162:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:165:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("testmode",0,'T',0,"test what would have been retrieved"); ^ nget.cc:165:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:166:129: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("test-multiserver",1,OPT_TEST_MULTI,"OPT","make testmode display per-server completion info (no(default)/long/short)"); ^ nget.cc:166:129: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:166:129: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:167:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("fullxover",1,OPT_FULLXOVER,"OPT","override fullxover setting (-1..2, default -1)"); ^ nget.cc:167:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:167:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:168:111: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("text",1,OPT_TEXT_HANDLING,"OPT","how to handle text posts (files(default)/mbox[:filename]/ignore)"); ^ nget.cc:168:111: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:168:111: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:169:140: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("save-binary-info",1,OPT_SAVE_TEXT_FOR_BINARIES,"OPT","save text files for posts that contained only binaries (yes/no(default))"); ^ nget.cc:169:140: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:169:140: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:170:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("tries",1,'t',"INT","set max retries (-1 unlimits, default 20)"); ^ nget.cc:170:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:170:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:171:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("delay",1,'s',"INT","seconds to wait between retry attempts(default 1)"); ^ nget.cc:171:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:171:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:172:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("timeout",1,OPT_TIMEOUT,"INT","seconds to wait for data from server(default 180)"); ^ nget.cc:172:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:172:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:173:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("limit",1,'l',"INT","min # of lines a 'file' must have(default 0)"); ^ nget.cc:173:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:173:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:174:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("maxlines",1,'L',"INT","max # of lines a 'file' must have(default -1)"); ^ nget.cc:174:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:174:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:175:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("incomplete",0,'i',0,"retrieve files with missing parts"); ^ nget.cc:175:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:176:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("complete",0,'I',0,"retrieve only files with all parts(default)"); ^ nget.cc:176:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:177:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("decode",0,OPT_DECODE,0,"decode and delete temp files (default)"); ^ nget.cc:177:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:178:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("keep",0,'k',0,"decode, but keep temp files"); ^ nget.cc:178:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:179:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("no-decode",0,'K',0,"keep temp files and don't even try to decode them"); ^ nget.cc:179:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:180:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("case",0,'c',0,"match casesensitively"); ^ nget.cc:180:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:181:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("nocase",0,'C',0,"match incasesensitively(default)"); ^ nget.cc:181:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:182:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("dupecheck",1,'d',"FLAGS","check to make sure you haven't already downloaded files(default -dfiM)"); ^ nget.cc:182:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:182:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:183:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("nodupecheck",0,'D',0,"don't check if you already have files(shortcut for -dFIM)"); ^ nget.cc:183:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:184:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("autopar",0,OPT_AUTOPAR,0,"only download as many par files as needed (default)"); ^ nget.cc:184:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:185:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("no-autopar",0,OPT_NOAUTOPAR,0,"disable special par file handling"); ^ nget.cc:185:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:186:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("mark",0,'M',0,"mark matching articles as retrieved"); ^ nget.cc:186:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:187:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("unmark",0,'U',0,"mark matching articles as not retrieved (implies -dI)"); ^ nget.cc:187:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:188:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("writelite",1,'w',"LITEFILE","write out a ngetlite list file"); ^ nget.cc:188:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:188:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:189:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("noconnect",0,'N',0,"don't connect, only try to decode what we have"); ^ nget.cc:189:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nget.cc:190:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] addoption("help",0,OPT_HELP,0,"this help"); ^ nget.cc:190:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] In file included from misc.h:36:0, from nget.cc:45: nget.cc: In function 'int do_args(int, const char**, nget_options, int)': nget.cc:562:54: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] PDEBUG(DEBUG_MIN,"testmode now %i",options.gflags&GETFILES_TESTMODE > 0); ^ log.h:32:63: note: in definition of macro 'PDEBUG_nnl' #define PDEBUG_nnl(d, a, args...) {if (debug>=d) printf(a, ## args);} ^ nget.cc:562:5: note: in expansion of macro 'PDEBUG' PDEBUG(DEBUG_MIN,"testmode now %i",options.gflags&GETFILES_TESTMODE > 0); ^ c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o prot_nntp.o prot_nntp.cc In file included from /usr/include/g++/backward/hash_map:60:0, from _hash_map.h:28, from cache.h:29, from prot_nntp.h:26, from prot_nntp.cc:23: /usr/include/g++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^ In file included from par2/par2cmdline.h:263:0, from par.h:29, from prot_nntp.cc:43: par2/par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PACKET_HEADER::length' leu64 length; // Length of entire packet including header ^ par2/par2fileformat.h:82:18: warning: ignoring packed attribute because of unpacked non-POD field 'leu32 FILEVERIFICATIONENTRY::crc' leu32 crc; ^ par2/par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' PACKET_HEADER header; ^ par2/par2fileformat.h:89:33: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries [0]' FILEVERIFICATIONENTRY entries[]; ^ par2/par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' PACKET_HEADER header; ^ par2/par2fileformat.h:106:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 FILEDESCRIPTIONPACKET::length' leu64 length; // Length of the file ^ par2/par2fileformat.h:129:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' PACKET_HEADER header; ^ par2/par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 MAINPACKET::blocksize' leu64 blocksize; ^ par2/par2fileformat.h:132:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu32 MAINPACKET::recoverablefilecount' leu32 recoverablefilecount; ^ par2/par2fileformat.h:143:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' PACKET_HEADER header; ^ par2/par2fileformat.h:153:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' PACKET_HEADER header; ^ par2/par2fileformat.h:155:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu32 RECOVERYBLOCKPACKET::exponent' leu32 exponent; ^ In file included from par2/par2cmdline.h:280:0, from par.h:29, from prot_nntp.cc:43: par2/verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': par2/verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return crc < r.crc || crc == r.crc && hash < r.hash; ^ par2/verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': par2/verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return crc > r.crc || crc == r.crc && hash > r.hash; ^ par2/verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': par2/verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (entry->crc < crc || entry->crc == crc && entry->hash < hash) ^ par2/verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) ^ par2/verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': par2/verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() ^ par2/verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() ^ In file included from par2/par2cmdline.h:280:0, from par.h:29, from prot_nntp.cc:43: par2/verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() ^ In file included from par2/par2cmdline.h:284:0, from par.h:29, from prot_nntp.cc:43: par2/par1fileformat.h: At global scope: par2/par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu32 PAR1FILEHEADER::fileversion' leu32 fileversion; ^ par2/par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu32 PAR1FILEHEADER::programversion' leu32 programversion; ^ par2/par1fileformat.h:45:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::volumenumber' leu64 volumenumber; ^ par2/par1fileformat.h:46:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::numberoffiles' leu64 numberoffiles; ^ par2/par1fileformat.h:47:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::filelistoffset' leu64 filelistoffset; ^ par2/par1fileformat.h:48:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::filelistsize' leu64 filelistsize; ^ par2/par1fileformat.h:49:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::dataoffset' leu64 dataoffset; ^ par2/par1fileformat.h:50:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::datasize' leu64 datasize; ^ par2/par1fileformat.h:55:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEENTRY::entrysize' leu64 entrysize; ^ par2/par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEENTRY::status' leu64 status; ^ par2/par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEENTRY::filesize' leu64 filesize; ^ par2/par1fileformat.h:60:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu16 PAR1FILEENTRY::name [0]' leu16 name[]; ^ prot_nntp.cc: In member function 'void c_prot_nntp::nntp_dogroupdescriptions(const char*)': prot_nntp.cc:218:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] desc = ""; ^ c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o decode.o decode.cc In file included from /usr/include/g++/backward/hash_map:60:0, from _hash_map.h:28, from cache.h:29, from decode.h:29, from decode.cc:22: /usr/include/g++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^ decode.cc: In member function 'int Decoder::decode(const nget_options&, const ptr&, dupe_file_checker&)': decode.cc:193:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] UURenameFile(uul,"noname"); ^ c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o texthandler.o texthandler.cc In file included from /usr/include/g++/backward/hash_map:60:0, from _hash_map.h:28, from cache.h:29, from texthandler.h:29, from texthandler.cc:20: /usr/include/g++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^ c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o sockpool.o sockpool.cc texthandler.cc: In function 'char* make_text_file_name(c_refcounted::ptr)': texthandler.cc:32:74: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=] asprintf(&nfn,"%s/%lu.%i.txt",fr->path.c_str(),fr->file->badate(),rand()); ^ c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o sockstuff.o sockstuff.cc c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o cache.o cache.cc In file included from /usr/include/g++/backward/hash_map:60:0, from _hash_map.h:28, from cache.h:29, from cache.cc:19: /usr/include/g++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^ c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o grouplist.o grouplist.cc In file included from par2/par2cmdline.h:263:0, from par.h:29, from cache.cc:32: par2/par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PACKET_HEADER::length' leu64 length; // Length of entire packet including header ^ par2/par2fileformat.h:82:18: warning: ignoring packed attribute because of unpacked non-POD field 'leu32 FILEVERIFICATIONENTRY::crc' leu32 crc; ^ par2/par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' PACKET_HEADER header; ^ par2/par2fileformat.h:89:33: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries [0]' FILEVERIFICATIONENTRY entries[]; ^ par2/par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' PACKET_HEADER header; ^ par2/par2fileformat.h:106:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 FILEDESCRIPTIONPACKET::length' leu64 length; // Length of the file ^ par2/par2fileformat.h:129:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' PACKET_HEADER header; ^ par2/par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 MAINPACKET::blocksize' leu64 blocksize; ^ par2/par2fileformat.h:132:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu32 MAINPACKET::recoverablefilecount' leu32 recoverablefilecount; ^ par2/par2fileformat.h:143:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' PACKET_HEADER header; ^ par2/par2fileformat.h:153:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' PACKET_HEADER header; ^ par2/par2fileformat.h:155:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu32 RECOVERYBLOCKPACKET::exponent' leu32 exponent; ^ In file included from par2/par2cmdline.h:280:0, from par.h:29, from cache.cc:32: par2/verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': par2/verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return crc < r.crc || crc == r.crc && hash < r.hash; ^ par2/verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': par2/verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return crc > r.crc || crc == r.crc && hash > r.hash; ^ par2/verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': par2/verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (entry->crc < crc || entry->crc == crc && entry->hash < hash) ^ par2/verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) ^ par2/verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': par2/verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() ^ par2/verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() ^ In file included from par2/par2cmdline.h:280:0, from par.h:29, from cache.cc:32: par2/verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() ^ In file included from par2/par2cmdline.h:284:0, from par.h:29, from cache.cc:32: par2/par1fileformat.h: At global scope: par2/par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu32 PAR1FILEHEADER::fileversion' leu32 fileversion; ^ par2/par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu32 PAR1FILEHEADER::programversion' leu32 programversion; ^ par2/par1fileformat.h:45:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::volumenumber' leu64 volumenumber; ^ par2/par1fileformat.h:46:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::numberoffiles' leu64 numberoffiles; ^ par2/par1fileformat.h:47:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::filelistoffset' leu64 filelistoffset; ^ par2/par1fileformat.h:48:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::filelistsize' leu64 filelistsize; ^ par2/par1fileformat.h:49:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::dataoffset' leu64 dataoffset; ^ par2/par1fileformat.h:50:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::datasize' leu64 datasize; ^ par2/par1fileformat.h:55:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEENTRY::entrysize' leu64 entrysize; ^ par2/par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEENTRY::status' leu64 status; ^ par2/par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEENTRY::filesize' leu64 filesize; ^ par2/par1fileformat.h:60:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu16 PAR1FILEENTRY::name [0]' leu16 name[]; ^ grouplist.cc: In member function 'void c_nntp_grouplist::save()': grouplist.cc:319:35: warning: operation on 'f' may be undefined [-Wsequence-point] c_file *f=f=dofileopen(tmpfn,"wb"); ^ grouplist.cc:333:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *sep=""; ^ grouplist.cc:336:8: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sep=","; ^ grouplist.cc:342:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *sep=""; ^ grouplist.cc:345:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sep=","; ^ cache.cc: In destructor 'virtual c_nntp_cache::~c_nntp_cache()': cache.cc:754:138: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type 'time_t {aka long long int}' [-Wformat=] f->putf("%i\t%lu\t%s\t%s\t%i\t%i\t%lu\n",nf->req,nf->flags,nf->subject.c_str(),nf->author.c_str(),nf->partoff,nf->tailoff,nf->update);//FILE_MODE ^ cache.cc:763:73: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=] f->putf("%i\t%lu\t%s\n",np->partnum,np->date,np->messageid.c_str());//PART_MODE ^ cache.cc: In member function 'void c_mid_info::save()': cache.cc:1055:80: warning: format '%li' expects argument of type 'long int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=] f->putf("%s %li %li\n",ms->messageid.c_str(),ms->date_added,ms->date_removed); ^ cache.cc:1055:80: warning: format '%li' expects argument of type 'long int', but argument 5 has type 'time_t {aka long long int}' [-Wformat=] c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o dupe_file.o dupe_file.cc c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o file.o file.cc c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o file_gz.o file_gz.cc c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o termstuff.o termstuff.cc c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o path.o path.cc c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o misc.o misc.cc misc.cc:192:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ misc.cc:192:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] misc.cc:192:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] misc.cc:192:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] misc.cc:192:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] misc.cc:192:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] misc.cc:192:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] misc.cc:192:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] misc.cc:192:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] misc.cc:192:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] misc.cc:192:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] misc.cc:192:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] misc.cc: In function 'time_t decode_textdate(const char*, bool)': misc.cc:259:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tdt="xrfc*-date"; ^ misc.cc:271:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tdt="iso"; ^ misc.cc:288:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tdt="asctime-date"; ^ misc.cc:298:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tdt="ls-l-date"; ^ misc.cc:318:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tdt="easy-date"; ^ misc.cc:343:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tdt="time_t-date"; ^ c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o strtoker.o strtoker.cc c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o strreps.o strreps.cc c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o myregex.o myregex.cc c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o cfgfile.o cfgfile.cc c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o argparser.o argparser.cc c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o etree.o etree.cc In file included from /usr/include/g++/backward/hash_map:60:0, from _hash_map.h:28, from cache.h:29, from etree.cc:20: /usr/include/g++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^ c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o nrange.o nrange.cc etree.cc: In instantiation of 'pred* comparison(const string&, getterT, T2) [with ClassType = const c_nntp_file; getterT = long unsigned int (c_nntp_file::*)() const; T2 = long unsigned int; std::string = std::basic_string]': etree.cc:200:81: required from here etree.cc:87:73: error: no matching function for call to 'new_comparison(long unsigned int (c_nntp_file::*&)() const, long unsigned int&)' if (opstr.compare("==")==0) return new_comparison(get, v); ^ etree.cc:78:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType ClassType::*, RetType) pred *new_comparison(RetType (ClassType::*member), RetType v){ ^ etree.cc:78:18: note: template argument deduction/substitution failed: etree.cc:87:73: note: deduced conflicting types for parameter 'RetType' ('long unsigned int() const' and 'long unsigned int') if (opstr.compare("==")==0) return new_comparison(get, v); ^ etree.cc:82:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType (ClassType::*)(), RetType) pred *new_comparison(RetType (ClassType::*memberf)(void), RetType v){ ^ etree.cc:82:18: note: template argument deduction/substitution failed: etree.cc:87:73: note: types 'RetType (c_nntp_file::)()' and 'long unsigned int (c_nntp_file::)() const' have incompatible cv-qualifiers if (opstr.compare("==")==0) return new_comparison(get, v); ^ etree.cc:88:73: error: no matching function for call to 'new_comparison(long unsigned int (c_nntp_file::*&)() const, long unsigned int&)' else if (opstr.compare("!=")==0) return new_comparison(get, v); ^ etree.cc:78:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType ClassType::*, RetType) pred *new_comparison(RetType (ClassType::*member), RetType v){ ^ etree.cc:78:18: note: template argument deduction/substitution failed: etree.cc:88:73: note: deduced conflicting types for parameter 'RetType' ('long unsigned int() const' and 'long unsigned int') else if (opstr.compare("!=")==0) return new_comparison(get, v); ^ etree.cc:82:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType (ClassType::*)(), RetType) pred *new_comparison(RetType (ClassType::*memberf)(void), RetType v){ ^ etree.cc:82:18: note: template argument deduction/substitution failed: etree.cc:88:73: note: types 'RetType (c_nntp_file::)()' and 'long unsigned int (c_nntp_file::)() const' have incompatible cv-qualifiers else if (opstr.compare("!=")==0) return new_comparison(get, v); ^ etree.cc:89:73: error: no matching function for call to 'new_comparison(long unsigned int (c_nntp_file::*&)() const, long unsigned int&)' else if (opstr.compare("<")==0) return new_comparison(get, v); ^ etree.cc:78:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType ClassType::*, RetType) pred *new_comparison(RetType (ClassType::*member), RetType v){ ^ etree.cc:78:18: note: template argument deduction/substitution failed: etree.cc:89:73: note: deduced conflicting types for parameter 'RetType' ('long unsigned int() const' and 'long unsigned int') else if (opstr.compare("<")==0) return new_comparison(get, v); ^ etree.cc:82:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType (ClassType::*)(), RetType) pred *new_comparison(RetType (ClassType::*memberf)(void), RetType v){ ^ etree.cc:82:18: note: template argument deduction/substitution failed: etree.cc:89:73: note: types 'RetType (c_nntp_file::)()' and 'long unsigned int (c_nntp_file::)() const' have incompatible cv-qualifiers else if (opstr.compare("<")==0) return new_comparison(get, v); ^ etree.cc:90:73: error: no matching function for call to 'new_comparison(long unsigned int (c_nntp_file::*&)() const, long unsigned int&)' else if (opstr.compare("<=")==0) return new_comparison(get, v); ^ etree.cc:78:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType ClassType::*, RetType) pred *new_comparison(RetType (ClassType::*member), RetType v){ ^ etree.cc:78:18: note: template argument deduction/substitution failed: etree.cc:90:73: note: deduced conflicting types for parameter 'RetType' ('long unsigned int() const' and 'long unsigned int') else if (opstr.compare("<=")==0) return new_comparison(get, v); ^ etree.cc:82:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType (ClassType::*)(), RetType) pred *new_comparison(RetType (ClassType::*memberf)(void), RetType v){ ^ etree.cc:82:18: note: template argument deduction/substitution failed: etree.cc:90:73: note: types 'RetType (c_nntp_file::)()' and 'long unsigned int (c_nntp_file::)() const' have incompatible cv-qualifiers else if (opstr.compare("<=")==0) return new_comparison(get, v); ^ etree.cc:91:73: error: no matching function for call to 'new_comparison(long unsigned int (c_nntp_file::*&)() const, long unsigned int&)' else if (opstr.compare(">")==0) return new_comparison(get, v); ^ etree.cc:78:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType ClassType::*, RetType) pred *new_comparison(RetType (ClassType::*member), RetType v){ ^ etree.cc:78:18: note: template argument deduction/substitution failed: etree.cc:91:73: note: deduced conflicting types for parameter 'RetType' ('long unsigned int() const' and 'long unsigned int') else if (opstr.compare(">")==0) return new_comparison(get, v); ^ etree.cc:82:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType (ClassType::*)(), RetType) pred *new_comparison(RetType (ClassType::*memberf)(void), RetType v){ ^ etree.cc:82:18: note: template argument deduction/substitution failed: etree.cc:91:73: note: types 'RetType (c_nntp_file::)()' and 'long unsigned int (c_nntp_file::)() const' have incompatible cv-qualifiers else if (opstr.compare(">")==0) return new_comparison(get, v); ^ etree.cc:92:73: error: no matching function for call to 'new_comparison(long unsigned int (c_nntp_file::*&)() const, long unsigned int&)' else if (opstr.compare(">=")==0) return new_comparison(get, v); ^ etree.cc:78:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType ClassType::*, RetType) pred *new_comparison(RetType (ClassType::*member), RetType v){ ^ etree.cc:78:18: note: template argument deduction/substitution failed: etree.cc:92:73: note: deduced conflicting types for parameter 'RetType' ('long unsigned int() const' and 'long unsigned int') else if (opstr.compare(">=")==0) return new_comparison(get, v); ^ etree.cc:82:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType (ClassType::*)(), RetType) pred *new_comparison(RetType (ClassType::*memberf)(void), RetType v){ ^ etree.cc:82:18: note: template argument deduction/substitution failed: etree.cc:92:73: note: types 'RetType (c_nntp_file::)()' and 'long unsigned int (c_nntp_file::)() const' have incompatible cv-qualifiers else if (opstr.compare(">=")==0) return new_comparison(get, v); ^ etree.cc: In instantiation of 'pred* comparison(const string&, getterT, T2) [with ClassType = const c_nntp_file; getterT = long long int (c_nntp_file::*)() const; T2 = long long int; std::string = std::basic_string]': etree.cc:208:92: required from here etree.cc:87:73: error: no matching function for call to 'new_comparison(long long int (c_nntp_file::*&)() const, long long int&)' if (opstr.compare("==")==0) return new_comparison(get, v); ^ etree.cc:78:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType ClassType::*, RetType) pred *new_comparison(RetType (ClassType::*member), RetType v){ ^ etree.cc:78:18: note: template argument deduction/substitution failed: etree.cc:87:73: note: deduced conflicting types for parameter 'RetType' ('long long int() const' and 'long long int') if (opstr.compare("==")==0) return new_comparison(get, v); ^ etree.cc:82:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType (ClassType::*)(), RetType) pred *new_comparison(RetType (ClassType::*memberf)(void), RetType v){ ^ etree.cc:82:18: note: template argument deduction/substitution failed: etree.cc:87:73: note: types 'RetType (c_nntp_file::)()' and 'long long int (c_nntp_file::)() const' have incompatible cv-qualifiers if (opstr.compare("==")==0) return new_comparison(get, v); ^ etree.cc:88:73: error: no matching function for call to 'new_comparison(long long int (c_nntp_file::*&)() const, long long int&)' else if (opstr.compare("!=")==0) return new_comparison(get, v); ^ etree.cc:78:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType ClassType::*, RetType) pred *new_comparison(RetType (ClassType::*member), RetType v){ ^ etree.cc:78:18: note: template argument deduction/substitution failed: etree.cc:88:73: note: deduced conflicting types for parameter 'RetType' ('long long int() const' and 'long long int') else if (opstr.compare("!=")==0) return new_comparison(get, v); ^ etree.cc:82:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType (ClassType::*)(), RetType) pred *new_comparison(RetType (ClassType::*memberf)(void), RetType v){ ^ etree.cc:82:18: note: template argument deduction/substitution failed: etree.cc:88:73: note: types 'RetType (c_nntp_file::)()' and 'long long int (c_nntp_file::)() const' have incompatible cv-qualifiers else if (opstr.compare("!=")==0) return new_comparison(get, v); ^ etree.cc:89:73: error: no matching function for call to 'new_comparison(long long int (c_nntp_file::*&)() const, long long int&)' else if (opstr.compare("<")==0) return new_comparison(get, v); ^ etree.cc:78:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType ClassType::*, RetType) pred *new_comparison(RetType (ClassType::*member), RetType v){ ^ etree.cc:78:18: note: template argument deduction/substitution failed: etree.cc:89:73: note: deduced conflicting types for parameter 'RetType' ('long long int() const' and 'long long int') else if (opstr.compare("<")==0) return new_comparison(get, v); ^ etree.cc:82:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType (ClassType::*)(), RetType) pred *new_comparison(RetType (ClassType::*memberf)(void), RetType v){ ^ etree.cc:82:18: note: template argument deduction/substitution failed: etree.cc:89:73: note: types 'RetType (c_nntp_file::)()' and 'long long int (c_nntp_file::)() const' have incompatible cv-qualifiers else if (opstr.compare("<")==0) return new_comparison(get, v); ^ etree.cc:90:73: error: no matching function for call to 'new_comparison(long long int (c_nntp_file::*&)() const, long long int&)' else if (opstr.compare("<=")==0) return new_comparison(get, v); ^ etree.cc:78:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType ClassType::*, RetType) pred *new_comparison(RetType (ClassType::*member), RetType v){ ^ etree.cc:78:18: note: template argument deduction/substitution failed: etree.cc:90:73: note: deduced conflicting types for parameter 'RetType' ('long long int() const' and 'long long int') else if (opstr.compare("<=")==0) return new_comparison(get, v); ^ etree.cc:82:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType (ClassType::*)(), RetType) pred *new_comparison(RetType (ClassType::*memberf)(void), RetType v){ ^ etree.cc:82:18: note: template argument deduction/substitution failed: etree.cc:90:73: note: types 'RetType (c_nntp_file::)()' and 'long long int (c_nntp_file::)() const' have incompatible cv-qualifiers else if (opstr.compare("<=")==0) return new_comparison(get, v); ^ etree.cc:91:73: error: no matching function for call to 'new_comparison(long long int (c_nntp_file::*&)() const, long long int&)' else if (opstr.compare(">")==0) return new_comparison(get, v); ^ etree.cc:78:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType ClassType::*, RetType) pred *new_comparison(RetType (ClassType::*member), RetType v){ ^ etree.cc:78:18: note: template argument deduction/substitution failed: etree.cc:91:73: note: deduced conflicting types for parameter 'RetType' ('long long int() const' and 'long long int') else if (opstr.compare(">")==0) return new_comparison(get, v); ^ etree.cc:82:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType (ClassType::*)(), RetType) pred *new_comparison(RetType (ClassType::*memberf)(void), RetType v){ ^ etree.cc:82:18: note: template argument deduction/substitution failed: etree.cc:91:73: note: types 'RetType (c_nntp_file::)()' and 'long long int (c_nntp_file::)() const' have incompatible cv-qualifiers else if (opstr.compare(">")==0) return new_comparison(get, v); ^ etree.cc:92:73: error: no matching function for call to 'new_comparison(long long int (c_nntp_file::*&)() const, long long int&)' else if (opstr.compare(">=")==0) return new_comparison(get, v); ^ etree.cc:78:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType ClassType::*, RetType) pred *new_comparison(RetType (ClassType::*member), RetType v){ ^ etree.cc:78:18: note: template argument deduction/substitution failed: etree.cc:92:73: note: deduced conflicting types for parameter 'RetType' ('long long int() const' and 'long long int') else if (opstr.compare(">=")==0) return new_comparison(get, v); ^ etree.cc:82:18: note: candidate: template class Op, class ClassType, class RetType> pred* new_comparison(RetType (ClassType::*)(), RetType) pred *new_comparison(RetType (ClassType::*memberf)(void), RetType v){ ^ etree.cc:82:18: note: template argument deduction/substitution failed: etree.cc:92:73: note: types 'RetType (c_nntp_file::)()' and 'long long int (c_nntp_file::)() const' have incompatible cv-qualifiers else if (opstr.compare(">=")==0) return new_comparison(get, v); ^ c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o log.o log.cc In file included from etree.cc:26:0: getter.h: In instantiation of 'class MemGetter() const, const c_nntp_file>': etree.cc:101:48: required from 'class Comparison_re() const, const c_nntp_file>' etree.cc:112:84: required from 'pred* new_comparison_re(RetType ClassType::*, const char*, int) [with Op = Op_eq; ClassType = const c_nntp_file; RetType = std::basic_string() const]' etree.cc:122:44: required from 'pred* comparison_re(const string&, getterT, const char*, int) [with ClassType = const c_nntp_file; getterT = std::basic_string (c_nntp_file::*)() const; std::string = std::basic_string]' etree.cc:198:87: required from here getter.h:32:5: error: function returning a function T operator()(ClassType *o) const {return o->*member;} ^ c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o server.o server.cc etree.cc: In instantiation of 'bool Comparison_re::operator()(ClassType*) const [with Op = Op_ne; Getter = MemGetter; T = std::basic_string() const; ClassType = const c_nntp_file]': etree.cc:258:1: required from here etree.cc:107:27: error: no match for call to '(const getterT {aka const MemGetter() const, const c_nntp_file>}) (const c_nntp_file*&)' return op(getter(f), re); ^ gmake: *** [: etree.o] Error 1 gmake: *** Waiting for unfinished jobs.... server.cc:131:2: warning: floating constant exceeds range of 'float' [-Woverflow] cfg->get("penaltymultiplier",penaltymultiplier,1.0f,1e100f); ^ In file included from file.h:34:0, from cfgfile.h:28, from server.h:29, from server.cc:20: server.cc: In member function 'bool c_nget_config::penalize(c_refcounted::ptr) const': log.h:32:67: warning: format '%li' expects argument of type 'long int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=] #define PDEBUG_nnl(d, a, args...) {if (debug>=d) printf(a, ## args);} ^ log.h:35:31: note: in expansion of macro 'PDEBUG_nnl' #define PDEBUG(d, a, args...) PDEBUG_nnl(d, a "\n" , ## args) ^ server.cc:39:2: note: in expansion of macro 'PDEBUG' PDEBUG(DEBUG_MED, "penalized %s: count %i, last %li, time %li", server->alias.c_str(), server->penalty_count, server->last_penalty, server->penalty_time); ^ log.h:32:67: warning: format '%li' expects argument of type 'long int', but argument 5 has type 'time_t {aka long long int}' [-Wformat=] #define PDEBUG_nnl(d, a, args...) {if (debug>=d) printf(a, ## args);} ^ log.h:35:31: note: in expansion of macro 'PDEBUG_nnl' #define PDEBUG(d, a, args...) PDEBUG_nnl(d, a "\n" , ## args) ^ server.cc:39:2: note: in expansion of macro 'PDEBUG' PDEBUG(DEBUG_MED, "penalized %s: count %i, last %li, time %li", server->alias.c_str(), server->penalty_count, server->last_penalty, server->penalty_time); ^ log.h:32:67: warning: format '%li' expects argument of type 'long int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=] #define PDEBUG_nnl(d, a, args...) {if (debug>=d) printf(a, ## args);} ^ log.h:35:31: note: in expansion of macro 'PDEBUG_nnl' #define PDEBUG(d, a, args...) PDEBUG_nnl(d, a "\n" , ## args) ^ server.cc:39:2: note: in expansion of macro 'PDEBUG' PDEBUG(DEBUG_MED, "penalized %s: count %i, last %li, time %li", server->alias.c_str(), server->penalty_count, server->last_penalty, server->penalty_time); ^ log.h:32:67: warning: format '%li' expects argument of type 'long int', but argument 5 has type 'time_t {aka long long int}' [-Wformat=] #define PDEBUG_nnl(d, a, args...) {if (debug>=d) printf(a, ## args);} ^ log.h:35:31: note: in expansion of macro 'PDEBUG_nnl' #define PDEBUG(d, a, args...) PDEBUG_nnl(d, a "\n" , ## args) ^ server.cc:39:2: note: in expansion of macro 'PDEBUG' PDEBUG(DEBUG_MED, "penalized %s: count %i, last %li, time %li", server->alias.c_str(), server->penalty_count, server->last_penalty, server->penalty_time); ^ *** Error code 2 Stop. make[1]: stopped in /bulk-data/pkgsrc/news/nget *** Error code 1 Stop. make: stopped in /bulk-data/pkgsrc/news/nget