{"action":"opened","issue":{"url":"https://api.github.com/repos/devosoft/quorum-orgs-for-Empirical/issues/3","repository_url":"https://api.github.com/repos/devosoft/quorum-orgs-for-Empirical","labels_url":"https://api.github.com/repos/devosoft/quorum-orgs-for-Empirical/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/devosoft/quorum-orgs-for-Empirical/issues/3/comments","events_url":"https://api.github.com/repos/devosoft/quorum-orgs-for-Empirical/issues/3/events","html_url":"https://github.com/devosoft/quorum-orgs-for-Empirical/issues/3","id":178195342,"number":3,"title":"Error when trying make all","user":{"login":"anyaevostinar","id":868594,"avatar_url":"https://avatars.githubusercontent.com/u/868594?v=3","gravatar_id":"","url":"https://api.github.com/users/anyaevostinar","html_url":"https://github.com/anyaevostinar","followers_url":"https://api.github.com/users/anyaevostinar/followers","following_url":"https://api.github.com/users/anyaevostinar/following{/other_user}","gists_url":"https://api.github.com/users/anyaevostinar/gists{/gist_id}","starred_url":"https://api.github.com/users/anyaevostinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anyaevostinar/subscriptions","organizations_url":"https://api.github.com/users/anyaevostinar/orgs","repos_url":"https://api.github.com/users/anyaevostinar/repos","events_url":"https://api.github.com/users/anyaevostinar/events{/privacy}","received_events_url":"https://api.github.com/users/anyaevostinar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-20T22:19:43Z","updated_at":"2016-09-20T22:19:43Z","closed_at":null,"body":"[anyaejo@dev-intel16 quorum-orgs-for-Empirical]$ make all\r\ng++ -Wall -Wno-unused-function -std=c++11 -O3 -I../Empirical/ standard-grid-quorum.cc -o standard-grid-quorum.out\r\nIn file included from ../Empirical/evo/StatsManager.h:14:0,\r\n                 from standard-grid-quorum.cc:9:\r\n../Empirical/evo/PopulationManager.h:151:5: error: ‘Signal’ does not name a type\r\n     Signal<emp::vector<ORG*>&> sig_clear;\r\n     ^\r\n../Empirical/evo/PopulationManager.h:152:5: error: ‘Signal’ does not name a type\r\n     Signal<emp::vector<ORG*>&> sig_update;\r\n     ^\r\n../Empirical/evo/PopulationManager.h:153:5: error: ‘Signal’ does not name a type\r\n     Signal<emp::vector<ORG*>&, ORG*, int&> sig_add_org;            // args: new\r\n     ^\r\n../Empirical/evo/PopulationManager.h:154:5: error: ‘Signal’ does not name a type\r\n     Signal<emp::vector<ORG*>&, ORG*, int, int&> sig_add_org_birth; // args: new\r\n     ^\r\n../Empirical/evo/PopulationManager.h:166:5: error: ‘LinkKey’ does not name a type\r\n     LinkKey OnClear(const std::function<void(emp::vector<ORG*>&)> & fun) {\r\n     ^\r\n../Empirical/evo/PopulationManager.h:169:5: error: ‘LinkKey’ does not name a type\r\n     LinkKey OnUpdate(const std::function<void(emp::vector<ORG*>&)> & fun) {\r\n     ^\r\n../Empirical/evo/PopulationManager.h:172:5: error: ‘LinkKey’ does not name a type\r\n     LinkKey OnAddOrg(const std::function<void(emp::vector<ORG*>&, ORG*, int&)> \r\n     ^\r\n../Empirical/evo/PopulationManager.h:175:5: error: ‘LinkKey’ does not name a type\r\n     LinkKey OnAddOrgBirth(const std::function<void(emp::vector<ORG*>&, ORG*, in\r\n     ^\r\n../Empirical/evo/PopulationManager.h: In constructor ‘emp::evo::PopulationManager_Plugin<ORG, FIT_MANAGER>::PopulationManager_Plugin(const string&)’:\r\n../Empirical/evo/PopulationManager.h:159:7: error: class ‘emp::evo::PopulationManager_Plugin<ORG, FIT_MANAGER>’ does not have any field named ‘sig_clear’\r\n     , sig_clear(to_string(world_name, \"::pop_clear\"))\r\n       ^\r\n../Empirical/evo/PopulationManager.h:160:7: error: class ‘emp::evo::PopulationManager_Plugin<ORG, FIT_MANAGER>’ does not have any field named ‘sig_update’\r\n     , sig_update(to_string(world_name, \"::pop_update\"))\r\n       ^\r\n../Empirical/evo/PopulationManager.h:161:7: error: class ‘emp::evo::PopulationManager_Plugin<ORG, FIT_MANAGER>’ does not have any field named ‘sig_add_org’\r\n     , sig_add_org(to_string(world_name, \"::pop_add_org\"))\r\n       ^\r\n../Empirical/evo/PopulationManager.h:162:7: error: class ‘emp::evo::PopulationManager_Plugin<ORG, FIT_MANAGER>’ does not have any field named ‘sig_add_org_birt’\r\n     , sig_add_org_birth(to_string(world_name, \"::pop_add_org_birth\"))\r\n       ^\r\n../Empirical/evo/PopulationManager.h: In member function ‘void emp::evo::PopulationManager_Plugin<ORG, FIT_MANAGER>::Clear()’:\r\n../Empirical/evo/PopulationManager.h:180:11: error: ‘sig_clear’ was not declared in this scope\r\n       if (sig_clear.GetNumActions()) sig_clear.Trigger(pop);\r\n           ^\r\n../Empirical/evo/PopulationManager.h: In member function ‘void emp::evo::PopulationManager_Plugin<ORG, FIT_MANAGER>::Update()’:\r\n../Empirical/evo/PopulationManager.h:183:21: error: ‘sig_update’ was not declared in this scope\r\n     void Update() { sig_update.Trigger(pop); }\r\n                     ^\r\n../Empirical/evo/PopulationManager.h: In member function ‘int emp::evo::PopulationManager_Plugin<ORG, FIT_MANAGER>::AddOrg(ORG*)’:\r\n../Empirical/evo/PopulationManager.h:187:7: error: ‘sig_add_org’ was not declared in this scope\r\n       sig_add_org.Trigger(pop, new_org, new_pos);\r\n       ^\r\n../Empirical/evo/PopulationManager.h: In member function ‘int emp::evo::PopulationManager_Plugin<ORG, FIT_MANAGER>::AddOrgBirth(ORG*, int)’:\r\n../Empirical/evo/PopulationManager.h:192:7: error: ‘sig_add_org_birth’ was not declared in this scope\r\n       sig_add_org_birth.Trigger(pop, new_org, parent_pos, offspring_pos);\r\n       ^\r\nIn file included from ../Empirical/evo/FitnessManager.h:14:0,\r\n                 from ../Empirical/evo/World.h:94,\r\n                 from quorum.cc:20,\r\n                 from standard-grid-quorum.cc:18:\r\n../Empirical/evo/../tools/WeightedSet.h: In member function ‘emp::WeightedSet& emp::WeightedSet::operator+=(emp::WeightedSet&)’:\r\n../Empirical/evo/../tools/WeightedSet.h:115:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]\r\n       for (auto i = 0; i < in_set.size(); i++) {\r\n                          ^\r\n../Empirical/evo/../tools/WeightedSet.h: In member function ‘emp::WeightedSet& emp::WeightedSet::operator-=(emp::WeightedSet&)’:\r\n../Empirical/evo/../tools/WeightedSet.h:123:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]\r\n       for (auto i = 0; i < in_set.size(); i++) {\r\n                          ^\r\nIn file included from quorum.cc:26:0,\r\n                 from standard-grid-quorum.cc:18:\r\nQuorumOrg.h: In constructor ‘emp::evo::QuorumOrgGenome::QuorumOrgGenome(double, double, double, int, bool, bool)’:\r\nQuorumOrg.h:36:10: warning: ‘emp::evo::QuorumOrgGenome::quorum_threshold’ will be initialized after [-Wreorder]\r\n   double quorum_threshold;\r\n          ^\r\nQuorumOrg.h:33:18: warning:   ‘int emp::evo::QuorumOrgGenome::lineage’ [-Wreorder]\r\n   int lineage = -1;\r\n                  ^\r\nQuorumOrg.h:46:3: warning:   when initialized here [-Wreorder]\r\n   QuorumOrgGenome(double cprob, double airad, double qthresh, int lin, bool cmh\r\n   ^\r\nQuorumOrg.h:33:18: warning: ‘emp::evo::QuorumOrgGenome::lineage’ will be initialized after [-Wreorder]\r\n   int lineage = -1;\r\n                  ^\r\nQuorumOrg.h:29:8: warning:   ‘bool emp::evo::QuorumOrgGenome::can_make_HiAI’ [-Wreorder]\r\n   bool can_make_HiAI;\r\n        ^\r\nQuorumOrg.h:46:3: warning:   when initialized here [-Wreorder]\r\n   QuorumOrgGenome(double cprob, double airad, double qthresh, int lin, bool cmh\r\n   ^\r\nQuorumOrg.h: In member function ‘unsigned int emp::evo::QuorumOrgState::remove_points(unsigned int)’:\r\nQuorumOrg.h:109:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]\r\n     if (remove <= points) {\r\n                ^\r\nQuorumOrg.h: In constructor ‘emp::evo::QuorumOrgState::QuorumOrgState(double, double, double, bool, unsigned int, int, bool, bool)’:\r\nQuorumOrg.h:96:8: warning: ‘emp::evo::QuorumOrgState::mutate’ will be initialized after [-Wreorder]\r\n   bool mutate;    // dunno if we'll want to do this by-org, but eh\r\n        ^\r\nQuorumOrg.h:89:7: warning:   ‘int emp::evo::QuorumOrgState::points’ [-Wreorder]\r\n   int points;\r\n       ^\r\nQuorumOrg.h:124:3: warning:   when initialized here [-Wreorder]\r\n   QuorumOrgState (double cprob, double aprob, double qthresh, bool mut,\r\n   ^\r\nQuorumOrg.h: In copy constructor ‘emp::evo::QuorumOrgState::QuorumOrgState(const emp::evo::QuorumOrgState&)’:\r\nQuorumOrg.h:96:8: warning: ‘emp::evo::QuorumOrgState::mutate’ will be initialized after [-Wreorder]\r\n   bool mutate;    // dunno if we'll want to do this by-org, but eh\r\n        ^\r\nQuorumOrg.h:89:7: warning:   ‘int emp::evo::QuorumOrgState::points’ [-Wreorder]\r\n   int points;\r\n       ^\r\nQuorumOrg.h:135:3: warning:   when initialized here [-Wreorder]\r\n   QuorumOrgState (const QuorumOrgState & other) : genome(other.genome.co_op_pro\r\n   ^\r\nQuorumOrg.h:89:7: warning: ‘emp::evo::QuorumOrgState::points’ will be initialized after [-Wreorder]\r\n   int points;\r\n       ^\r\nQuorumOrg.h:88:16: warning:   ‘unsigned int emp::evo::QuorumOrgState::age’ [-Wreorder]\r\n   unsigned int age;\r\n                ^\r\nQuorumOrg.h:135:3: warning:   when initialized here [-Wreorder]\r\n   QuorumOrgState (const QuorumOrgState & other) : genome(other.genome.co_op_pro\r\n   ^\r\nIn file included from quorum.cc:27:0,\r\n                 from standard-grid-quorum.cc:18:\r\nQuorumManager.h: In member function ‘void emp::evo::QuorumManager<QuorumOrganism, POP_MANAGER>::SpacedSeed(double, int, const emp::evo::QuorumOrgGenome*, bool, double, const emp::evo::QuorumOrgGenome*)’:\r\nQuorumManager.h:81:116: error: there are no arguments to ‘assert’ that depend on a template parameter, so a declaration of ‘assert’ must be available [-fpermissive]\r\n seed != nullptr && \"Must have non-null alt-seed when alt-density specified!\");}\r\n                                                                             ^\r\nQuorumManager.h:81:116: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)\r\nQuorumManager.h: In member function ‘unsigned int emp::evo::QuorumManager<QuorumOrganism, POP_MANAGER>::BottleneckEvent(double)’:\r\nQuorumManager.h:139:5: warning: no return statement in function returning non-void [-Wreturn-type]\r\n     }\r\n     ^\r\nIn file included from standard-grid-quorum.cc:18:0:\r\nquorum.cc: At global scope:\r\nquorum.cc:84:13: error: ‘StatsManager_Mapper’ in namespace ‘emp::evo’ does not name a template type\r\n   emp::evo::StatsManager_Mapper<QM<FOUNDATION>> * Qmapper;\r\n             ^\r\nquorum.cc: In function ‘int execute(QuorumRunState<FOUNDATION, FOUNDATION_CONF>&)’:\r\nquorum.cc:312:1: warning: no return statement in function returning non-void [-Wreturn-type]\r\n }\r\n ^\r\nstandard-grid-quorum.cc: In function ‘int main(int, char**)’:\r\nstandard-grid-quorum.cc:32:9: error: ‘struct QuorumRunState<FOUNDATION, QuorumConfigBase>’ has no member named ‘Qmapper’\r\n   state.Qmapper = new emp::evo::StatsManager_Mapper<QM<FOUNDATION>>(state.Qpop,\r\n         ^\r\nstandard-grid-quorum.cc:32:33: error: ‘StatsManager_Mapper’ in namespace ‘emp::evo’ does not name a template type\r\n   state.Qmapper = new emp::evo::StatsManager_Mapper<QM<FOUNDATION>>(state.Qpop,\r\n                                 ^\r\nstandard-grid-quorum.cc:32:66: error: expected primary-expression before ‘>’ token\r\n   state.Qmapper = new emp::evo::StatsManager_Mapper<QM<FOUNDATION>>(state.Qpop,\r\n                                                                  ^\r\nstandard-grid-quorum.cc:32:75: warning: left operand of comma operator has no effect [-Wunused-value]\r\n   state.Qmapper = new emp::evo::StatsManager_Mapper<QM<FOUNDATION>>(state.Qpop,\r\n                                                                           ^\r\nIn file included from standard-grid-quorum.cc:18:0:\r\nquorum.cc: In instantiation of ‘QuorumRunState<FOUNDATION, FOUNDATION_CONF>::QuorumRunState(FOUNDATION_CONF&, std::__cxx11::string&) [with FOUNDATION = FOUNDATION; FOUNDATION_CONF = QuorumConfigBase; std::__cxx11::string = std::__cxx11::basic_string<char>]’:\r\nstandard-grid-quorum.cc:30:76:   required from here\r\nquorum.cc:107:5: error: ‘QWorld<emp::evo::QuorumOrganism, FOUNDATION> {aka class emp::evo::World<emp::evo::QuorumOrganism, emp::evo::QuorumManager<emp::evo::QuorumOrganism, FOUNDATION> >}’ has no member named ‘set_available_points’\r\n     Qpop->set_available_points(config->AVAILABLE_PRIVATE_PTS());\r\n     ^\r\nquorum.cc: In instantiation of ‘configure_stats_manager(QuorumRunState<FOUNDATION, FOUNDATION_CONF>&)::<lambda()> [with FOUNDATION = FOUNDATION; FOUNDATION_CONF = QuorumConfigBase]’:\r\nquorum.cc:233:41:   required from ‘struct configure_stats_manager(QuorumRunState<FOUNDATION, FOUNDATION_CONF>&) [with FOUNDATION = FOUNDATION; FOUNDATION_CONF = QuorumConfigBase]::<lambda()>’\r\nquorum.cc:235:3:   required from ‘void configure_stats_manager(QuorumRunState<FOUNDATION, FOUNDATION_CONF>&) [with FOUNDATION = FOUNDATION; FOUNDATION_CONF = QuorumConfigBase]’\r\nstandard-grid-quorum.cc:39:64:   required from here\r\nquorum.cc:235:3: error: ‘class emp::evo::World<emp::evo::QuorumOrganism, emp::evo::QuorumManager<emp::evo::QuorumOrganism, FOUNDATION> >’ has no member named ‘get_available_points’\r\n   };\r\n   ^\r\nquorum.cc: In instantiation of ‘void configure_stats_manager(QuorumRunState<FOUNDATION, FOUNDATION_CONF>&) [with FOUNDATION = FOUNDATION; FOUNDATION_CONF = QuorumConfigBase]’:\r\nstandard-grid-quorum.cc:39:64:   required from here\r\nquorum.cc:235:3: error: conversion from ‘configure_stats_manager(QuorumRunState<FOUNDATION, FOUNDATION_CONF>&) [with FOUNDATION = FOUNDATION; FOUNDATION_CONF = QuorumConfigBase]::<lambda()>’ to non-scalar type ‘std::function<double()>’ requested\r\nIn file included from ../Empirical/evo/StatsManager.h:4:0,\r\n                 from standard-grid-quorum.cc:9:\r\n/opt/software/GCC/5.2/include/c++/6.0.0/functional: In substitution of ‘template<class _Functor, class> std::function<_Res(_ArgTypes ...)>::function(_Functor) [with _Functor = configure_stats_manager(QuorumRunState<FOUNDATION, FOUNDATION_CONF>&) [with FOUNDATION = FOUNDATION; FOUNDATION_CONF = QuorumConfigBase]::<lambda()>; <template-parameter-1-2> = <missing>]’:\r\nquorum.cc:245:3:   required from ‘void configure_stats_manager(QuorumRunState<FOUNDATION, FOUNDATION_CONF>&) [with FOUNDATION = FOUNDATION; FOUNDATION_CONF = QuorumConfigBase]’\r\nstandard-grid-quorum.cc:39:64:   required from here\r\n/opt/software/GCC/5.2/include/c++/6.0.0/functional:2057:9: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in strip_typedefs, at cp/tree.c:1414\r\n         typename = _Requires<_Callable<_Functor>, void>>\r\n         ^\r\n0xf289c7 tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*)\r\n\t../../gnu-5.2/gcc/tree.c:9563\r\n0x7bc217 tree_class_check(tree_node*, tree_code_class, char const*, int, char const*)\r\n\t../../gnu-5.2/gcc/tree.h:2981\r\n0x7bc217 strip_typedefs(tree_node*, bool*)\r\n\t../../gnu-5.2/gcc/cp/tree.c:1414\r\n0x6466d0 canonicalize_type_argument\r\n\t../../gnu-5.2/gcc/cp/pt.c:6886\r\n0x67b700 convert_template_argument\r\n\t../../gnu-5.2/gcc/cp/pt.c:7157\r\n0x68d51f type_unification_real\r\n\t../../gnu-5.2/gcc/cp/pt.c:17708\r\n0x699fa9 fn_type_unification(tree_node*, tree_node*, tree_node*, tree_node* const*, unsigned int, tree_node*, unification_kind_t, int, bool, bool)\r\n\t../../gnu-5.2/gcc/cp/pt.c:16971\r\n0x603234 add_template_candidate_real\r\n\t../../gnu-5.2/gcc/cp/call.c:3059\r\n0x603c8c add_template_candidate\r\n\t../../gnu-5.2/gcc/cp/call.c:3160\r\n0x603c8c add_candidates\r\n\t../../gnu-5.2/gcc/cp/call.c:5316\r\n0x5ffa3d build_user_type_conversion_1\r\n\t../../gnu-5.2/gcc/cp/call.c:3671\r\n0x607f40 build_user_type_conversion(tree_node*, tree_node*, int, int)\r\n\t../../gnu-5.2/gcc/cp/call.c:3849\r\n0x75fd3a ocp_convert(tree_node*, tree_node*, int, int, int)\r\n\t../../gnu-5.2/gcc/cp/cvt.c:880\r\n0x76deb5 expand_default_init\r\n\t../../gnu-5.2/gcc/cp/init.c:1678\r\n0x76deb5 expand_aggr_init_1\r\n\t../../gnu-5.2/gcc/cp/init.c:1848\r\n0x76e6c4 build_aggr_init(tree_node*, tree_node*, int, int)\r\n\t../../gnu-5.2/gcc/cp/init.c:1597\r\n0x6167ec build_aggr_init_full_exprs\r\n\t../../gnu-5.2/gcc/cp/decl.c:5898\r\n0x6167ec check_initializer\r\n\t../../gnu-5.2/gcc/cp/decl.c:6042\r\n0x635004 cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int)\r\n\t../../gnu-5.2/gcc/cp/decl.c:6714\r\n0x6662d4 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)\r\n\t../../gnu-5.2/gcc/cp/pt.c:14540\r\nPlease submit a full bug report,\r\nwith preprocessed source if appropriate.\r\nPlease include the complete backtrace with any bug report.\r\nSee <http://gcc.gnu.org/bugs.html> for instructions.\r\nmake: *** [standard-grid-quorum] Error 1"}}
{"actor":{"display_login":"anyaevostinar"}}