TessellatedItemConverter.h compile C3533 error
when I build SimpleViewerExample by visual stdio 2013,it throw out the C3533 error: e:\prjs\ifcplusplus-master\ifcplusplus\src\ifcpp\geometry\carve\TessellatedItemConverter.h(121): error C3533: “auto”: a parameter cannot have a type that contains 'auto' But compile the same project by vs2017,it success no error! Please tell me how to compile the project using vs2013. thanks!
The TessellatedItemConverter uses templated lambdas from C++14. You need at least VS 2015 for those.
If I have time in the following days I might be able to write provide a patch on a branch to use explicit types which should compile under older compilers.
oh! thank you!!!
Ok, I changed the lines. It should compile under VS2013 now, but I haven't tested it.
Pull the changes from this branch (it should simply fast forward if you checked out the latest version from this repository): https://github.com/loebl/ifcplusplus/tree/bug/tesselateditemconverter-fully-cxx11-compatible
I hava test it! It compiled ok under vs2013, and run ok also! good job!