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
In file included from ~/src/scapix-uint-bug/generated/bridge/objc/bridge/bridge/Contact.mm:4:
In file included from ~/.cmodule/scapix/1.0.11/source/../../../../src/scapix-uint-bug/contact.h:2:
In file included from ~/.cmodule/scapix/1.0.11/source/scapix/bridge/object.h:11:
In file included from ~/.cmodule/scapix/1.0.11/source/scapix/bridge/objc/object.h:91:
~/.cmodule/scapix/1.0.11/source/scapix/link/objc/convert.h:32:12: error: implicit instantiation of undefined template 'scapix::link::objc::convert<NSNumber *, unsigned char, void>'
return convert<remove_cvref_t<ObjC>, remove_cvref_t<Cpp>>::objc(std::forward<Cpp>(cpp));
^
~/.cmodule/scapix/1.0.11/source/scapix/link/objc/convert.h:258:29: note: in instantiation of function template specialization 'scapix::link::objc::convert_objc<NSNumber *, const unsigned char &>' requested here
[arr addObject: convert_objc<objc_value>(element)];
^
~/.cmodule/scapix/1.0.11/source/scapix/link/objc/convert.h:32:64: note: in instantiation of member function 'scapix::link::objc::convert<NSArray<NSNumber *> *, std::__1::vector<unsigned char,
std::__1::allocator<unsigned char> >, void>::objc' requested here
return convert<remove_cvref_t<ObjC>, remove_cvref_t<Cpp>>::objc(std::forward<Cpp>(cpp));
^
In file included from ~/src/scapix-uint-bug/generated/bridge/objc/bridge/bridge/Contact.mm:4:
In file included from ~/.cmodule/scapix/1.0.11/source/../../../../src/scapix-uint-bug/contact.h:2:
In file included from ~/.cmodule/scapix/1.0.11/source/scapix/bridge/object.h:11:
~/.cmodule/scapix/1.0.11/source/scapix/bridge/objc/object.h:212:38: note: in instantiation of function template specialization 'scapix::bridge::objc::call_impl<&tiny::contact::testUInt8Vec>::call<NSArray<NSNumber *>
*, Contact>' requested here
return call_impl<Func>::template call<ObjcRet>(args...);
^
In file included from ~/src/scapix-uint-bug/generated/bridge/objc/bridge/bridge/Contact.mm:4:
In file included from ~/.cmodule/scapix/1.0.11/source/../../../../src/scapix-uint-bug/contact.h:2:
In file included from ~/.cmodule/scapix/1.0.11/source/scapix/bridge/object.h:11:
In file included from ~/.cmodule/scapix/1.0.11/source/scapix/bridge/objc/object.h:91:
~/.cmodule/scapix/1.0.11/source/scapix/link/objc/convert.h:27:8: note: template is declared here
struct convert;
^
1 warning and 1 error generated.
** BUILD FAILED **
The following build commands failed:
CompileC build/xcode_mac_objc/tiny_bridge.build/Debug/bridge.build/Objects-normal/x86_64/Contact.o generated/bridge/objc/bridge/bridge/Contact.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
The text was updated successfully, but these errors were encountered:
Using
tiny_bridge
example add a function returning a container ofuint8_t
s (or any otheruint
type):Compile with:
The build fails:
The text was updated successfully, but these errors were encountered: