View Single Post
  #7   (View Single Post)  
Old 16th February 2012
thirdm thirdm is offline
Spam Deminer
 
Join Date: May 2009
Posts: 248
Default

Quote:
Originally Posted by aleunix View Post
So for C++ is sufficient use one or the other indicated on the title.
Good.
Thanks.
Btw if you want to start using C++11 features you'll want the gcc from ports, not the system compiler (or use clang from ports). The base gcc has no C++11 support at all. At this moment no compiler implements all of C++11 yet, so the later a compiler you can get for this the better. I don't know whether gcc or clang is a better bet at the moment or exactly how much work the porters have to do to get up to the latest one of each. I looked briefly and it looked to me like gcc 4.6 was ported (but broken on one architecture?), but I didn't go so far as to try the package (I have a bunch of things that have to happen first I won't bore you with and, besides, I'm quite happy to wait until Bjarne Stroustrup gets his book out to get going learning this stuff).
Reply With Quote