Skip to content

Static code analysis (MRCpp) #191

@susilehtola

Description

@susilehtola

compiling mrcpp yields some compiler warnings in Fedora 35. The most common issue appears to be the comparison between signed and unsigned which arises from the use of int as loop indices checked against .size() which returns the size type, size_t. The loop indices could probably be all switched to size_t, what do you think?

Additionally, running static code analysis on the repository yields unclean results; output from cppcheck 2.6 attached
cppcheck.log
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions