News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Adding paths to Code Completion search path

Started by ironhead, May 24, 2011, 02:15:39 PM

Previous topic - Next topic

ironhead

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

ironhead

Replying to my own question, add the paths to Global Compiler Settings > Search Directories > Compiler.

ollydbg

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.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ironhead

Quote from: ollydbg on May 25, 2011, 07:30:16 AM
can you post the debug-log of codeblocks when a project is loading.

Sure, how do I enable the debug-log?

ollydbg

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Loaden


ironhead

Perfect thank you!  Now all I need is a new nightly.... ;)

ollydbg

Quote from: Loaden on May 25, 2011, 05:03:53 PM
Fixed in rev7159.
That's a great work!! But I do NOT have a mingw64 compiler + win7 64 system to test it.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Loaden

Quote from: ollydbg on May 26, 2011, 05:01:08 AM
Quote from: Loaden on May 25, 2011, 05:03:53 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:

ironhead

Quote from: Loaden on May 26, 2011, 07:55:49 AM
Quote from: ollydbg on May 26, 2011, 05:01:08 AM
Quote from: Loaden on May 25, 2011, 05:03:53 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.