I am using Code::Blocks 13.12 on Ubuntu 14.04. I have created a project with include files in a separate directory from the source. I have added the include directory in the search path for the project. The problem now is that "Find declaration of" doesn't always work for member functions. Specifically, if I try to find the declaration of a member function from a file that contains the definition, I am led to the definition. If I choose "Find declaration of" from the definition of a member function, I stay there. Finding the declaration works fine if it's a Class or a member variable, or if the member function definition is in a different file.
EDIT: The option doesn't really work for member variables or classes either. I was misled to believe so because I had tried cases where declaration and definition were the same.