HomeFreeBSD

bsd.sys.mk: Add NO_WDANGLING_POINTER helper variable.

Description

bsd.sys.mk: Add NO_WDANGLING_POINTER helper variable.

This variable expands to -Wno-dangling-pointer on GCC 12+.

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

(cherry picked from commit ad96424e31a8c8c87fac8077fd4304c6fb133e25)

Details

Provenance
jhbAuthored on Dec 5 2022, 12:26 AM
Reviewer
imp
Differential Revision
D37532: bsd.sys.mk: Add NO_WDANGLING_POINTER helper variable.
Parents
rG11a98ef22a4f: Explicitly set CXXSTD to c++11 for old C++ code using std::auto_ptr<>.
Branches
Unknown
Tags
Unknown