Vector Class Discussion

Apple Clang version check unreliable
Author:  Date: 2017-05-09 12:15
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. My guess is that the version reported by Apple-provided clang is pure fantasy and should not be trusted. I don't have access to an OS X machine so I cannot provide too many more details.

For now, as a workaround, we are now using a patched in-tree version with the clang version check reverted.

 
thread Apple Clang version check unreliable - Cosmin Deaconu - 2017-05-09
last replythread Apple Clang version check unreliable new - Agner - 2017-05-09
last replythread Apple Clang version check unreliable new - Cosmin Deaconu - 2017-05-09
last replythread Apple Clang version check unreliable new - Agner - 2017-05-10
last replythread Apple Clang version check unreliable new - Royi - 2018-04-06
last reply Apple Clang version check unreliable new - Agner - 2018-04-06