[cfe-dev] How to deal with new build failures due to new warning? Was: Re: buildbot failure in LLVM on clang-with-lto-ubuntu

Roman Lebedev via cfe-dev cfe-dev at lists.llvm.org
Sat Jun 10 10:40:06 PDT 2017


Hi everyone.

In D33102, -Wcast-qual was implemented for C++,
so naturally it now produces warnings for clang codebase.

That specific warning
(cast from 'a' to 'b' must have all intermediate pointers const
qualified to be safe)
is clang-specific, i'm pretty sure gcc does not produce it.

To be perfectly honest, i did not thought about trying
to build llvm/clang with the clang with that warning beforehand.

So here is the question: how to proceed?
Revert? Disable that diagnostic? Etc?

Roman.

On Sat, Jun 10, 2017 at 8:28 PM,  <llvm.buildmaster at lab.llvm.org> wrote:
> The Buildbot has detected a new failure on builder clang-with-lto-ubuntu while building cfe.
> Full details are available at:
>  http://lab.llvm.org:8011/builders/clang-with-lto-ubuntu/builds/3249
>
> Buildbot URL: http://lab.llvm.org:8011/
>
> Buildslave for this Build: ps4-buildslave1a
>
> Build Reason: scheduler
> Build Source Stamp: [branch trunk] 305147
> Blamelist: lebedevri
>
> BUILD FAILED: failed build-stage2-LLVMgold.so
>
> sincerely,
>  -The Buildbot
>
>
>



More information about the cfe-dev mailing list