Contents

llvm-project/llvm/utils/benchmark/src/benchmark_register.h:17:30

Aur LLVM90 compilation error

error

1
2
3
4
llvm-project/llvm/utils/benchmark/src/benchmark_register.h:17:30:
  error: 'numeric_limits' is not a member of 'std'
   17 |   static const T kmax = std::numeric_limits<T>::max();
      |                              ^~~~~~~~~~~~~~

patch

llvm/utils/benchmark: add missing <limits> inclusion

1
2
3
4
// /llvm-9.0.1.src/utils/benchmark/src/benchmark_register.h

+ #include <limits>
  #include <vector>