-
Notifications
You must be signed in to change notification settings - Fork 683
fix building without BIGINT #5047
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
Conversation
JerryScript-DCO-1.0-Signed-off-by: Maciej Musiał xt1@o2.pl
JerryScript-DCO-1.0-Signed-off-by: aksdfauytv rdkifk@jadamspam.pl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, the fix is necessary but currently it is just a half-solution. Please guard the bigint related usages in ecma_set_typedarray_element
method as well.
Can you elaborate? |
As I saw, the |
Obviously, that's why I created this pull request, it adds the guard. But you flagged the pull request as "Changes requested", so that's what I'm asking you about, what additional changes do you need? |
There is at least one more build fail related to ecma_bigint_to_bigint:
|
Although the additional bug is still present in your branch, within that line that @ossy-szeged marked, please rebase it onto master, and you will see which function contains the issue and what I mentioned to you and which where you also needs to add guards if the mentioned builtin is not enabled. You just need to follow the instructions you wrote in your PR, meaning build the project with the disabled bigint builtin, you will see what is required and why i requested changes... Update: I see where we misunderstood each other. At first, I highlighted the corrected function from the error messages on the master branch but not the other one, I apologize for that. My request for the modification still stands; please fix it. |
I see, I didn't notice the issue in ecma-atomics-object.c, because I was building with atomics disabled. Thank you for pointing it out. |
After #5166 this is fixes the build, no need for changes. |
Let's merge it as is, atomics part is fixed in #5166 |
someone forgot ifdef for bigint
JerryScript-DCO-1.0-Signed-off-by: Maciej Musiał xt1@o2.pl