(latest VS2017) Using the C++ Core Check (code analysis) trigger warning on corrected code.
-
(not really urgent) I decided to try out the [C++ Core Check](https://msdn.microsoft.com/en-us/library/mt762841.aspx) code analysis on a sample project to see if it will be useful for our project. One one line it says that I need to put a
const
, so I put theconst
, and re-run the analysis. The line still will trigger the warning. Any way to reset the warnings so that it won't retrigger the same warnings ? Any experience with that ? ThanksI'd rather be phishing!
-
(not really urgent) I decided to try out the [C++ Core Check](https://msdn.microsoft.com/en-us/library/mt762841.aspx) code analysis on a sample project to see if it will be useful for our project. One one line it says that I need to put a
const
, so I put theconst
, and re-run the analysis. The line still will trigger the warning. Any way to reset the warnings so that it won't retrigger the same warnings ? Any experience with that ? ThanksI'd rather be phishing!
If you right-click the warning do you get a menu with Suppress on it?
-
If you right-click the warning do you get a menu with Suppress on it?
I don't want to suppress the warning, just to not report it on lines that it should not appears (after fixing the warning). Anyway, it is only a minor annoyance, will keep testing/using it . Thanks.
I'd rather be phishing!
-
I don't want to suppress the warning, just to not report it on lines that it should not appears (after fixing the warning). Anyway, it is only a minor annoyance, will keep testing/using it . Thanks.
I'd rather be phishing!
As I say, if you right-click the warning you can suppress it for that line, not suppress the warning for every line.
-
As I say, if you right-click the warning you can suppress it for that line, not suppress the warning for every line.
Yes but he's saying that he did what the warning wanted and the warning keeps coming up anyway on that line. He's asking for a way to make it work right. :laugh:
The difficult we do right away... ...the impossible takes slightly longer.
-
Yes but he's saying that he did what the warning wanted and the warning keeps coming up anyway on that line. He's asking for a way to make it work right. :laugh:
The difficult we do right away... ...the impossible takes slightly longer.
"Any way to reset the warnings so that it won't retrigger the same warnings ?"