jacksondunstan / UnityNativeScripting

Unity Scripting in C++

Home Page:https://jacksondunstan.com/articles/3938

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to compile for IComparable

sekkit opened this issue · comments

struct IComparable;
template struct IComparable_1;

IComparableSystem::Double
it says C2989 'System::IComparable': class template has already been declared as a non-class template NativeScript C:\Projects\Research\unitycpp_190809\Unity\Libs\CppSource\NativeScript\Bindings.h

IComparable and many generics of IComparable<T> are exported in the example included in the repo and compile just fine. What changes did you make to cause it to not compile? Can you post your NativeScriptTypes.json, Bindings.h, and Bindings.cpp as well as any changes you've made to the repo?

Closing due to inactivity.