PixlOne / logiops

An unofficial userspace driver for HID++ Logitech devices
GNU General Public License v3.0
3.42k stars 271 forks source link

Fails to build on gcc 13 / arch linux #368

Closed abextm closed 1 year ago

abextm commented 1 year ago
In file included from /home/abex/.cache/yay/logiops/src/logiops/src/ipcgull/src/node.cpp:22:
/home/abex/.cache/yay/logiops/src/logiops/src/ipcgull/src/include/ipcgull/node.h: In member function ‘std::shared_ptr<_Tp> ipcgull::node::make_interface(Args&& ...)’:
/home/abex/.cache/yay/logiops/src/logiops/src/ipcgull/src/include/ipcgull/node.h:78:28: error: ‘invalid_argument’ is not a member of ‘std’
   78 |                 throw std::invalid_argument("duplicate interface");
      |                            ^~~~~~~~~~~~~~~~
/home/abex/.cache/yay/logiops/src/logiops/src/ipcgull/src/include/ipcgull/node.h:28:1: note: ‘std::invalid_argument’ is defined in header ‘<stdexcept>’; did you forget to ‘#include <stdexcept>’?
   27 | #include <cassert>
  +++ |+#include <stdexcept>
   28 | #include <ipcgull/server.h>
make[2]: *** [src/ipcgull/CMakeFiles/ipcgull.dir/build.make:132: src/ipcgull/CMakeFiles/ipcgull.dir/src/node.cpp.o] Error 1
$ c++ --version
c++ (GCC) 13.1.1 20230429

Happens on 0.3.0 and 4c406c7

PixlOne commented 1 year ago

Try compiling on the latest commit