clear-code / statistics

Statistics of ClearCode Inc. activity
Other
0 stars 2 forks source link

go-gir-generator: undefined SettingsBackendLike #67

Open kou opened 6 years ago

kou commented 6 years ago
package main

import "gir/gio-2.0"

func main() {
}

をビルドするとエラーになる。

% go build a.go
# gir/gio-2.0
../src/gir/gio-2.0/gio.go:10031: undefined: SettingsBackendLike
../src/gir/gio-2.0/gio.go:10046: undefined: SettingsBackendLike
cosmo0920 commented 6 years ago

Debian Stretch 9.3 Go 1.9.4 ではUndefinedエラーになりませんでした。。。

% pkg-config --modversion gio-2.0
2.50.3
cosmo0920 commented 6 years ago
% go build a.go
# command-line-arguments
./a.go:3:8: imported and not used: "gir/gio-2.0" as gio