title: How can I use GSL with C++11 and the new STL?
body: <p>I am setting up a new C++ project (in Xcode 4.6) and I would very much like to use the features of the new C++11 standard (lambda expressions, auto, etc.). I am trying to (statically) link the Gnu Scientific Library (GSL) into this project, using Darson's answer to <a href="https://stackoverflow.com/questions/11127824/xcode-4-3-3-cant-find-any-header-files">this</a> previous question. However, his answer suggests to change the compiler to LLVM GCC 4.2, which does not support the new C++11 features.</p>
  
  <p>When I change to the default Apple LLVM compiler 4.2, build fails and I get a long list of errors that Xcode traces back to semantic issues (undeclared identifiers, unknown type names, etc.) in the headers of the new "libc++" STL.</p>
  
  <p>So my question is: <strong>Did anyone find a way to use GSL in the new C++11 standard?</strong> It doesn't necessarily have to be in Xcode, I am comfortable using any (UNIX) IDE or build environment.</p>