Closed
Description
Trying to compile libsass on Visual Studio 2017 on Windows fails with error(s):
operation.hpp(191): error C2027: use of undefined type 'Sass::Selector_List'
operation.hpp(191): error C2027: use of undefined type 'Sass::Complex_Selector'
...
(Errors are repeating themselves, just with different classes).
I'm not very familiar with the code, but changing typeid to use x instead of *x:
throw std::runtime_error(msg + typeid(*x).name());
to:
throw std::runtime_error(msg + typeid(x).name());
Allows libsass to compile successfully.