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
{{ message }}
This repository was archived by the owner on Feb 20, 2024. It is now read-only.
This looks like a bug in my control flow analysis. I can fix that bug and in the meantime you can just move the throw statement outside the switch statement to get it to compile.
However, the file jsapi.sk binds the Skew API to the JavaScript runtime and so is very unlikely to work when cross-compiled to C++. It's sometimes desirable to write Skew bindings to JavaScript in Skew so that the Skew compiler can include that code in the JavaScript minification and other optimizations that the compiler does. This is not the case for the C++ target. Skew's type system cannot express most of the C++ type system, so Skew bindings to C++ are best written in C++. See https://github.com/evanw/sky/blob/master/osx/osx.mm for an example.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello !
Trying to compile skew-api to C++ gives this error:
The text was updated successfully, but these errors were encountered: