rothgar / gosqlite

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

Compilation Issues since r56 #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. checkout go tip from mercurial or -u release (not r56)
2. import github.com/thomaslee/go-dbd-sqlite
3. checkout gosqlite HEAD from mercurial using goinstall
4. manually trigger the build using gomake to get around Issue #10
5. build fails, Go revision is too new

What is the expected output? What do you see instead?
[~/go/src/pkg/gosqlite.googlecode.com/hg/sqlite]$ make
8g  -o _go_.8  _obj/sqlite.cgo1.go _obj/_cgo_gotypes.go
sqlite.go:340[_obj/sqlite.cgo1.go:343]: undefined: reflect.Typeof
make: *** [_go_.8] Error 1

What version of the product are you using? On what operating system?
Latest go version, latest gosqlite from HG tip.

Please provide any additional information below.
It still works with r56, but all of the other software that I use has been 
updated to work with r57 (or a separate maintenance branch for r56 exists, in 
the case of github.com/skelterjohn/go-gb)

What happened in reflect package?  Help!
(Thanks)

Original issue reported on code.google.com by yeb...@gmail.com on 5 May 2011 at 9:51

GoogleCodeExporter commented 8 years ago
I checked in #go-nuts and was told that it's an easy fix, just change Typeof to 
TypeOf

The attached patch does the trick

Original comment by XULRunne...@gmail.com on 8 May 2011 at 3:55

Attachments:

GoogleCodeExporter commented 8 years ago
Can confirm this works!

Original comment by omarshar...@gmail.com on 22 May 2011 at 8:43