bipolar icon indicating copy to clipboard operation
bipolar copied to clipboard

cppcheck fails on OSX only

Open pcolby opened this issue 7 years ago • 4 comments

Restore cppcheck for OSX when defect #7792 is fixed, and available on Travis CI (ie via Homebrew).

Note, this is not an OSX-specific problem. OSX just happens to be getting a more-recent (and thus affected) version of cppcheck currently.

pcolby avatar Jul 26 '17 02:07 pcolby

slightly unrelated... but cppcheck has issue with /test/protobuf/testmessage.cpp line 38.. syntax error. i have a strange feeling it has issue with foreach ( .. ) is that supposed to be for_each as in std::for_each() ?

aj664 avatar Oct 10 '17 13:10 aj664

Thanks @aj664, which version of cppcheck are you seeing this on?

The foreach sholdn't be a problem (usually isn't) for cppcheck, because its a preprocessor macro (defined by Qt).

Thanks.

pcolby avatar Oct 11 '17 02:10 pcolby

v1.80
ok, very likely that the Qt macro was not available during the test. non-issue.

aj664 avatar Oct 11 '17 03:10 aj664

Note to self: easy to just restart Job #831.1 to test.

pcolby avatar Oct 07 '18 07:10 pcolby