Hi all, (1st time post, I hope this is on topic...) I notice that CMake is listed as one of the C++ projects that clang can build: <http://clang.llvm.org/cxx_status.html> I thought I'd pass on that I've created a nightly build of CMake that uses clang 1.1 (from llvm 2.7) <http://www.cdash.org/CDash/index.php?project=CMake> (search for 'clang') It does build, but... A) there are a bunch of warnings of this type: ld: warning: can't add line info to anonymous symbol 4-byte-literal B) two of CMake's unit tests make clang assert: Assertion failed: (TargetInitialized && "Target not initialized!"), function getTargetVersion, file ToolChains.h, line 100. Cheers, -- ____________________________________________________________ Sean McBride, B. Eng sean at rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada
Le 28 mai 2010 à 21:25, Sean McBride a écrit :> Hi all, > > (1st time post, I hope this is on topic...)I think cfe-dev (aka clang mailing list) will be more appropriate for this discussion. http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev> I notice that CMake is listed as one of the C++ projects that clang can build: > <http://clang.llvm.org/cxx_status.html> > > I thought I'd pass on that I've created a nightly build of CMake that > uses clang 1.1 (from llvm 2.7) > <http://www.cdash.org/CDash/index.php?project=CMake> > (search for 'clang') > > It does build, but... > > A) there are a bunch of warnings of this type: > > ld: warning: can't add line info to anonymous symbol 4-byte-literal > > B) two of CMake's unit tests make clang assert: > > Assertion failed: (TargetInitialized && "Target not initialized!"), > function getTargetVersion, file ToolChains.h, line 100. > > Cheers, >-- Jean-Daniel
On May 28, 2010, at 12:25 PM, Sean McBride wrote:> Hi all, > > (1st time post, I hope this is on topic...) > > I notice that CMake is listed as one of the C++ projects that clang can build: > <http://clang.llvm.org/cxx_status.html> > > I thought I'd pass on that I've created a nightly build of CMake that > uses clang 1.1 (from llvm 2.7) > <http://www.cdash.org/CDash/index.php?project=CMake> > (search for 'clang')Please use Clang from Subversion; Clang 1.1 from LLVM 2.7 is considered *ancient* in Clang-time :) - Doug