| Reporting the base class is misleading because the error occurs in the derived class Jenkins reports:
cppcheck-htmlreport reports:
The xml file created by cppcheck shows <error id="missingOverride" severity="style" msg="The function 'ChangeInfo' overrides a function in a base class but is not marked with a 'override' specifier." verbose="The function 'ChangeInfo' overrides a function in a base class but is not marked with a 'override' specifier."> <location file="/home/users/host/gitlab/gen6linux/mobis/source/apps/av/QtCommon/src/system/data/AVStatusIconInfo.h" line="26" info="Function in derived class"/> <location file="/home/users/host/gitlab/gen6linux/mobis/source/frameworks/broadcast/IMUtils/data/DataClassBase.h" line="99" info="Virtual function in base class"/> </error> The behavior of the cppcheck plugin is incorrect, and the behavior of cppcheck-htmlreport is correct. |