On 3/27/2016 1:19 PM, Peter Dimov wrote:
Edward Diener wrote:
Then you and whoever would like to have Boost PP and/or Boost VMD work with clang emulating VC++ can make the changes in those libraries to support what you want as far as I am personally concerned.
The point is that no changes need to be made to Boost PP/VMD. You just make sure you're using the VC++ code instead of the conforming code, and if that doesn't work, the ball is in Clang's court, because it was their decision to be bug compatible.
In order to use VC++ code in PP and VMD the clang compiler supporting VC++ has to be identified and set to use the VC++ workarounds. That code for both PP and VMD is in /boost/preprocessor/config/config.hpp. I need to know what are the preprocessor defines being set by clang when it is in the mode that supports VC++. Is both __clang__ and _MSC_VER defined in all cases ?