[PATCH] D116313: [MSVC] Silence -Wnon-virtual-dtor on DIA APIs

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 5 08:33:02 PST 2022


hans added a comment.

In D116313#3218224 <https://reviews.llvm.org/D116313#3218224>, @aganea wrote:

> I was wondering, can we mandate `LLVM_ENABLE_WERROR=ON` for all bots at least? (or maybe enable it through cmake, if ever there's a setting to detect we're running as a bot)
> Or just reverse the default setting on the main branch, ie. make `LLVM_ENABLE_WERROR=ON` by default and let users disable it locally. I think that would encourage developers to care more about warnings? Release branches could have it disabled somehow, to accommodate for the changing compiler environments. Was this discussed before?

I don't remember whether this was discussed before. I think it would be a good topic for llvm-dev.

It would be nice to have at least one buildbot using -Werror, with some specific blessed compiler version, but for that to not get annoying I think we'd need to surface those warnings in code reviews, and even if we have system a for that today it doesn't seem to be working very well.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116313/new/

https://reviews.llvm.org/D116313



More information about the cfe-commits mailing list