Skip to content

Turn on -werror for C code build? #515

Open
@jonathanpallant

Description

@jonathanpallant

I've spent quite a lot of time chasing down an issue with a new Rust target, which turned out to be the vendor's stdint.h not including UINT64_C. This produced a warning (and a call to an imagined function int UINT64_C(int), because C) but that scrolled past quickly and didn't stop the build.

Perhaps we could enable -Werror on the CC crate when building the C code to catch this kind of things in the future.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions