Hello.
I tried posting a similar question in another forum. Since I got no answer, I removed the earlier post and applied a few changes (for completeness). Here it is.
Apparently, Code Blocks doesn't understand that standard include files like vector and list are C++ files. I tried to configure that but I need I file mask. The problem is that such standard includes don't have extensions. I could use several file masks like *vector, *list, etc (using simply the whole name as the mask doesn't work). But of course this is boring. Is there a better solution?
Another related problem is that I can't debug into such files. In the standard library implementation I'm using the push_back method is implemented directly inside file vector. When I debug into push_back I can see from the debugger console (inside Code Blocks) that the debugger goes to the correct line. However, the editor doesn't open file vector and position the line in accordance to the debugger. I have already tried inserting the include directory in the search paths for the debugger. No success... When eventually processing goes to an ordinary .c, .cpp, .h files the debugger and the editor work together (matching lines in the files) again.
Just in case it's useful, I'm on GCC. But I'm not using the native standard library implementation. I'm using the Apache C++ Standard Library.
Thanks.