Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

int/uint overflows when compiling for 32-bit targets #58

Open
artob opened this issue Jun 29, 2019 · 1 comment
Open

int/uint overflows when compiling for 32-bit targets #58

artob opened this issue Jun 29, 2019 · 1 comment

Comments

@artob
Copy link

artob commented Jun 29, 2019

Compiling the master branch (at 5105380) for the armeabi-v7a target, the compiler bails out at the following problems:

# github.com/Azure/golua/pkg/packer
github.com/Azure/golua/pkg/packer/scan.go:222:52: constant 1844674407370955161 overflows uint
# github.com/Azure/golua/std/math
github.com/Azure/golua/std/math/math.go:61:12: constant 9223372036854775807 overflows int
github.com/Azure/golua/std/math/math.go:65:12: constant -9223372036854775808 overflows int

Looks like it might be helpful to add a 32-bit target (x86 or ARM) to your test plan.

artob added a commit to Conreality/conreality-developer that referenced this issue Jun 29, 2019
@artob
Copy link
Author

artob commented Apr 5, 2020

Bump?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant