MSVC bugs are causing errors in building with GCC on Linux
twaritwaikar opened this issue · 1 comments
twaritwaikar commented
Master HEAD: dffd53a
OS version: Ubuntu 18.04 LTS
Steps to Reproduce: Try building on Linux
Apparently, Windows build is still using MSVC instead of MinGW. This is leading to compilation errors on Linux due to some bugs present in MSVC(e.g. MSCV allows passing anonymous objects as non-const references).
One solution is to change all reference parameters to const references and change the compiler explicitly to MinGW from the default MSVC in CMakeLists.txt.
twaritwaikar commented
Fixed in 8bd88f9