opnsense-src/lib/ofed
John Baldwin 6527682ab7 src: Use gnu++17 as the default C++ standard
Previously the compiler's default C++ standard was used unlike C where
bsd.sys.mk explicitly sets a default language version.  Setting an
explicit default version will give a more uniform experience across
different compilers and compiler versions.

gnu++17 was chosen to match the default C standard.  It is well
supported by a wide range of clang (5+) and GCC (9+) versions.

gnu++17 is also the default C++ standard in recent versions of clang
(16+) and GCC (11+).  As a result, many of the explicit CXXSTD
settings in Makefiles had the effect of lowering the C++ standard
instead of raising it as was originally intended and are removed.

Note that the remaining explicit CXXSTD settings for atf and liblutok
explicitly lower the standard to C++11 due to use of the deprecated
auto_ptr<> template which is removed in later versions.

Reviewed by:	imp, asomers, dim, emaste
Differential Revision:	https://reviews.freebsd.org/D49223
2025-04-11 09:53:50 -04:00
..
complib Retire MK_PROFILE infrastructure 2024-11-12 12:11:51 -05:00
include Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
libbnxtre Retire MK_PROFILE infrastructure 2024-11-12 12:11:51 -05:00
libcxgb4 Retire MK_PROFILE infrastructure 2024-11-12 12:11:51 -05:00
libibcm Retire MK_PROFILE infrastructure 2024-11-12 12:11:51 -05:00
libibmad Retire MK_PROFILE infrastructure 2024-11-12 12:11:51 -05:00
libibnetdisc src: Use gnu++17 as the default C++ standard 2025-04-11 09:53:50 -04:00
libibumad Retire MK_PROFILE infrastructure 2024-11-12 12:11:51 -05:00
libibverbs Retire MK_PROFILE infrastructure 2024-11-12 12:11:51 -05:00
libirdma Retire MK_PROFILE infrastructure 2024-11-12 12:11:51 -05:00
libmlx4 Retire MK_PROFILE infrastructure 2024-11-12 12:11:51 -05:00
libmlx5 Retire MK_PROFILE infrastructure 2024-11-12 12:11:51 -05:00
libopensm Retire MK_PROFILE infrastructure 2024-11-12 12:11:51 -05:00
librdmacm Retire MK_PROFILE infrastructure 2024-11-12 12:11:51 -05:00
libvendor Retire MK_PROFILE infrastructure 2024-11-12 12:11:51 -05:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.inc Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00