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

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

@artob

Description

@artob

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions