Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2023 16:33:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272014] audio/festival: fix build with clang 16
Message-ID:  <bug-272014-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272014

            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.

--=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-272014-7788>