Re: Cppcheck: Reduction of False Positives with a MSVC Project File

2018-09-07 Thread Stephan Bergmann
On 07/09/18 11:26, Stephan Bergmann wrote: > D:\cygwin\home\Hearthstone\lode\dev\core\framework\inc\helper\shareablemutex.hxx > 73    noExplicitConstructor    398    style    Class 'ShareGuard' has a constructor with 1 argument that is not explicit. For all the nine noExplicitConstructor o

Re: Cppcheck: Reduction of False Positives with a MSVC Project File

2018-09-07 Thread Kaganski Mike
Hi! https://gerrit.libreoffice.org/60119 https://gerrit.libreoffice.org/60122 https://gerrit.libreoffice.org/60120 https://gerrit.libreoffice.org/60121 https://gerrit.libreoffice.org/60123 are meant to take care of those that aren't false positives... -- Best regards, Mike Kaganski

Re: Cppcheck: Reduction of False Positives with a MSVC Project File

2018-09-07 Thread Stephan Bergmann
On 07/09/18 06:31, Luke Benes wrote: By using our MSVC Project file to teach cppcheck about includes and preprocessor configurations, I was able to reduce the number of warnings from 9,141 to 25.  You can see the Report here: https://drive.google.com/file/d/1NCV4Zl8vcWl30f6cDfTbGwxvW7lhMxw-/vi