[lldb-dev] Enabling warnings as errors
chandlerc at google.com
Thu Aug 14 18:39:02 PDT 2014
On Thu, Aug 14, 2014 at 5:28 PM, Greg Clayton <gclayton at apple.com> wrote:
> There are so many compilers and each compiler is good at detecting things
> that other compilers don't warn about.
You can easily disable warnings that don't have value. We do this all the
time in LLVM.
> So I don't think we should enable warnings as errors, but I do think we
> should strive to keep warnings down to as low a level as possible.
I think there should be a WERROR mode in the CMake build, and build bots
should run with it. That way releases etc aren't impacted by new warnings,
but developers *do* notice when they introduce a warning.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev