Skip to content

Compiling sonic-pins with Gcc12 fails with "cc1: all warnings are treated as errors" #21

@william1212cel

Description

@william1212cel

I update the gcc version from gcc-10 to gcc-12 in debian 11, and use it to compile sonic-pins module, it reports many warning, and failed with the "cc1: all warnings are treated as errors".
the log please see attachfile
p4rt.txt

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