User Activity

  • Posted a comment on discussion General Discussion on cppcheck

    Was hoping CppCheck could help... 1) Missing - there is an active #include for the configuration, but the header can not be found (what header file name, what file path is it involved in) 2) Unnecessary - None of the content in the header file (nor what it includes) has a material impact on the compilation 3) Unused - None of the solutions in a system include the header, though it exists on one of the include paths 4) Extraneous include paths - No actual relevant .h files were loaded from this path....

  • Posted a comment on discussion General Discussion on cppcheck

    Just curious - were X and Y defined at time of analysis of that module? If either was no, then my expectation would be more of "unreachable" code... Validating combinatorial's of of preprocessor is a major challenge. I don't think there is a tool that can really do it. For example this file should detect "If X is not defined then the definition (or not) of Y is immaterial to the compilation of this unit - the compilation of anything after the #error will not be be processed.

View All

Personal Data

Username:
thecpuwizard
Joined:
2020-12-31 03:24:04

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB