Untitled

mail@pastecode.io avatar
unknown
powershell
a year ago
4.7 kB
10
Indexable
Never
[ 41%] Building CXX object simplessd/CMakeFiles/simplessd.dir/hil/nvme/ocssd.cc.o
[ 42%] Building CXX object simplessd/CMakeFiles/simplessd.dir/hil/nvme/queue.cc.o
/mnt/e/BTECH 4TH Year/BTP/Simplessd-standalone/simplessd/hil/nvme/controller.cc: In member function ‘void SimpleSSD::HIL::NVMe::Controller::reserveCompletion()’:
/mnt/e/BTECH 4TH Year/BTP/Simplessd-standalone/simplessd/hil/nvme/controller.cc:1682:24: error: ‘numeric_limits’ is not a member of ‘std’
 1682 |   uint64_t tick = std::numeric_limits<uint64_t>::max();
      |                        ^~~~~~~~~~~~~~
/mnt/e/BTECH 4TH Year/BTP/Simplessd-standalone/simplessd/hil/nvme/controller.cc:1682:47: error: expected primary-expression before ‘>’ token
 1682 |   uint64_t tick = std::numeric_limits<uint64_t>::max();
      |                                               ^
/mnt/e/BTECH 4TH Year/BTP/Simplessd-standalone/simplessd/hil/nvme/controller.cc:1682:53: error: no matching function for call to ‘max()’
 1682 |   uint64_t tick = std::numeric_limits<uint64_t>::max();
      |                                                ~~~~~^~
In file included from /usr/include/c++/11/list:60,
                 from /mnt/e/BTECH 4TH Year/BTP/Simplessd-standalone/simplessd/hil/nvme/controller.hh:25,
                 from /mnt/e/BTECH 4TH Year/BTP/Simplessd-standalone/simplessd/hil/nvme/controller.cc:20:
/usr/include/c++/11/bits/stl_algobase.h:254:5: note: candidate: ‘template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)’
  254 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/11/bits/stl_algobase.h:254:5: note:   template argument deduction/substitution failed:
/mnt/e/BTECH 4TH Year/BTP/Simplessd-standalone/simplessd/hil/nvme/controller.cc:1682:53: note:   candidate expects 2 arguments, 0 provided
 1682 |   uint64_t tick = std::numeric_limits<uint64_t>::max();
      |                                                ~~~~~^~
In file included from /usr/include/c++/11/list:60,
                 from /mnt/e/BTECH 4TH Year/BTP/Simplessd-standalone/simplessd/hil/nvme/controller.hh:25,
                 from /mnt/e/BTECH 4TH Year/BTP/Simplessd-standalone/simplessd/hil/nvme/controller.cc:20:
/usr/include/c++/11/bits/stl_algobase.h:300:5: note: candidate: ‘template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)’
  300 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/11/bits/stl_algobase.h:300:5: note:   template argument deduction/substitution failed:
/mnt/e/BTECH 4TH Year/BTP/Simplessd-standalone/simplessd/hil/nvme/controller.cc:1682:53: note:   candidate expects 3 arguments, 0 provided
 1682 |   uint64_t tick = std::numeric_limits<uint64_t>::max();
      |                                                ~~~~~^~
In file included from /usr/include/c++/11/algorithm:62,
                 from /mnt/e/BTECH 4TH Year/BTP/Simplessd-standalone/simplessd/hil/nvme/controller.cc:22:
/usr/include/c++/11/bits/stl_algo.h:3461:5: note: candidate: ‘template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)’
 3461 |     max(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/11/bits/stl_algo.h:3461:5: note:   template argument deduction/substitution failed:
/mnt/e/BTECH 4TH Year/BTP/Simplessd-standalone/simplessd/hil/nvme/controller.cc:1682:53: note:   candidate expects 1 argument, 0 provided
 1682 |   uint64_t tick = std::numeric_limits<uint64_t>::max();
      |                                                ~~~~~^~
In file included from /usr/include/c++/11/algorithm:62,
                 from /mnt/e/BTECH 4TH Year/BTP/Simplessd-standalone/simplessd/hil/nvme/controller.cc:22:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: candidate: ‘template<class _Tp, class _Compare> _Tp std::max(std::initializer_list<_Tp>, _Compare)’
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/11/bits/stl_algo.h:3467:5: note:   template argument deduction/substitution failed:
/mnt/e/BTECH 4TH Year/BTP/Simplessd-standalone/simplessd/hil/nvme/controller.cc:1682:53: note:   candidate expects 2 arguments, 0 provided
 1682 |   uint64_t tick = std::numeric_limits<uint64_t>::max();
      |                                                ~~~~~^~
[ 43%] Building CXX object simplessd/CMakeFiles/simplessd.dir/hil/nvme/subsystem.cc.o
make[2]: *** [simplessd/CMakeFiles/simplessd.dir/build.make:244: simplessd/CMakeFiles/simplessd.dir/hil/nvme/controller.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:144: simplessd/CMakeFiles/simplessd.dir/all] Error 2
make: *** [Makefile:91: all] Error 2