Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ironhead on May 24, 2011, 02:15:39 pm

Title: Adding paths to Code Completion search path
Post by: ironhead on May 24, 2011, 02:15:39 pm
Hi All,

I'm using Code::Blocks nightlies with the mingw-w64 native 64-bit compiler but code completion is not finding the system headers (i.e. no Code Completion for any system functions).  How do I add additional paths for Code Completion to parse for tags/tokens?

Thank you,

Chris
Title: Re: Adding paths to Code Completion search path
Post by: ironhead on May 25, 2011, 04:51:57 am
Replying to my own question, add the paths to Global Compiler Settings > Search Directories > Compiler.
Title: Re: Adding paths to Code Completion search path
Post by: ollydbg on May 25, 2011, 07:30:16 am
CC should automatically fetch the default search path of the MinGW64 compiler,  I guess there are something different in 64bit MinGW.

can you post the debug-log of codeblocks when a project is loading.
Title: Re: Adding paths to Code Completion search path
Post by: ironhead on May 25, 2011, 01:09:02 pm
can you post the debug-log of codeblocks when a project is loading.

Sure, how do I enable the debug-log?
Title: Re: Adding paths to Code Completion search path
Post by: ollydbg on May 25, 2011, 01:24:23 pm
read 7.1 Debug Log output (http://wiki.codeblocks.org/index.php?title=Code_Completion_Design#Debug_Log_output), just start codeblocks with such option.
Title: Re: Adding paths to Code Completion search path
Post by: Loaden on May 25, 2011, 05:03:53 pm
Fixed in rev7159.
Title: Re: Adding paths to Code Completion search path
Post by: ironhead on May 25, 2011, 07:00:09 pm
Perfect thank you!  Now all I need is a new nightly.... ;)
Title: Re: Adding paths to Code Completion search path
Post by: ollydbg on May 26, 2011, 05:01:08 am
Fixed in rev7159.
That's a great work!! But I do NOT have a mingw64 compiler + win7 64 system to test it.
Title: Re: Adding paths to Code Completion search path
Post by: Loaden on May 26, 2011, 07:55:49 am
Fixed in rev7159.
That's a great work!! But I do NOT have a mingw64 compiler + win7 64 system to test it.
Don't worry, I am tested on XP-64bit.
It's works well now.
 :lol:
Title: Re: Adding paths to Code Completion search path
Post by: ironhead on May 27, 2011, 12:34:36 pm
Fixed in rev7159.
That's a great work!! But I do NOT have a mingw64 compiler + win7 64 system to test it.
Don't worry, I am tested on XP-64bit.
It's works well now.
 :lol:

Thank you for the quick fix Loaden!  Once there is a new nightly I'll be able to validate the fix on win7 x64.