You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/github/workspace/include/gz/sim/Conversions.hh:636:7: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn]
Out::ConversionNotImplemented;
shameekganguly
changed the title
Cppcheck does not exit with non-zero code despite errors
Cppcheck exits with code 0 (success) despite errors
Aug 24, 2024
Environment
Description
make cppcheck
should return non-zero exit code if any error is detected.But the exit code was 0, so CI passed.
Looks like cppcheck requires the
--error-exitcode=<n>
cmdline arg to be set in order to exit with a non-zero code in case of error. This will need to be set in cmake/GzCodeCheck.cmake to catch errors in CI.The text was updated successfully, but these errors were encountered: