Cosmin Deaconu wrote:
The most recent update to the vector class added a
version check for Apple-provided clang compilers,
which seems to cause issues for some users using OS X.
Removing the version check (and just using the
preprocessor workaround for clang's aliasing bugs)
fixes it. The clang version reported by their
compilers is 8000042.
Yes, the Clang version reported by Apple Clang has no relationship to the version on other platforms, and they refuse to fix it. We have to rely on the "Apple build version". It would be useful if you could get the value of "Apple build version", which is in the macro named __apple_build_version__If there are any Mac users out there who can contribute more to find out this problem then please let us know. The problem is that previous versions of Clang do not distinguish between the vector types __m128, __m128i and __m128f, but apparently Apple Clang version 6.2.something does. They don't respond to bug reports about this. |