Date: Sat, 03 Sep 2022 09:27:54 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266194] math/ised: vm.h:78:3: error: 'clock_t' does not name a type Message-ID: <bug-266194-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266194 Bug ID: 266194 Summary: math/ised: vm.h:78:3: error: 'clock_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/ised-2.7.1_7.log OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: salvadore@freebsd.org Blocks: 265948 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: g++12 -DHAVE_CONFIG_H -I. -I.. -DVALUE=3DDOUBLE -DIVALUE=3DILONG -DTRAPOVE= RFLOWS=3D1 -DTOGGLESYSCALL=3D1 -DUSE_UTF8=3D1 -isystem /usr/local/include -O3 -pipe -O= 2 -pipe=20 -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc12=20 -Wl,-rpath=3D/usr/local/lib/gcc12 -isystem /usr/local/include -MT ised-ised= .o -MD -MP -MF .deps/ised-ised.Tpo -c -o ised-ised.o `test -f 'ised.cpp' || echo './'`ised.cpp In file included from ised.cpp:20: vm.h:78:3: error: 'clock_t' does not name a type 78 | clock_t start_time; | ^~~~~~~ vm.h:24:1: note: 'clock_t' is defined in header '<ctime>'; did you forget to '#include <ctime>'? 23 | #include "unroll.h" +++ |+#include <ctime> 24 |=20 *** [ised-ised.o] Error code 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-266194-7788>