Skip to content

Utilize latest GCC/clang's capability in CI #566

@PengZheng

Description

@PengZheng

GCC is continuing to gain greater static code analysis capabilities these days:
https://developers.redhat.com/articles/2023/05/31/improvements-static-analysis-gcc-13-compiler#

It will be beneficial to add -fanalyzer to the build system.
After eliminating all warnings, we can turn it on in our CI.

Following Rust's trend, I expect more compiler work like this (https://lwn.net/SubscriberLink/936728/382fa9e0e0e2b2ed/) to come.

Metadata

Metadata

Assignees

No one assigned

    Labels

    build/cmakeCategorizes an issue or PR relevant to the cmake build.build/environmentCategorizes an issue or PR relevant to the build environment.good first issueDenotes an issue ready for a new contributorkind/improvementCategorizes issue or PR as related to improvements.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions