Skip to content
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

x/mobile/gl: invalid constant #19997

Closed
donomii opened this issue Apr 16, 2017 · 2 comments
Closed

x/mobile/gl: invalid constant #19997

donomii opened this issue Apr 16, 2017 · 2 comments
Labels
FrozenDueToAge mobile Android, iOS, and x/mobile
Milestone

Comments

@donomii
Copy link

donomii commented Apr 16, 2017

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version go1.8.1 darwin/amd64

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/jprice/Desktop/GoProgs/"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/70/k2sr6gz55pl37sh53_qmldn8w28b70/T/go-build054519315=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"

What did you do?

Wrote a program using golang.org/x/mobile/gl

go build -tags gldebug .

What did you expect to see?

A compiled program

What did you see instead?

golang.org/x/mobile/gl

../../../golang.org/x/mobile/gl/gldebug.go:1126: constant 18446744073709551615 overflows Enum

@bradfitz bradfitz changed the title Invalid constant in golang.org/x/mobile/gl x/mobile/gl: invalid constant Apr 16, 2017
@gopherbot gopherbot added this to the Unreleased milestone Apr 16, 2017
@bradfitz bradfitz added the mobile Android, iOS, and x/mobile label Jul 20, 2017
@egonelbre
Copy link
Contributor

It looks like this might have been fixed by https://go-review.googlesource.com/53531

@mvdan
Copy link
Member

mvdan commented Jan 16, 2018

@egonelbre nice catch - that also makes this issue a dup of #17075. Closing.

@mvdan mvdan closed this as completed Jan 16, 2018
@golang golang locked and limited conversation to collaborators Jan 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge mobile Android, iOS, and x/mobile
Projects
None yet
Development

No branches or pull requests

5 participants