Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Oct 2014 06:49:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 194258] CSTD idiom doesn't exist for CXXFLAGS
Message-ID:  <bug-194258-8-pHcVuhAmoV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194258-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194258-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194258

--- Comment #1 from Dimitry Andric <dim@FreeBSD.org> ---
Since the standard names for C and C++ are different, you cannot really use the
CSTD variable.  I would suggest using CXXSTD, which is consistent with all the
other "CXX" prefixes.

The available options should probably be:
* c++98
* gnu++98
* c++03
* gnu++03
* c++0x
* gnu++0x
* c++11
* gnu++11
* c++1y
* gnu++1y
* c++14    (these are only available from clang 3.5 and higher)
* gnu++14

Although the usefulness of the 03, 0x and 1y 'standards' is debatable, at least
for the base system.  For ports, all of these should obviously be available.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194258-8-pHcVuhAmoV>