Code Analysis find errors but code builds without any errors.

Hi,

I've just started using clion1.1.1.
The question I have is where to find the errors and warnings reported in the code analysis in the right hand side of the IDE
and positioning the mouse over the red exclamation mark.  The analysis tell me that it found 6 errors but the code builds and runs fine.

Thanks




4 comments
Comment actions Permalink

Hi Charles.

Please open View | Tool windows | Messages. Does that help?

0
Comment actions Permalink

Thanks for replying.

I actually have the messages window open but I see no errors, only in Performimng Code Analysis window.

0
Comment actions Permalink

You can go through code analysis errors in the current file via F2/Shift+F2 shortcuts. Howewer if the code compiles and runs fine, it might be an issue with code analysis. Could you please provide the errors you've got with code to reproduce?

0
Comment actions Permalink

Thanks Anna for replying.
Don't have any code analysis errors at present but will reply back when the error appears again.

0

Please sign in to leave a comment.