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

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

Open
andrew-wja opened this issue Apr 18, 2020 · 0 comments
Open

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

andrew-wja opened this issue Apr 18, 2020 · 0 comments

Comments

@andrew-wja
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant