[Bug 272014] audio/festival: fix build with clang 16
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 272014] audio/festival: fix build with clang 16"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 272014] audio/festival: fix build with clang 16"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 272014] audio/festival: fix build with clang 16"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 272014] audio/festival: fix build with clang 16"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Jun 2023 16:33:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272014 Bug ID: 272014 Summary: audio/festival: 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: ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org CC: mi@ALDAN.algebra.com Flags: maintainer-feedback?(mi@ALDAN.algebra.com) CC: mi@ALDAN.algebra.com Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because audio/festival's build infrastructure does not explicitly set its C++ standard, this leads to an error: regexp.cc:178:22: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] STATIC char *regnext(register char *p); ^~~~~~~~~ To work around the error, define the register keyword away using CXXFLAGS. -- You are receiving this mail because: You are the assignee for the bug.