Date: Thu, 18 May 2023 15:46:08 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271494] textproc/jade: fix build with clang 16 Message-ID: <bug-271494-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271494 Bug ID: 271494 Summary: textproc/jade: fix build with clang 16 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: cy@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: cy@FreeBSD.org Flags: maintainer-feedback?(cy@FreeBSD.org) Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because textproc/jade's Makefile does not explicitly set its C++ standard, this leads to an error: Recognizer.cxx:40:3: error: ISO C++17 does not allow 'register' storage c= lass specifier [-Wregister] register const Trie *pos =3D trie_.pointer(); ^~~~~~~~~ Add USE_CXXSTD=3Dgnu++98 to compile for C++98 with GNU extensions instead. --=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-271494-7788>