=> 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 clang++ -O2 -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 clang++ -O2 -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 clang++ -O2 -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 clang++ -O2 -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 clang++ -O2 -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 clang++ -O2 -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 clang++ -O2 -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 clang++ -O2 -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 clang++ -O2 -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 clang++ -O2 -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 clang++ -O2 -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 clang++ -O2 -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 clang++ -O2 -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 clang++ -O2 -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 clang++ -O2 -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 clang++ -O2 -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 In file included from misc.cc:20: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from strtoker.cc:20: In file included from ./strtoker.h:23: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from sockstuff.cc:20: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from nget.cc:22: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from dupe_file.cc:19: In file included from ./dupe_file.h:24: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from file_gz.cc:20: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from cache.cc:19: In file included from ./cache.h:22: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from decode.cc:20: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from sockpool.cc:19: In file included from ./sockpool.h:24: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. In file included from prot_nntp.cc:21: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ clang++ -O2 -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 In file included from file.cc:20: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from status.cc:19: In file included from ./status.h:23: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from texthandler.cc:20: In file included from ./texthandler.h:22: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from grouplist.cc:19: In file included from ./grouplist.h:22: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from termstuff.cc:19: In file included from ./termstuff.h:22: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from strreps.cc:19: In file included from ./strreps.h:25: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. clang++ -O2 -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 In file included from myregex.cc:20: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ 1 warning generated. In file included from cache.cc:19: In file included from ./cache.h:29: In file included from ./_hash_map.h:30: /usr/include/c++/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ clang++ -O2 -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 1 warning generated. clang++ -O2 -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 In file included from prot_nntp.cc:23: In file included from ./prot_nntp.h:26: In file included from ./cache.h:29: In file included from ./_hash_map.h:30: /usr/include/c++/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ In file included from cfgfile.cc:19: In file included from ./cfgfile.h:24: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ misc.cc:189:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *text_month[13]={"Jan", "Feb", "Mar", "Apr", ^ misc.cc:189:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *text_month[13]={"Jan", "Feb", "Mar", "Apr", ^ misc.cc:189:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *text_month[13]={"Jan", "Feb", "Mar", "Apr", ^ misc.cc:189:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *text_month[13]={"Jan", "Feb", "Mar", "Apr", ^ misc.cc:190:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "May", "Jun", "Jul", "Aug", ^ misc.cc:190:9: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "May", "Jun", "Jul", "Aug", ^ misc.cc:190:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "May", "Jun", "Jul", "Aug", ^ misc.cc:190:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "May", "Jun", "Jul", "Aug", ^ misc.cc:191:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Sep", "Oct", "Nov", "Dec" ^ misc.cc:191:9: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Sep", "Oct", "Nov", "Dec" ^ misc.cc:191:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Sep", "Oct", "Nov", "Dec" ^ misc.cc:191:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Sep", "Oct", "Nov", "Dec" ^ misc.cc:259:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tdt="xrfc*-date"; ^ misc.cc:271:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tdt="iso"; ^ misc.cc:288:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tdt="asctime-date"; ^ misc.cc:298:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tdt="ls-l-date"; ^ In file included from argparser.cc:19: In file included from ./argparser.h:23: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ misc.cc:318:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tdt="easy-date"; ^ misc.cc:343:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tdt="time_t-date"; ^ file.cc:239:22: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (m_name.find(':')<0){//this isn't quite right with ipv6 addrs, but its only for error messages so who cares ;) ~~~~~~~~~~~~~~~~^~ 1 warning generated. clang++ -O2 -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 nget.cc:49: In file included from ./prot_nntp.h:26: In file included from ./cache.h:29: In file included from ./_hash_map.h:30: /usr/include/c++/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ 1 warning generated. clang++ -O2 -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 clang++ -O2 -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 2 warnings generated. In file included from nrange.cc:19: In file included from ./nrange.h:23: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ clang++ -O2 -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 19 warnings generated. clang++ -O2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o par.o par.cc In file included from etree.cc:19: In file included from ./etree.h:24: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from log.cc:19: In file included from ./log.h:22: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from decode.cc:22: In file included from ./decode.h:29: In file included from ./cache.h:29: In file included from ./_hash_map.h:30: /usr/include/c++/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ In file included from texthandler.cc:20: In file included from ./texthandler.h:29: In file included from ./cache.h:29: In file included from ./_hash_map.h:30: /usr/include/c++/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ 1 warning generated. clang++ -O2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include -c -o knapsack.o knapsack.cc In file included from nget.cc:49: In file included from ./prot_nntp.h:26: ./cache.h:232:53: error: reference to 'hash' is ambiguous typedef hash_map, eqstr> t_message_state_list; ^ /usr/include/c++/memory:3150:29: note: candidate found by name lookup is 'std::__1::hash' template struct hash; ^ /usr/include/c++/ext/__hash:22:54: note: candidate found by name lookup is '__gnu_cxx::hash' template struct _LIBCPP_TYPE_VIS_ONLY hash { }; ^ In file included from nget.cc:49: In file included from ./prot_nntp.h:26: ./cache.h:232:58: error: expected expression typedef hash_map, eqstr> t_message_state_list; ^ ./cache.h:232:70: error: expected unqualified-id typedef hash_map, eqstr> t_message_state_list; ^ ./cache.h:246:3: error: unknown type name 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list states; ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ In file included from cache.cc:19: ./cache.h:232:53: error: reference to 'hash' is ambiguous typedef hash_map, eqstr> t_message_state_list; ^ /usr/include/c++/memory:3150:29: note: candidate found by name lookup is 'std::__1::hash' template struct hash; ^ /usr/include/c++/ext/__hash:22:54: note: candidate found by name lookup is '__gnu_cxx::hash' template struct _LIBCPP_TYPE_VIS_ONLY hash { }; ^ In file included from cache.cc:19: ./cache.h:232:58: error: expected expression typedef hash_map, eqstr> t_message_state_list; ^ ./cache.h:232:70: error: expected unqualified-id typedef hash_map, eqstr> t_message_state_list; ^ ./cache.h:248:4: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list::iterator i=states.find(mid.c_str()); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:246:3: error: unknown type name 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list states; ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ In file included from decode.cc:22: In file included from ./decode.h:29: ./cache.h:232:53: error: reference to 'hash' is ambiguous typedef hash_map, eqstr> t_message_state_list; ^ /usr/include/c++/memory:3150:29: note: candidate found by name lookup is 'std::__1::hash' template struct hash; ^ /usr/include/c++/ext/__hash:22:54: note: candidate found by name lookup is '__gnu_cxx::hash' template struct _LIBCPP_TYPE_VIS_ONLY hash { }; ^ In file included from decode.cc:22: In file included from ./decode.h:29: ./cache.h:232:58: error: expected expression typedef hash_map, eqstr> t_message_state_list; ^ ./cache.h:232:70: error: expected unqualified-id typedef hash_map, eqstr> t_message_state_list; ^ ./cache.h:248:4: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list::iterator i=states.find(mid.c_str()); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:248:26: error: no type named 'iterator' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:248:44: error: no member named 'find' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~ ^ ./cache.h:250:18: error: no member named 'end' in 'c_message_state' if (i!=states.end()){ ~~~~~~ ^ ./cache.h:255:12: error: no member named 'erase' in 'c_message_state' states.erase(i); ~~~~~~ ^ ./cache.h:258:11: error: no member named 'insert' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~ ^ ./cache.h:246:3: error: unknown type name 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list states; ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:248:26: error: no type named 'iterator' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:248:44: error: no member named 'find' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~ ^ ./cache.h:250:18: error: no member named 'end' in 'c_message_state' if (i!=states.end()){ ~~~~~~ ^ ./cache.h:255:12: error: no member named 'erase' in 'c_message_state' states.erase(i); ~~~~~~ ^ ./cache.h:258:11: error: no member named 'insert' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~ ^ ./cache.h:258:18: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:248:4: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list::iterator i=states.find(mid.c_str()); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:258:18: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:258:40: error: no member named 'value_type' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:262:15: error: no member named 'find' in 'c_message_state' if (states.find(mid.c_str())!=states.end()) ~~~~~~ ^ ./cache.h:262:41: error: no member named 'end' in 'c_message_state' if (states.find(mid.c_str())!=states.end()) ~~~~~~ ^ ./cache.h./cache.h::248270::2611:: errorerror: : no type named 'iterator' in 'c_message_state'no member named 'insert' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ./cache.h ~~~~~~~~~~~~~~~~~~~~~~^: In file included from 258 ~~~~~~ ^./cache.h: 40::248par.cc:: 44error19: : :In file included from ./par.hno member named 'value_type' in 'c_message_state'error : :no member named 'find' in 'c_message_state'23 : states.insert(t_message_state_list::value_type(s->messageid.c_str(),s));In file included from t_message_state_list::iterator i=states.find(mid.c_str()); ./config.h ~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~~ ^: 365 : ./_subconf.h:35./cache.h::17262:: 15warning:: ./cache.husing directive refers to implicitly-defined namespace 'std': 250 :error18: :no member named 'find' in 'c_message_state' error: no member named 'end' in 'c_message_state' using namespace std; ^ if (i!=states.end()){ if (states.find(mid.c_str())!=states.end()) ~~~~~~ ^ ~~~~~~ ^ ./cache.h:262:41: error: no member named 'end' in 'c_message_state'./cache.h :255:12: if (states.find(mid.c_str())!=states.end()) error ~~~~~~ ^: no member named 'erase' in 'c_message_state' states.erase(i); ~~~~~~ ^ ./cache.h:270:11: error: no member named 'insert' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~ ^ ./cache.h:258:11: error: no member named 'insert' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~ ^ In file included from texthandler.cc:20: In file included from ./texthandler.h:29: ./cache.h:232:53: error: reference to 'hash' is ambiguous typedef hash_map, eqstr> t_message_state_list; ^ /usr/include/c++/memory:3150:29: note: candidate found by name lookup is 'std::__1::hash' template struct hash; ^ /usr/include/c++/ext/__hash:22:54: note: candidate found by name lookup is '__gnu_cxx::hash' template struct _LIBCPP_TYPE_VIS_ONLY hash { }; ^ In file included from texthandler.cc:20: In file included from ./texthandler.h:29: ./cache.h:232:58: error: expected expression typedef hash_map, eqstr> t_message_state_list; ^ ./cache.h:232:70: error: expected unqualified-id typedef hash_map, eqstr> t_message_state_list; ^ grouplist.cc:333:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *sep=""; ^ grouplist.cc:336:9: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] sep=","; ^ grouplist.cc:342:15: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *sep=""; ^ grouplist.cc:345:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] sep=","; ^ In file included from knapsack.cc:19: In file included from ./knapsack.h:23: In file included from ./config.h:365: ./_subconf.h:35:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ ./cache.h:258:18: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:270:18: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:246:3: error: unknown type name 't_message_state_list'; did you mean 'c_message_state'?./cache.h :270:18: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list states; ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224: states.insert(t_message_state_list::value_type(s->messageid.c_str(),s));7 : ^~~~~~~~~~~~~~~~~~~~ note c_message_state: 'c_message_state' declared here./cache.h :224:7: note: 'c_message_state' declared hereclass c_message_state : public c_refcounted{ ^ class c_message_state : public c_refcounted{ ^ ./cache.h:258:40: error: no member named 'value_type' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:262:15: error: no member named 'find' in 'c_message_state' if (states.find(mid.c_str())!=states.end()) ~~~~~~ ^ ./cache.h:262:41: error: no member named 'end' in 'c_message_state' if (states.find(mid.c_str())!=states.end()) ~~~~~~ ^ ./cache.h:270:11: error: no member named 'insert' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~ ^ ./cache.h:270:40: error: no member named 'value_type' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:270:40: error: no member named 'value_type' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:248:4: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list::iterator i=states.find(mid.c_str()); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:270:18: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:270:40: error: no member named 'value_type' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:274:4: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list::iterator i=states.find(mid.c_str()); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: ./cache.hnote:: 248'c_message_state' declared here: 26: error: no type named 'iterator' in 'c_message_state' class c_message_state : public c_refcounted{ ^ t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:248:44: error: no member named 'find' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~ ^ ./cache.h:250:18: error: no member named 'end' in 'c_message_state' if (i!=states.end()){ ~~~~~~ ^ ./cache.h:255:12: error: no member named 'erase' in 'c_message_state' states.erase(i); ~~~~~~ ^ ./cache.h:258:11: error: no member named 'insert' in 'c_message_state' ./cache.h states.insert(t_message_state_list::value_type(s->messageid.c_str(),s));: 274 ~~~~~~ ^ :4: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list::iterator i=states.find(mid.c_str()); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:274:4: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list::iterator i=states.find(mid.c_str()); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:258:18: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:274:26: error: no type named 'iterator' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~~~~~~~~~~~~~~~~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] ./cache.h:274:26: error: no type named 'iterator' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~~~~~~~~~~~~~~~~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] ./cache.h:258:40: error: no member named 'value_type' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:262:15: error: no member named 'find' in 'c_message_state' if (states.find(mid.c_str())!=states.end()) ~~~~~~ ^ ./cache.h:262:41: error: no member named 'end' in 'c_message_state' if (states.find(mid.c_str())!=states.end()) ./cache.h ~~~~~~ ^: 274:26: error: no type named 'iterator' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~~~~~~~~~~~~~~~~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] ./cache.h:270:11: error: no member named 'insert' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~ ^ ./cache.h:270:18: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ 2 warnings and 20 errors generated. ./cache.h:270:40: error: no member named 'value_type' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~~~~~~~~~~~~~~~~~^ 1 warning generated. ./cache.h:274:4: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list::iterator i=states.find(mid.c_str()); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ : recipe for target 'decode.o' failed gmake: *** [decode.o] Error 1 gmake: *** Waiting for unfinished jobs.... ./cache.h:274:26: error: no type named 'iterator' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~~~~~~~~~~~~~~~~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. 2 warnings and 20 errors generated. : recipe for target 'texthandler.o' failed gmake: *** [texthandler.o] Error 1 2 warnings and 20 errors generated. : recipe for target 'nget.o' failed gmake: *** [nget.o] Error 1 : recipe for target 'cache.o' failed gmake: *** [cache.o] Error 1 In file included from prot_nntp.cc:23: In file included from ./prot_nntp.h:26: ./cache.h:232:53: error: reference to 'hash' is ambiguous typedef hash_map, eqstr> t_message_state_list; ^ /usr/include/c++/memory:3150:29: note: candidate found by name lookup is 'std::__1::hash' template struct hash; ^ /usr/include/c++/ext/__hash:22:54: note: candidate found by name lookup is '__gnu_cxx::hash' template struct _LIBCPP_TYPE_VIS_ONLY hash { }; ^ In file included from prot_nntp.cc:23: In file included from ./prot_nntp.h:26: ./cache.h:232:58: error: expected expression typedef hash_map, eqstr> t_message_state_list; ^ ./cache.h:232:70: error: expected unqualified-id typedef hash_map, eqstr> t_message_state_list; ^ In file included from etree.cc:20: In file included from ./cache.h:29: In file included from ./_hash_map.h:30: /usr/include/c++/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ ./cache.h:246:3: error: unknown type name 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list states; ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:248:4: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list::iterator i=states.find(mid.c_str()); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ 1 warning generated. ./cache.h:248:26: error: no type named 'iterator' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:248:44: error: no member named 'find' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~ ^ ./cache.h:250:18: error: no member named 'end' in 'c_message_state' if (i!=states.end()){ ~~~~~~ ^ ./cache.h:255:12: error: no member named 'erase' in 'c_message_state' states.erase(i); ~~~~~~ ^ ./cache.h:258:11: error: no member named 'insert' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~ ^ ./cache.h:258:18: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:258:40: error: no member named 'value_type' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:262:15: error: no member named 'find' in 'c_message_state' if (states.find(mid.c_str())!=states.end()) ~~~~~~ ^ ./cache.h:262:41: error: no member named 'end' in 'c_message_state' if (states.find(mid.c_str())!=states.end()) ~~~~~~ ^ ./cache.h:270:11: error: no member named 'insert' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~ ^ ./cache.h:270:18: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? 1 warning generated. states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:270:40: error: no member named 'value_type' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:274:4: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list::iterator i=states.find(mid.c_str()); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:274:26: error: no type named 'iterator' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~~~~~~~~~~~~~~~~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning generated. In file included from par.cc:19: In file included from ./par.h:28: In file included from ./cache.h:29: In file included from ./_hash_map.h:30: /usr/include/c++/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ 2 warnings and 20 errors generated. : recipe for target 'prot_nntp.o' failed gmake: *** [prot_nntp.o] Error 1 1 warning generated. 1 warning generated. In file included from etree.cc:20: ./cache.h:232:53: error: reference to 'hash' is ambiguous typedef hash_map, eqstr> t_message_state_list; ^ /usr/include/c++/memory:3150:29: note: candidate found by name lookup is 'std::__1::hash' template struct hash; ^ /usr/include/c++/ext/__hash:22:54: note: candidate found by name lookup is '__gnu_cxx::hash' template struct _LIBCPP_TYPE_VIS_ONLY hash { }; ^ In file included from etree.cc:20: ./cache.h:232:58: error: expected expression typedef hash_map, eqstr> t_message_state_list; ^ ./cache.h:232:70: error: expected unqualified-id typedef hash_map, eqstr> t_message_state_list; ^ server.cc:131:54: warning: magnitude of floating-point constant too large for type 'float'; maximum is 3.40282347E+38 [-Wliteral-range] cfg->get("penaltymultiplier",penaltymultiplier,1.0f,1e100f); ^ ./cache.h:246:3: error: unknown type name 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list states; ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:248:4: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list::iterator i=states.find(mid.c_str()); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:248:26: error: no type named 'iterator' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:248:44: error: no member named 'find' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~ ^ ./cache.h:250:18: error: no member named 'end' in 'c_message_state' if (i!=states.end()){ ~~~~~~ ^ ./cache.h:255:12: error: no member named 'erase' in 'c_message_state' states.erase(i); ~~~~~~ ^ ./cache.h:258:11: error: no member named 'insert' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~ ^ ./cache.h:258:18: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:258:40: error: no member named 'value_type' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:262:15: error: no member named 'find' in 'c_message_state' if (states.find(mid.c_str())!=states.end()) ~~~~~~ ^ ./cache.h:262:41: error: no member named 'end' in 'c_message_state' if (states.find(mid.c_str())!=states.end()) ~~~~~~ ^ ./cache.h:270:11: error: no member named 'insert' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~ ^ ./cache.h:270:18: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:270:40: error: no member named 'value_type' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:274:4: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list::iterator i=states.find(mid.c_str()); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:274:26: error: no type named 'iterator' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~~~~~~~~~~~~~~~~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. 1 warning generated. : recipe for target 'etree.o' failed gmake: *** [etree.o] Error 1 In file included from par.cc:19: In file included from ./par.h:28: ./cache.h:232:53: error: reference to 'hash' is ambiguous typedef hash_map, eqstr> t_message_state_list; ^ /usr/include/c++/memory:3150:29: note: candidate found by name lookup is 'std::__1::hash' template struct hash; ^ /usr/include/c++/ext/__hash:22:54: note: candidate found by name lookup is '__gnu_cxx::hash' template struct _LIBCPP_TYPE_VIS_ONLY hash { }; ^ In file included from par.cc:19: In file included from ./par.h:28: ./cache.h:232:58: error: expected expression typedef hash_map, eqstr> t_message_state_list; ^ ./cache.h:232:70: error: expected unqualified-id typedef hash_map, eqstr> t_message_state_list; ^ ./cache.h:246:3: error: unknown type name 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list states; ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:248:4: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list::iterator i=states.find(mid.c_str()); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:248:26: error: no type named 'iterator' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:248:44: error: no member named 'find' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~ ^ ./cache.h:250:18: error: no member named 'end' in 'c_message_state' if (i!=states.end()){ ~~~~~~ ^ ./cache.h:255:12: error: no member named 'erase' in 'c_message_state' states.erase(i); ~~~~~~ ^ ./cache.h:258:11: error: no member named 'insert' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~ ^ ./cache.h:258:18: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:258:40: error: no member named 'value_type' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:262:15: error: no member named 'find' in 'c_message_state' if (states.find(mid.c_str())!=states.end()) ~~~~~~ ^ ./cache.h:262:41: error: no member named 'end' in 'c_message_state' if (states.find(mid.c_str())!=states.end()) ~~~~~~ ^ ./cache.h:270:11: error: no member named 'insert' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~ ^ ./cache.h:270:18: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:270:40: error: no member named 'value_type' in 'c_message_state' states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); ~~~~~~~~~~~~~~~~~~~~~~^ ./cache.h:274:4: error: use of undeclared identifier 't_message_state_list'; did you mean 'c_message_state'? t_message_state_list::iterator i=states.find(mid.c_str()); ^~~~~~~~~~~~~~~~~~~~ c_message_state ./cache.h:224:7: note: 'c_message_state' declared here class c_message_state : public c_refcounted{ ^ ./cache.h:274:26: error: no type named 'iterator' in 'c_message_state' t_message_state_list::iterator i=states.find(mid.c_str()); ~~~~~~~~~~~~~~~~~~~~~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. : recipe for target 'par.o' failed gmake: *** [par.o] Error 1 5 warnings generated. 1 warning generated. *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/news/nget *** Error code 1 Stop. make: stopped in /data/pkgsrc/news/nget