Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F97410099
D37531.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D37531.diff
View Options
diff --git a/lib/atf/Makefile.inc b/lib/atf/Makefile.inc
--- a/lib/atf/Makefile.inc
+++ b/lib/atf/Makefile.inc
@@ -28,3 +28,6 @@
CFLAGS+= -DHAVE_CONFIG_H
WARNS?= 3
+
+# Permit use of auto_ptr for compilers defaulting to C++17 or later
+CXXSTD= c++11
diff --git a/lib/liblutok/Makefile b/lib/liblutok/Makefile
--- a/lib/liblutok/Makefile
+++ b/lib/liblutok/Makefile
@@ -22,5 +22,6 @@
# lutok uses auto_ptr
CFLAGS+= -Wno-deprecated-declarations
+CXXSTD= c++11
.include <bsd.lib.mk>
diff --git a/libexec/atf/atf-check/Makefile b/libexec/atf/atf-check/Makefile
--- a/libexec/atf/atf-check/Makefile
+++ b/libexec/atf/atf-check/Makefile
@@ -41,6 +41,7 @@
# Silence warnings about usage of deprecated std::auto_ptr
CXXWARNFLAGS+= -Wno-deprecated-declarations
+CXXSTD= c++11
LIBADD= atf_cxx
diff --git a/usr.bin/kyua/Makefile b/usr.bin/kyua/Makefile
--- a/usr.bin/kyua/Makefile
+++ b/usr.bin/kyua/Makefile
@@ -37,6 +37,7 @@
CFLAGS+= -I${SRCTOP}/contrib/sqlite3
# kyua uses auto_ptr
CFLAGS+= -Wno-deprecated-declarations
+CXXSTD= c++11
CFLAGS+= -DHAVE_CONFIG_H
# We compile the kyua libraries as part of the main executable as this saves
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 30, 3:31 AM (21 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13166887
Default Alt Text
D37531.diff (1 KB)
Attached To
Mode
D37531: Explicitly set CXXSTD to c++11 for old C++ code using std::auto_ptr<>.
Attached
Detach File
Event Timeline
Log In to Comment