Skip to content

Self-test failure on 32-bit i386 platform #19

@jas4711

Description

@jas4711

Hi! I'm packaging your project for inclusion into Debian. Do you have any generic considerations related to that? While doing so I noticed that one of the self-tests fail on 32-bit platforms. Do you have some idea how to rewrite this so it works on 32-bit archs too?

# github.com/nlpodyssey/gopickle/pickle [github.com/nlpodyssey/gopickle/pickle.test]
src/github.com/nlpodyssey/gopickle/pickle/pickle_test.go:101:42: cannot use 100200300400 (untyped int constant) as int value in argument to loadsNoErrEqual (overflows)
src/github.com/nlpodyssey/gopickle/pickle/pickle_test.go:106:43: cannot use -100200300400 (untyped int constant) as int value in argument to loadsNoErrEqual (overflows)
src/github.com/nlpodyssey/gopickle/pickle/pickle_test.go:357:50: cannot use 100200300400 (untyped int constant) as int value in argument to loadsNoErrEqual (overflows)
src/github.com/nlpodyssey/gopickle/pickle/pickle_test.go:362:62: cannot use -100200300400 (untyped int constant) as int value in argument to loadsNoErrEqual (overflows)
FAIL	github.com/nlpodyssey/gopickle/pickle [build failed]

Thanks,
Simon

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