c++ - No matching function error -
i have code, trying compile on linux g++-4.7:
termtogenecount *tg = new termtogenecount(); termtogenecount *tgn = new termtogenecount(); dag<int64_t>* dags = new dag<int64_t>(); //.... gettermtogenecount(nwpar.getannotationretriever(),dags,tg,tgn); where gettermtogenecount defined in same namespace as:
void defaultnwbuilder::gettermtogenecount(const javawrapping::javaannotationretrieverwrapper& annretriever, dag<int64_t>* dags, termtogenecount* tg, termtogenecount* tgn) const{ //.. } when compile error:
error: no matching function call ‘cnw::defaultnwbuilder::gettermtogenecount(const javawrapping::javaannotationretrieverwrapper&, dag<long int>*&, termtogenecount*&, termtogenecount*&)’ note: candidates are: i think problem second parameter, becouse if delete (both call , method definition) works.
could please me?
possibly 32-bit versus 64-bit platform compile kind of issue. long int in error not map int64_t...
Comments
Post a Comment