ruiaylin / goprotobuf

Automatically exported from code.google.com/p/goprotobuf
Other
0 stars 0 forks source link

broken with current tip of go #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use go tip (12180:717ec2279729)
2. go get -u code.google.com/p/goprotobuf/{proto,protoc-gen-go}

What is the expected output? What do you see instead?
expected: go get returns silently and installs protobuf package
instead:

$ go get -u code.google.com/p/goprotobuf/{proto,protoc-gen-go}
# code.google.com/p/goprotobuf/proto
src/code.google.com/p/goprotobuf/proto/decode.go:358: undefined: 
unsafe.Unreflect
src/code.google.com/p/goprotobuf/proto/decode.go:638: undefined: unsafe.New
src/code.google.com/p/goprotobuf/proto/decode.go:656: undefined: unsafe.New
src/code.google.com/p/goprotobuf/proto/decode.go:661: undefined: 
unsafe.Unreflect
src/code.google.com/p/goprotobuf/proto/decode.go:695: undefined: unsafe.New
src/code.google.com/p/goprotobuf/proto/decode.go:711: undefined: 
unsafe.Unreflect
src/code.google.com/p/goprotobuf/proto/encode.go:276: undefined: 
unsafe.Unreflect
src/code.google.com/p/goprotobuf/proto/encode.go:487: undefined: 
unsafe.Unreflect

Please provide any additional information below.

Can be fixed with http://tip.golang.org/doc/go1.html#unsafe I think.

Original issue reported on code.google.com by sarnow...@new-thoughts.org on 21 Feb 2012 at 10:44

GoogleCodeExporter commented 9 years ago
Protobuf is the example how to fix it itself.. how do I get this changes with 
"go get"?

Original comment by sarnow...@new-thoughts.org on 21 Feb 2012 at 10:46

GoogleCodeExporter commented 9 years ago
Appears to be fixed now.

Original comment by jimmyzel...@gmail.com on 31 Mar 2012 at 8:30

GoogleCodeExporter commented 9 years ago

Original comment by r@golang.org on 31 Mar 2012 at 12:08