HomeFreeBSD

Explicitly set CXXSTD to c++11 for old C++ code using std::auto_ptr<>.

Description

Explicitly set CXXSTD to c++11 for old C++ code using std::auto_ptr<>.

GCC 12 defaults to C++17 which removes (not just deprecates)
std::auto_ptr<>. Trying to use CXXSTD of c++03 doesn't work with
libc++ headers, but c++11 does.

Reviewed by: brooks, imp, emaste
Differential Revision: https://reviews.freebsd.org/D37531

(cherry picked from commit 42fb28cef42e883d808c9efadd44016563248817)

Details

Provenance
jhbAuthored on Nov 30 2022, 10:56 PM
Reviewer
brooks
Differential Revision
D37531: Explicitly set CXXSTD to c++11 for old C++ code using std::auto_ptr<>.
Parents
rG42ed407622aa: libefivar: Fix a buffer overread.
Branches
Unknown
Tags
Unknown