Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+build constraint for convert_unix.go #2

Merged
merged 1 commit into from Oct 2, 2012
Merged

+build constraint for convert_unix.go #2

merged 1 commit into from Oct 2, 2012

Conversation

bigwhoop
Copy link
Contributor

@bigwhoop bigwhoop commented Oct 2, 2012

The package won't compile under Windows because the convert_unix.go file is included.

# github.com/jessevdk/go-flags
..\..\..\..\github.com\jessevdk\go-flags\convert_unix.go:16: undefined: syscall.SYS_IOCTL
..\..\..\..\github.com\jessevdk\go-flags\convert_unix.go:19: not enough arguments in call to syscall.Syscall
..\..\..\..\github.com\jessevdk\go-flags\convert_windows.go:3: getTerminalColumns redeclared in this block
        previous declaration at ..\..\..\..\github.com\jessevdk\go-flags\convert_unix.go:13

See http://golang.org/pkg/go/build/

jessevdk added a commit that referenced this pull request Oct 2, 2012
+build constraint for convert_unix.go
@jessevdk jessevdk merged commit 08790ce into jessevdk:master Oct 2, 2012
peterebden added a commit to peterebden/go-flags that referenced this pull request Dec 9, 2020
Add a function to programmatically add new options to groups.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants