Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Allow user to control warnings-as-errors behaviour #304

@andrew-wja

Description

@andrew-wja

Currently, unless the user builds Caffe with -DCODE_COVERAGE=ON, the CMakefile hard-codes the -Werror flag to the compiler. This means that the build is breaking for trivial reasons.

I can understand wanting to have zero compiler warnings for releases, and I think this is a sensible default, but if I want to build with warnings, the only way is to edit the CMakefile, which is not ideal.

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