Page MenuHomeFreeBSD

Allow users to override CSTD/CXXSTD on a per-prog basis
ClosedPublic

Authored by ngie on Mar 28 2019, 5:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 28, 10:49 AM
Unknown Object (File)
Dec 3 2024, 3:51 AM
Unknown Object (File)
Nov 15 2024, 7:20 PM
Unknown Object (File)
Nov 15 2024, 11:09 AM
Unknown Object (File)
Oct 4 2024, 8:57 AM
Unknown Object (File)
Sep 23 2024, 6:28 PM
Unknown Object (File)
Sep 12 2024, 4:03 PM
Unknown Object (File)
Sep 8 2024, 5:47 PM
Subscribers

Details

Summary

The current logic for CSTD/CXXSTD requires homogenity as far as the
supported C/C++ standards, which is a sensible default. However, when
dealing with differing versions of C++, some code may compile with C++11, but
not C++17 (for instance), so in order to avoid having people convert over their
code to the new standard, give the users the ability to specify the standard on
a per-program basis..

This will allow a user to override the supporting standard for a set of
programs, mixing C++11 with C++14 (for instance).

MFC after: 2 months
MFC with: r345706

Test Plan

buildworld

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable