[Bug 273679] emulators/openmsx: Fails to build with GCC 13: error: 'uint32_t' was not declared in this scope
Date: Sun, 10 Sep 2023 07:31:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273679 Bug ID: 273679 Summary: emulators/openmsx: Fails to build with GCC 13: error: 'uint32_t' was not declared in this scope 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 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 In file included from src/utils/hash_map.hh:9, from src/serialize_meta.hh:4, from src/serialize_core.hh:5, from src/serialize.hh:4, from src/EmuDuration.hh:4, from src/EmuTime.hh:4, from src/DynamicClock.hh:4, from src/Autofire.hh:5, from src/Autofire.cc:1: src/utils/hash_set.hh: In static member function 'static unsigned int hash_set<Value, Extractor, Hasher, Equal>::nextPowerOf2(unsigned int)': src/utils/hash_set.hh:653:58: error: 'uint32_t' was not declared in this scope 653 | static_assert(sizeof(unsigned) == sizeof(uint32_t), "only works for exactly 32 bit"); | ^~~~~~~~ src/utils/hash_set.hh:14:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? 13 | #include <cstdlib> +++ |+#include <cstdint> 14 | #include <functional> Full log: https://pkg-status.freebsd.org/package18/data/124amd64-default-foo/2023-09-06_17h55m19s/logs/errors/openmsx-18.0_1.log -- You are receiving this mail because: You are the assignee for the bug.