Re: [Dev-C++] " error: no matching function for call to.."
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <au...@gm...> - 2006-06-27 19:03:14
|
Hi, > I have the error "error: no matching function for call to...", checked > all, > but can't find what exactly the error is - everything looks OK. > > g++ is saying "note: candidates are ..." and the only candidate is the > function to be called!? > > What could cause that? What this error means? This error simply means, that you've passed wrong parameters to the function. Look carefully and you'll see. Maybe you are simply passing value instead of pointer, missed some parametter or something like that. That's a dumb error and it is everytime quite difficult to find what's wrong, cause everything seems OK. -- Aurimas |