Just for the benefit of other folks reading this thread, my next suggestion would have been Create a new user account and see if the problem replicates there.
And my suggestion is to run clang++ —verbose, and compare the output. It will generally reveal wrong paths, different versions, etc.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: