Date: Sun, 10 Sep 2023 07:24:45 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 273677] emulators/higan: Fails to build with GCC 13: error: 'runtime_error' is not a member of 'std' Message-ID: <bug-273677-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273677 Bug ID: 273677 Summary: emulators/higan: 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: cyberbotx@cyberbotx.com Blocks: 273397 CC: cyberbotx@cyberbotx.com Flags: maintainer-feedback?(cyberbotx@cyberbotx.com) This bug report blocks the update of GCC_DEFAULT to 13. This webpage can he= lp finding ta fix: https://gcc.gnu.org/gcc-13/porting_to.html =3D=3D=3D> Building for higan-106_12 gmake[1]: Entering directory '/wrkdirs/usr/ports/emulators/higan/work/higan_v106-source/higan' g++13 -x c++ -std=3Dc++14 -O3 -fno-strict-aliasing -fwrapv -I/usr/local/inc= lude -I. -I.. -fopenmp -DSFC_SUPERGAMEBOY -c target-tomoko/tomoko.cpp -o obj/ui-tomoko.o g++13 -x c++ -std=3Dc++14 -O3 -fno-strict-aliasing -fwrapv -I/usr/local/inc= lude -I. -I.. -fopenmp -DSFC_SUPERGAMEBOY -c target-tomoko/program/program.cpp -o obj/ui-program.o g++13 -x c++ -std=3Dc++14 -O3 -fno-strict-aliasing -fwrapv -I/usr/local/inc= lude -I. -I.. -fopenmp -DSFC_SUPERGAMEBOY -c target-tomoko/configuration/configuration.cpp -o obj/ui-configuration.o In file included from ../nall/arithmetic.hpp:26, from ../nall/nall.hpp:18, from target-tomoko/configuration/../tomoko.hpp:1, from target-tomoko/configuration/configuration.cpp:1: ../nall/arithmetic/natural.hpp: In function 'void nall::div(const uint256_t= &, const uint256_t&, uint256_t&, uint256_t&)': ../nall/arithmetic/natural.hpp:240:23: error: 'runtime_error' is not a memb= er of 'std' 240 | 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>'? Full log: https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-09-= 06_17h55m19s/logs/errors/higan-106_12.log Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273397 [Bug 273397] [exp-run] Update GCC_DEFAULT to 13 etc. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273677-7788>