libretro / bsnes

Super Nintendo (Super Famicom) emulator
https://bsnes.byuu.org
Other
11 stars 13 forks source link

Fix build with gcc-13 #60

Closed heitbaum closed 1 year ago

heitbaum commented 1 year ago

Error was: In file included from ../nall/arithmetic.hpp:69: ../nall/arithmetic/natural.hpp: In function 'void nall::div(const uint4096_t&, const uint4096_t&, uint4096_t&, uint4096_t&)': ../nall/arithmetic/natural.hpp:239:23: error: 'runtime_error' is not a member of 'std' 239 | if(!rhs) throw std::runtime_error("division by zero"); | ^~~~~ ../nall/arithmetic/natural.hpp:239:23: note: 'std::runtime_error' is defined in header ''; did you forget to '#include '?