]> git.ipfire.org Git - thirdparty/zstd.git/commit
[contrib/pzstd] Detect and Select Maximum Available C++ Standard
authorW. Felix Handte <w@felixhandte.com>
Mon, 27 Mar 2023 15:24:47 +0000 (11:24 -0400)
committerW. Felix Handte <w@felixhandte.com>
Mon, 27 Mar 2023 15:24:47 +0000 (11:24 -0400)
commit1b8bddc41ea721d1ff8056280bbf62d3bb0da344
tree21adb42ffa1706be5bacfe3cffe036c71c6bc462
parent167157dd7488a7cf56d6b2acabf8b8607a3974c3
[contrib/pzstd] Detect and Select Maximum Available C++ Standard

Rather than remove the flag entirely, as proposed in #3499, this commit uses
the newest C++ standard the compiler supports. This retains the selection of
using only standardized features (excluding GNU extensions) and keeps the
recency requirements of the codebase explicit.

Tested with various versions of `g++` and `clang++`.
contrib/pzstd/Makefile