Skip to content

Collect gcc warnings as reports #4792

Description

@bruntib

Compiler warnings can be considered as checkers, since they are also indicating suspicious constructions in the source code. In case of clang compiler the warnings are available as clang-diagnostic-... checkers.

This feature should be available for gcc compiler, too. The gcc warnings (gcc --help=warnings) should be exposed on CodeChecker interface as gcc-diagnostic-... checkers when running CodeChecker checkers --analyzers gcc. Also, it should be possible to enable/disable them when --enable/--disable flags are used respectively.

Metadata

Metadata

Assignees

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