[Bug 273677] emulators/higan: Fails to build with GCC 13: error: 'runtime_error' is not a member of 'std'
Date: Sun, 10 Sep 2023 07:24:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273677
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 help
finding ta fix: https://gcc.gnu.org/gcc-13/porting_to.html
===> Building for higan-106_12
gmake[1]: Entering directory
'/wrkdirs/usr/ports/emulators/higan/work/higan_v106-source/higan'
g++13 -x c++ -std=c++14 -O3 -fno-strict-aliasing -fwrapv -I/usr/local/include
-I. -I.. -fopenmp -DSFC_SUPERGAMEBOY -c target-tomoko/tomoko.cpp -o
obj/ui-tomoko.o
g++13 -x c++ -std=c++14 -O3 -fno-strict-aliasing -fwrapv -I/usr/local/include
-I. -I.. -fopenmp -DSFC_SUPERGAMEBOY -c target-tomoko/program/program.cpp -o
obj/ui-program.o
g++13 -x c++ -std=c++14 -O3 -fno-strict-aliasing -fwrapv -I/usr/local/include
-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 member
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=273397
[Bug 273397] [exp-run] Update GCC_DEFAULT to 13 etc.
--
You are receiving this mail because:
You are the assignee for the bug.