-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'st_check_for_sizeof_st_index_t' declared as array with a negative size #130
Comments
What are the definitions of If this error occurs even if the both sizes are the same (maybe because of a compiler problem), you can comment out this line. |
Yes, both are 8:
So it sounds like an Emscripten compiler problem, I will comment it out. |
Is there a chance to add a workaround for it in the source? Would rather not be using a custom fork of the library. |
Does Emscripten have its own definition? (like Actually |
|
Reported at https://bugs.ruby-lang.org/issues/16025. |
See k-takata/Onigmo#130 for information
I tried building by |
|
Sorry I didn't reply in the original bug tracker - I did select the I don't know how to comment on there because there is no Yes I'm just trying to build Onigmo that is used as part of https://github.com/edbee/edbee-lib using Emscripten. |
Installed and acrtivated sdk-1.38.16-64bit, then run
But the size of pointer is still 4.
|
Please elaborate the way to reproduce the issue. |
It seems I have the same values:
I'm not sure what the issue is now, besides that check failing? My emcc is newer, sorry I gave the wrong command above - copy/pasted it on autopilot. |
@nobu is there anything I can provide to help you with this? |
@k-takata Sorry to bother, what can I do to get the library building in Emscripten? |
This way I got the same error.
I had a successful build this way. |
I'm trying to compile a library that used Onigmo with Emscripten 1.38.30 and I'm getting the following error:
Any ideas what could be wrong?
The text was updated successfully, but these errors were encountered: