Date: Sat, 03 Sep 2022 09:14:29 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266191] emulators/openmsx: error: 'time_t' does not name a type Message-ID: <bug-266191-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266191 Bug ID: 266191 Summary: emulators/openmsx: error: 'time_t' does not name a type Product: Ports & Packages Version: Latest Hardware: Any URL: http://package18.nyi.freebsd.org/data/123amd64-default -foo/2022-08-30_18h10m18s/logs/errors/openmsx-18.0.log OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: salvadore@freebsd.org CC: dmenelkir@gmail.com Blocks: 265948 Flags: maintainer-feedback?(dmenelkir@gmail.com) CC: dmenelkir@gmail.com Updating GCC_DEFAULT from GCC 11 to GCC 12 is blocked by the fact that buil= ding this port with GCC 12 on i386 and amd64 fails. The error message is the following: Compiling file/CompressedFileAdapter.cc... In file included from src/file/CompressedFileAdapter.hh:4, from src/file/CompressedFileAdapter.cc:1: src/file/FileBase.hh:34:31: error: 'time_t' does not name a type 34 | [[nodiscard]] virtual time_t getModificationDate() =3D 0; | ^~~~~~ src/file/FileBase.hh:8:1: note: 'time_t' is defined in header '<ctime>'; did you forget to '#include <ctime>'? 7 | #include <string> +++ |+#include <ctime> 8 |=20 src/file/CompressedFileAdapter.hh:34:30: error: 'time_t openmsx::CompressedFileAdapter::getModificationDate()' marked 'final', but = is not virtual 34 | [[nodiscard]] time_t getModificationDate() final; | ^~~~~~~~~~~~~~~~~~~ src/file/CompressedFileAdapter.cc: In member function 'time_t openmsx::CompressedFileAdapter::getModificationDate()': src/file/CompressedFileAdapter.cc:128:29: error: 'class openmsx::FileBase' = has no member named 'getModificationDate' 128 | return file ? file->getModificationDate() | ^~~~~~~~~~~~~~~~~~~ gmake[1]: *** [build/main.mk:498: derived/x86-freebsd-i686/obj/file/CompressedFileAdapter.cc.o] Error 1 Please see also the log in the URL field. This URL might be useful to solve= the issue: http://gcc.gnu.org/gcc-12/porting_to.html . Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265948 [Bug 265948] [exp-run] Update GCC_DEFAULT from 11 to 12 --=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-266191-7788>