FreeBSD Bugzilla – Attachment 241713 Details for
Bug 271054
devel/kyua: fix build with clang 16
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
devel/kyua: fix build with clang 16
devel__kyua-fix-clang16-build-1.diff (text/plain), 1.79 KB, created by
Dimitry Andric
on 2023-04-24 20:29:47 UTC
(
hide
)
Description:
devel/kyua: fix build with clang 16
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2023-04-24 20:29:47 UTC
Size:
1.79 KB
patch
obsolete
>commit a2e622fbd837d1a573b785952902fad79ff17a7b >Author: Dimitry Andric <dim@FreeBSD.org> >Date: 2023-04-24 22:27:12 +0200 > > devel/kyua: fix build with clang 16 > > Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. > Because devel/kyua's Makefile does not explicitly set its C++ standard, > this leads to several errors: > > In file included from cli/cmd_about.cpp:29: > In file included from ./cli/cmd_about.hpp:35: > ./cli/common.hpp:71:14: error: no template named 'auto_ptr' in namespace 'std' > typedef std::auto_ptr< cli_command > cli_command_ptr; > ~~~~~^ > In file included from cli/cmd_db_exec.cpp:29: > In file included from ./cli/cmd_db_exec.hpp:37: > ./cli/common.hpp:71:14: error: no template named 'auto_ptr' in namespace 'std' > typedef std::auto_ptr< cli_command > cli_command_ptr; > ~~~~~^ > In file included from cli/cmd_db_migrate.cpp:29: > In file included from ./cli/cmd_db_migrate.hpp:35: > ./cli/common.hpp:71:14: error: no template named 'auto_ptr' in namespace 'std' > typedef std::auto_ptr< cli_command > cli_command_ptr; > ~~~~~^ > In file included from cli/cmd_config.cpp:29: > In file included from ./cli/cmd_config.hpp:35: > ./cli/common.hpp:71:14: error: no template named 'auto_ptr' in namespace 'std' > typedef std::auto_ptr< cli_command > cli_command_ptr; > ~~~~~^ > > Add USE_CXXSTD=gnu++98 to avoid these errors. > >diff --git a/devel/kyua/Makefile b/devel/kyua/Makefile >index 1c3ebd4a8895..810b1d869303 100644 >--- a/devel/kyua/Makefile >+++ b/devel/kyua/Makefile >@@ -15,6 +15,7 @@ LICENSE= BSD3CLAUSE > LIB_DEPENDS= liblutok.so:devel/lutok > > USES= lua pkgconfig sqlite >+USE_CXXSTD= gnu++11 > > GNU_CONFIGURE= yes > CONFIGURE_ARGS= --docdir=${DOCSDIR} \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 271054
: 241713