Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/cgo: incorrect line numbers #2697
The line numbers reported by error messages when cgo involved are wrong. Repro: * get https://github.com/mattn/go-sqlite3 * add a dummy field to the SQLiteStmt struct. * build See error message like: sqlite3.go:111[/tmp/go-build484757470/github.com/mattn/go-sqlite3/_obj/sqlite3.cgo1.go:114]: too few values in struct initializer ... and witness that 114 (or whatever) isn't actually where the struct initializer is. ante:go $ hg log | head changeset: 11230:52099988ec3a tag: tip user: Brad Fitzpatrick <firstname.lastname@example.org> date: Fri Jan 13 11:48:57 2012 -0800
This issue was closed.