Clang, GCC, MS's, IBM's, Intel's, ... are all compilers – not C++ standard. That's two differents things. If your code doesn't use some extra features of [put a compiler name here] then it's all good (theoretically).
Moreover, clang on Mac is much better than the old gcc 4.2 available on older version of the OS...