I have a custom data type that in practice can be either float
or double
. On every OS except OSX, I am able to successfully build this C++11 templa
The solution was to explicitly #include
on the OS X machine, as for some reason Visual Studio finds it in our dependencies and includes it, but clang does not. I will try to reproduce a similar chain of includes that our project has and reproduce the error in a minimalist way, as it may still be a problem either with Xcode or Visual Studio.