I had some code that

I had some code that compiled with no problems in CodeWarrior, but in Project builder I got the error:

no matching function for call to `Connection::GetConnectionType ()'

Turns out I had another copy of Connection.h in the wrong directory, which shouldn’t have been there. The IDE was using the path of the correct copy, which had that function added, but the compiler didn’t use the same include path, so it was using the one in the current directory. Deleting that copy fixed the problem.

Comments are closed.