Context: I'm writing a small to medium sized C++11 application. I test it by building on Clang 4.8.5 and the latest Clang on OSX. I use CMake to generate Ninja files for the command line and an Xcode project for editing.
The problem: If I build the application via Xcode or GCC via the command line, the application builds perfectly. If I set the environment variable CXX to Clang (/Applications/http://ift.tt/1jmLxI7 or /usr/bin/clang) I get a very confusing stack trace.
Is there anything I'm missing about running Clang via the command line?
This is the stack trace.
Aucun commentaire:
Enregistrer un commentaire