[Bug 273678] emulators/libretro-bsnes: Fails to build with GCC 13: error: 'runtime_error' is not a member of 'std'
Date: Sun, 10 Sep 2023 07:27:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273678 Bug ID: 273678 Summary: emulators/libretro-bsnes: Fails to build with GCC 13: error: 'runtime_error' is not a member of 'std' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: salvadore@freebsd.org CC: beyert@cs.ucr.edu Blocks: 273397 CC: beyert@cs.ucr.edu Flags: maintainer-feedback?(beyert@cs.ucr.edu) This bug report blocks the update of GCC_DEFAULT to 13. This webpage can help finding ta fix: https://gcc.gnu.org/gcc-13/porting_to.html ./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:1:1: note: 'std::runtime_error' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'? +++ |+#include <stdexcept> 1 | #define ConcatenateType(Size) uint##Size##_t ./nall/string/eval/evaluator.hpp: In function 'int64_t nall::Eval::evaluateInteger(Node*)': ./nall/string/eval/evaluator.hpp:43:9: warning: enumeration value 'Null' not handled in switch [-Wswitch] 43 | switch(node->type) { | ^ Full log: https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-09-06_17h55m19s/logs/errors/libretro-bsnes-20211218_1.log This bug looks similar to bug #273677. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273397 [Bug 273397] [exp-run] Update GCC_DEFAULT to 13 etc. -- You are receiving this mail because: You are the assignee for the bug.