[PATCH] D88723: [flang] Fix build errors for clang-10

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 02:02:37 PDT 2020


awarzynski added subscribers: klausler, clementval.
awarzynski added a comment.

For reference:
@clementval:  https://reviews.llvm.org/D87389

  /home/flang/temp/llvm-project/flang/lib/Lower/OpenACC.cpp:102:32: error: unused variable 'argTy' [-Werror,-Wunused-variable]
      llvm::ArrayRef<mlir::Type> argTy;
                                 ^
  1 error generated.

@klausler https://reviews.llvm.org/D88672

  /home/flang/temp/llvm-project/flang/runtime/io-stmt.h:165:1: error: 'ListDirectedStatementState' defined as a class template here but previously declared as a struct template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
  class ListDirectedStatementState<Direction::Input>
  ^
  /home/flang/temp/llvm-project/flang/runtime/io-stmt.h:152:22: note: did you mean class here?
  template <Direction> struct ListDirectedStatementState;
                       ^~~~~~
                       class
  1 error generated.

Failing buildbot (stil staging, so no notifications are sent): http://lab.llvm.org:8014/#/builders/26

I'm not familiar with this code base, so suggestions are welcome.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88723



More information about the llvm-commits mailing list