So I just wanted to share the awesomeness of clang++.
Advantages:
* More c++11 compatibility than gcc (at the moment)
* Nicer error messages
How to do:
* Get the latest pre-release ubuntu. (I'm using ubuntu saucy 13.10)
* apt-get install clang-3.4
When you run cmake:
CXX="clang++" cmake .. -DCMAKE_CXX_FLAGS -I/usr/local/include
-I/usr/include -I/usr/include/x86_64-linux-gnu
-I/usr/include/x86_64-linux-gnu/c++/4.8
The reason the extra includes are needed, is because we're still using the
gnu STL, and the gnu compiler has those paths built in, but the clang one
needs to be told them.
All the best,
Matthew Sherborne
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest