Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Greatwolf on September 12, 2010, 03:32:25 am

Title: Which search paths does Code-completion use?
Post by: Greatwolf on September 12, 2010, 03:32:25 am
I'm kind of wondering for the standard include headers that come with the compiler where does this plugin search?
I'm finding the 'Find declaration of' is looking in the wrong files. Instead of looking in the include files of borland, it's giving me include files from MinGW. I have both of these compilers setup.
Title: Re: Which search paths does Code-completion use?
Post by: oBFusCATed on September 12, 2010, 10:50:30 am
I think it asks gcc (executes gcc with special options)  for its paths
Title: Re: Which search paths does Code-completion use?
Post by: Greatwolf on September 12, 2010, 09:51:49 pm
So how can I correct this so it looks in and parses the correct files?
Title: Re: Which search paths does Code-completion use?
Post by: oBFusCATed on September 12, 2010, 10:09:08 pm
You could try the cc_branch (codecompletion_refactoring) there is a nightly for windows.
If there the problem is not fixed, you could make a patch:)
Title: Re: Which search paths does Code-completion use?
Post by: Greatwolf on September 13, 2010, 04:17:05 am
I'll give that a try when I get some time. Does that branch provide some kind of mechanism for specifying where to look for a given toolchain's stl library?
Title: Re: Which search paths does Code-completion use?
Post by: oBFusCATed on September 13, 2010, 09:13:13 am
Don't know, look at the code :)