Loading...
Home / Reply To: Compilation error for OREData build

Home Forums Help Compilation error for OREData build Reply To: Compilation error for OREData build

#3696
Peter Caspers
Keymaster

Hi Christos,

first of all here is an overview of the C++11 support in the different Visual Studio versions

Support for C++11-14-17

The first issue is related to the lack of “Alias Templates” support in VC11, the second to the lack of “Variadic Templates” support in VC11. Without variadic templates boost provides definitions of make_shared that take up to 10 parameters, in our case here we have 11. The workaround for this latter issue is to replace make_shared<T>(...) by boost::shared_ptr<T>(new T(...)).

However if you have VC12 or VC14 available it would of course be much easier to use this instead, that should work out of the box.

Best Regards
Peter