Skip to content

Don't set -Werror by default in CMakeLists.txt #1339

Closed

Description

@bnoordhuis

It's annoying for downstream users when they don't use the exact same compiler as we do because any random new (or old) compiler warning breaks the build. Only set it in CI and developer builds. See #1333.

Activity

  1. added
    enhancement
    good first issue
    on Feb 10, 2026
  2. saghul commented on Feb 10, 2026

    @saghul
    Contributor

    SGTM overall.

    Only set it in CI and developer builds.

    What do you mean by developer builds, debug ones? Or when we are building this project and not embedded?

  3. bnoordhuis commented on Feb 10, 2026

    @bnoordhuis
    ContributorAuthor

    Developer builds = the ones we do on our own systems :)

  4. added a commit that references this issue on Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions