Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Windows build warnings #35

Closed
vmarkovtsev opened this issue Jan 15, 2018 · 2 comments
Closed

Windows build warnings #35

vmarkovtsev opened this issue Jan 15, 2018 · 2 comments
Labels

Comments

@vmarkovtsev
Copy link
Contributor

This is to keep track of the issues I had with building client-go on Windows.

$ go get -v gopkg.in/bblfsh/client-go.v2/...
gopkg.in/bblfsh/client-go.v2/tools
# gopkg.in/bblfsh/client-go.v2/tools
In file included from Users\User\go\src\gopkg.in\bblfsh\client-go.v2\tools\filter.go:14:0,
                 from _cgo_export.c:3:
Users\User\go\src\gopkg.in\bblfsh\client-go.v2\tools/bindings.h: In function 'CreateUast':
Users\User\go\src\gopkg.in\bblfsh\client-go.v2\tools/bindings.h:49:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
       .ChildrenSize = ChildrenSize,
                       ^
Users\User\go\src\gopkg.in\bblfsh\client-go.v2\tools/bindings.h:49:23: note: (near initialization for '(anonymous).ChildrenSize')
Users\User\go\src\gopkg.in\bblfsh\client-go.v2\tools/bindings.h:51:20: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
       .RolesSize = RolesSize,
                    ^
Users\User\go\src\gopkg.in\bblfsh\client-go.v2\tools/bindings.h:51:20: note: (near initialization for '(anonymous).RolesSize')
# gopkg.in/bblfsh/client-go.v2/tools
In file included from Users\User\go\src\gopkg.in\bblfsh\client-go.v2\tools\filter.go:14:0:
Users\User\go\src\gopkg.in\bblfsh\client-go.v2\tools/bindings.h: In function 'CreateUast':
Users\User\go\src\gopkg.in\bblfsh\client-go.v2\tools/bindings.h:49:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
       .ChildrenSize = ChildrenSize,
                       ^
Users\User\go\src\gopkg.in\bblfsh\client-go.v2\tools/bindings.h:49:23: note: (near initialization for '(anonymous).ChildrenSize')
Users\User\go\src\gopkg.in\bblfsh\client-go.v2\tools/bindings.h:51:20: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
       .RolesSize = RolesSize,
                    ^
@smola
Copy link
Member

smola commented Oct 2, 2018

Does this still apply to current version?

@vmarkovtsev
Copy link
Contributor Author

AFAIK libuast is being ported to Go so these warnings will be impossible, won't they?

@smola smola added the bug label Oct 2, 2018
@smola smola closed this as completed Oct 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants