How to create ODB on Mac OS X 10.11

I am trying to build an ODB on El Capitan. I am confused by the versions of xcode as they relate to clang.

Looking at ODB Announcement 2.4.0 shows the following information:

Platform     Compiler Version  C++ Std     Arch       Qt Boost Databases
-------------------------------------------------------------------------
Mac OS X      Clang   3.5      C++11     x86 32/64    -    -   All ex MS SQL

It sounds simple enough, so I need Clang 3.5!

On my Mac, I run the following

$ g++ -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin15.0.0
Thread model: posix

And now I'm confused, as it clang-602.0.53seems completely different from clang 3.5.

Where can I find Clang 3.5 and use it to create an ODB?

+4
source share

Source: https://habr.com/ru/post/1618651/


All Articles