[PATCH] D101288: Only ignore -Wdeprecated-copy if the used compiler supports the warning

Albion Fung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 26 07:12:16 PDT 2021


Conanap added a comment.

Hello,

  This patch seems to upset the PowerPC compilers: 

  In file included from /home/buildbots/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/Support/YAMLIOTest.cpp:18:
  /home/buildbots/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/utils/unittest/googlemock/include/gmock/gmock.h:58:40: error: missing binary operator before token "("
   #if defined(__clang__) && __has_warning("-Wdeprecated-copy")

Buildbot in question: https://lab.llvm.org/buildbot/#/builders/36/builds/7742


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101288



More information about the llvm-commits mailing list