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

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -