You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the functions nested in the BigInteger class, so I am trying to use EMScripten binding, and I keep getting the same error. I followed the EMScripten documentation pretty closely:
The error is not helpful in this case, but it's coming from the template matching failing since multBy is overloaded and clang doesn't know which function you want to use. There's the select_overload helper for this. e.g.
I am not really sure how to use the select_overload helper, allow_raw_pointers() is the only thing I've tried, and I was having issues. I added your example to my EMSCRIPTEN_BINDINGS , and I got this error: Implicitly binding raw pointers is illegal. Specify allow_raw_pointer<arg<?>>
I think it has to do with the fact that we are trying to allow raw pointers on a function instead of a property, correct me if I'm wrong. Thanks for your help by the way.
Please include the following in your bug report:
Version of emscripten/emsdk:
Failing command line in full:
My code is in the following files:
BigInteger.cpp:
BigInteger.cpp.txt
BigInteger.h:
BigInteger.h.txt
I am trying to use the functions nested in the BigInteger class, so I am trying to use EMScripten binding, and I keep getting the same error. I followed the EMScripten documentation pretty closely:
The text was updated successfully, but these errors were encountered: