Bug #11844 2007-08-24 13:15

indigo0086

CC doesn't parse includes within includes

I noticed codeblocks isn't parsing includes which are inside other includes. I use glfw which in it's include files includes gl.h and glu.h, but in the main they are not being parsed for code completion.

example

#include <GL/glfw.h> // gl.h, glu.h included within

int main(int argc, char **argv)

{

gl...//CodeCompletion only brings up glfw functions and

//variables, not gl.h or glu.h functions/variables

}

In order to get it to work, I have to include both manually, save, then delete the lines, then save and the functions would be there, until I restart.

Category
Plugin::CodeCompletion
Group
 
Status
Closed
Close date
2007-09-16 22:13
Assigned to
 
ceniza 2007-09-16 22:13