User forums > Using Code::Blocks

Need help: auto-complete can't find CreateFile

<< < (2/2)

MortenMacFly:
BTW:

Concerning macro handling: One thing that could "easily" be done is the following:

Similar like we cache the internal GCC dirs we could also cache the internal macros like this:

--- Code: ---gcc -E -dM a_dummy.c
--- End code ---
...and similar for g++.

This could be tried to resolve when we come across a macro. We are able to identify the name of the macro already.

...just my 2 cent...

Edit: Hey, this is my 4000th posting!!! :lol: :lol: :lol:

ollydbg:

--- Quote from: MortenMacFly on January 15, 2010, 03:41:03 pm ---BTW:

Concerning macro handling: One thing that could "easily" be done is the following:

Similar like we cache the internal GCC dirs we could also cache the internal macros like this:

--- Code: ---gcc -E -dM a_dummy.c
--- End code ---
...and similar for g++.

This could be tried to resolve when we come across a macro. We are able to identify the name of the macro already.

...just my 2 cent...

--- End quote ---

Great Idea.
I have a discussion with NullWu( who supplied a script engine to handle macros, see Partial C/C++ preprocessor function for codecompletion), I think we can also consider it.
By the way, what does this sentence means "...just my 2 cent.."???
Also, I saw some blog about Visual C++ 10's intelligent sense. They can both handle the #if and # else statement.

jsandraw:

--- Quote from: MortenMacFly on January 15, 2010, 03:41:03 pm ---Hey, this is my 4000th posting!!! :lol: :lol: :lol:

--- End quote ---

Congratulation, U're the Lucky-MAN. :-)

Navigation

[0] Message Index

[*] Previous page

Go to full version