On Oct 25, 2013, at 2:34 AM, Dimitry Andric <dimi...@andric.com> wrote:

> On 25 Oct 2013, at 11:09, Steven Hartland <s...@freebsd.org> wrote:
>> Author: smh
>> Date: Fri Oct 25 09:09:00 2013
>> New Revision: 257109
>> URL: http://svnweb.freebsd.org/changeset/base/257109
>> 
>> Log:
>> Add clang-CC and CC to list of hints allowing clang to identify its operating
>> mode as c++ instead of defaulting to c for the binary names CC and clang-CC.
>> 
>> This fixes builds that use cmake, which automatically sets CXX to
>> /usr/bin/CC by default.
> 
> Huh, I’ve never seen that behavior with cmake?  At least, not with any
> fairly recent version... 
> 
> Anyway, I do not really agree with this change, and I would rather just
> get rid of the /usr/bin/CC link instead.

Even if FreeBSD removes the default symlink, clang should
still default to C++ mode when invoked as CC (possibly
through a symlink created by an individual user).

> Build scripts and Makefiles
> should use "c++" instead, which is the standard name for a C++ compiler.

Ours should, yes.

Tim

_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to