This is similar to #75 but we have /warnaserror+ turned on for our builds, and the current code flags the entire compile command as an error.
I also escaped the current code's minus sign to not be interpreted as a range so I could add the plus sign. I escaped the plus sign as well mainly for code readability.
Finally, when running code analysis (see here for examples) warnings can start with the CA prefix. I added that to the same regex.
This is similar to #75 but we have /warnaserror+ turned on for our builds, and the current code flags the entire compile command as an error.
I also escaped the current code's minus sign to not be interpreted as a range so I could add the plus sign. I escaped the plus sign as well mainly for code readability.
Finally, when running code analysis (see here for examples) warnings can start with the CA prefix. I added that to the same regex.