User forums > Using Code::Blocks

Having Problems with code completion

<< < (2/2)

weaver4:
I downloaded the latest version (April 14th) and got it up and running.

But I still have the same issue.  It is odd that it seems to know the myLog is a * to Category but does not know how to parse it.

Here is the way that myLog it is initialized, it is a static variable:

log4cpp::Category* CSipStack::myLog = LogUtil::getLogger("CSipStack");

What else should I try?

ollydbg:
Hi, I just download the log4cpp and try to test it.

I have a very simple code:

--- Code: ---#include "log4cpp/Category.hh"

int main()
{
    log4cpp::Category a;
    a.
}

--- End code ---

I also don't see the suggestion list.
So, I debugged our CC under C::B, and I finally found that we did miss the option here, see image below:

After setting this "hh" to the options, I have now solved the issue, see the image show below:

MortenMacFly:

--- Quote from: ollydbg on April 27, 2015, 05:11:15 am ---So, I debugged our CC under C::B, and I finally found that we did miss the option here, see image below:

--- End quote ---
OK, but then you should also add *.hxx because its another obscure ending for C++ header files.
Edit: BTW, I have "h,hpp,hxx,hh,h++,tcc,xpm" there...?!

Navigation

[0] Message Index

[*] Previous page

Go to full version