MacOS 10.10.3, Xcode 6.3.2, Intel Composer 2015 sp 3. Compiling against 10.10 (or 10.9) SDK, including any standard header (such as <algorithm>) that eventually includes cpp_type_traits.h or allocator.h, I get the errors below if the C++ standard library is set to libc++. The errors go away if I use libstdc++:
cpp_type_traits (from OS X 10.10/usr/include/c++/4.2.1/bits/cpp_type_traits.h)
One of our engineers tracked this down to an xcconfig file that contained:
ICC_OTHER_CFLAGS = $(OTHER_CFLAGS) -wd177,1478,1899 -vec_report0 -use-msasm -no-cxxlib -isystem$(SDKROOT)/usr/include/c++/4.2.1
The orange option is deprecated but harmless; the red item apparently caused this problem. We can now build this module against libc++.