Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2013 15:28:06 +0800 (SGT)
From:      Quark <unixuser2000-fbsd@yahoo.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   clang and c++11 question
Message-ID:  <1377588486.24880.YahooMailNeo@web190706.mail.sg3.yahoo.com>

next in thread | raw e-mail | index | archive | help
% uname -a=0AFreeBSD cobalt.corp.nai.org 9.2-RC3 FreeBSD 9.2-RC3 #0 r254795=
: Sat Aug 24 20:25:04 UTC 2013 =A0 =A0 root@bake.isc.freebsd.org:/usr/obj/u=
sr/src/sys/GENERIC =A0amd64=0A=0A=0A% clang++ --version=0AFreeBSD clang ver=
sion 3.3 (tags/RELEASE_33/final 183502) 20130610=0ATarget: x86_64-unknown-f=
reebsd9.2=0AThread model: posix=0A=0Aclang 3.3 is C++11 feature complete, b=
ut it fails to find <future> and/or <thread> headers.=0Asince it is looking=
 in system compiler path, which is old gcc4.2, not C++11 ready=0A=0Ahow to =
make clang refer headers from gcc48's installation( via pkg_add)?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1377588486.24880.YahooMailNeo>