Few weird things after moving onto 5.1
Posted: Mon Mar 25, 2013 12:06 pm
I made the move from 5.1 some days ago and I'v been noticing some very strange behavior.
Building code with errors will output ( [ALL] ) error messages but the build will say 0 errors, also the red error text is gone.
This is something that is VERY annoying, because of it I often don't recognize when a build fails, I run the program and wonder why my new features isn't implemented.
Is there any way to fix this?
Clang code completion worse.
If I enable Clang-CC I get a LOT of wonky error-thingys. For example this snippet below:
Disabling clang makes it work as intended, and there is nothing wrong with the code.
Initializing lists giving me warnings
I'v never seen this before, but seeing as I'v always run with treat all warnings as errors this is QUITE the pain. Whenever I use an initializing list like:
It gives me a warning saying it's intialzed after ( Can't fully quote this ).
SIDE NOTE
How do I cycle through the suggested parameterlist of a function?
Like:
a(int i);
a(char i);
And is there a way to get class member variables to be highlighted inside the function definition in an .cpp file?
I'd also like to take my time saying I really DO enjoy CodeLite, it's awesome, light and I love it!
Building code with errors will output ( [ALL] ) error messages but the build will say 0 errors, also the red error text is gone.
This is something that is VERY annoying, because of it I often don't recognize when a build fails, I run the program and wonder why my new features isn't implemented.
Is there any way to fix this?
Clang code completion worse.
If I enable Clang-CC I get a LOT of wonky error-thingys. For example this snippet below:
Code: Select all
class Foo
{
public:
void a(int value) { /* Code */ }
void print()
{
int i = 100;
a(100); /* <--- This works fine with code-completions, it gives me parameter list. */
for( int k = 0; k < 10; k++ )
{
a(100); /* Here it goes to hell, it tells me clang error, expected } to match this { */
}
}
};
Initializing lists giving me warnings
I'v never seen this before, but seeing as I'v always run with treat all warnings as errors this is QUITE the pain. Whenever I use an initializing list like:
Code: Select all
Foo(int i, int q): m_value(i), m_othervalue(q) {}
SIDE NOTE
How do I cycle through the suggested parameterlist of a function?
Like:
a(int i);
a(char i);
And is there a way to get class member variables to be highlighted inside the function definition in an .cpp file?
I'd also like to take my time saying I really DO enjoy CodeLite, it's awesome, light and I love it!