=> 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 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 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 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; ^ 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 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 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; ^ 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 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 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 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; ^ 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 strreps.o strreps.cc 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 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 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; ^ 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 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 ^ 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 cfgfile.o cfgfile.cc 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 argparser.o argparser.cc 1 warning generated. 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 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; ^ 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 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; ^ 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 log.o log.cc 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; ^ misc.cc:189:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *text_month[13]={"Jan", "Feb", "Mar", "Apr", ^ misc.cc:189:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *text_month[13]={"Jan", "Feb", "Mar", "Apr", ^ misc.cc:189:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *text_month[13]={"Jan", "Feb", "Mar", "Apr", ^ misc.cc:189:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *text_month[13]={"Jan", "Feb", "Mar", "Apr", ^ misc.cc:190:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "May", "Jun", "Jul", "Aug", ^ misc.cc:190:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "May", "Jun", "Jul", "Aug", ^ misc.cc:190:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "May", "Jun", "Jul", "Aug", ^ misc.cc:190:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "May", "Jun", "Jul", "Aug", ^ misc.cc:191:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Sep", "Oct", "Nov", "Dec" ^ misc.cc:191:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Sep", "Oct", "Nov", "Dec" ^ misc.cc:191:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Sep", "Oct", "Nov", "Dec" ^ misc.cc:191:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Sep", "Oct", "Nov", "Dec" ^ misc.cc:244:71: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] c_regex_r xrfc("^[A-Za-z, ]*([0-9]{1,2})[- ](.{3,9})[- ]([0-9]{2,4}) "TIME_REG2" *(.*)$"), ^ misc.cc:245:46: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] xasctime("^[A-Za-z,]* *(...) +([0-9]{1,2}) "TIME_REG2" ([0-9]{2,4}) *(.*)$"), ^ misc.cc:247:58: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] xeasy("^([0-9]{1,4})[-/]([0-9]{1,2})[-/]([0-9]{2,4})( *"TIME_REG2" *(.*))?$"), ^ misc.cc:259:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tdt="xrfc*-date"; ^ misc.cc:271:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tdt="iso"; ^ misc.cc:288:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tdt="asctime-date"; ^ misc.cc:298:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tdt="ls-l-date"; ^ misc.cc:318:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tdt="easy-date"; ^ misc.cc:343:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tdt="time_t-date"; ^ 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 ^ 19 warnings and 3 errors generated. 1 warning generated. 1 warning generated. gmake: *** [: misc.o] Error 1 gmake: *** Waiting for unfinished jobs.... 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 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 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 ^ grouplist.cc:333:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *sep=""; ^ grouplist.cc:336:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] sep=","; ^ grouplist.cc:342:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *sep=""; ^ grouplist.cc:345:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] sep=","; ^ 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 ^ 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++/functional:2471:30: note: candidate found by name lookup is 'std::__1::hash' struct _LIBCPP_TYPE_VIS_ONLY 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; ^ ./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{ ^ 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++/functional:2471:30: note: candidate found by name lookup is 'std::__1::hash' struct _LIBCPP_TYPE_VIS_ONLY 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: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: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: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: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: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: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: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{ ^ In file included from texthandler.ccIn file included from :nget.cc20:: 49: In file included from In file included from ./prot_nntp.h./texthandler.h::2629: : ./cache.h:./cache.h232::53232:: 53error:: reference to 'hash' is ambiguouserror : reference to 'hash' is ambiguous typedef hash_map, eqstr> t_message_state_list; ^ typedef hash_map, eqstr> t_message_state_list;/usr/include/c++/functional : ^2471 :/usr/include/c++/functional30:: note2471: :candidate found by name lookup is 'std::__1::hash'30 :struct _LIBCPP_TYPE_VIS_ONLY hash ^note : /usr/include/c++/ext/__hash:candidate found by name lookup is 'std::__1::hash'22: 54: struct _LIBCPP_TYPE_VIS_ONLY hashnote: candidate found by name lookup is '__gnu_cxx::hash' ^ /usr/include/c++/ext/__hashtemplate struct _LIBCPP_TYPE_VIS_ONLY hash { };: 22 ^: 54In file included from :nget.cc :49note: : In file included from candidate found by name lookup is '__gnu_cxx::hash'./prot_nntp.h: 26: ./cache.h:232template struct _LIBCPP_TYPE_VIS_ONLY hash { };: 58: ^ error: expected expression In file included from texthandler.cc:20: typedef hash_map, eqstr> t_message_state_list;In file included from ^ ./texthandler.h./cache.h::23229:70:: ./cache.herror:: 232:expected unqualified-id58 : error: expected expression typedef hash_map, eqstr> t_message_state_list; ^ 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:2701:40 warning: generated . 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: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: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: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: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: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: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)); ~~~~~~ ^ 2 warnings and 20 errors generated. ./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)); ~~~~~~~~~~~~~~~~~~~~~~^ ./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: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=] gmake: *** [: prot_nntp.o] Error 1 ./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{ ^ 1 warning generated. gmake: *** [: decode.o] Error 1 ./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{ ^ 2 warnings and 20 errors generated. ./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. gmake: *** [: nget.o] Error 1 gmake: *** [: texthandler.o] Error 1 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++/functional:2471:30: note: candidate found by name lookup is 'std::__1::hash' struct _LIBCPP_TYPE_VIS_ONLY 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: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 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: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=] 1 warning generated. 2 warnings and 20 errors generated. gmake: *** [: cache.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++/functional:2471:30: note: candidate found by name lookup is 'std::__1::hash' struct _LIBCPP_TYPE_VIS_ONLY 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; ^ ./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. gmake: *** [: etree.o] Error 1 1 warning generated. 5 warnings generated. *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/news/nget *** Error code 1 Stop. make: stopped in /data/pkgsrc/news/nget