Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2023 20:24:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271053] devel/lutok: fix build with clang 16
Message-ID:  <bug-271053-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 271053
           Summary: devel/lutok: 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: jmmv@FreeBSD.org
          Reporter: dim@FreeBSD.org
          Assignee: jmmv@FreeBSD.org
             Flags: maintainer-feedback?(jmmv@FreeBSD.org)

Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
Because devel/lutok's Makefile does not explicitly set its C++ standard,
this leads to an error:

  In file included from operations.cpp:35:
  ./stack_cleaner.hpp:75:10: error: no template named 'auto_ptr' in namespa=
ce
'std'
      std::auto_ptr< impl > _pimpl;
      ~~~~~^

Add USE_CXXSTD=3Dgnu++98 to avoid the error. While here, pet portlint.

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