alex.b...@gmail.com
unread,Aug 14, 2014, 7:56:57 PM8/14/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to r...@golang.org, r...@golang.org, golang-co...@googlegroups.com, re...@codereview-hr.appspotmail.com
LGTM
but the build is broken now:
#
code.google.com/p/go.sys/windows
./errors_windows.go:11: cannot use ERROR_FILE_NOT_FOUND as type
syscall.Errno in const initializer
./errors_windows.go:12: cannot use ERROR_PATH_NOT_FOUND as type
syscall.Errno in const initializer
./ztypes_windows.go:9: undefined: syscall
./ztypes_windows.go:10: undefined: syscall
./ztypes_windows.go:11: undefined: syscall
./ztypes_windows.go:12: undefined: syscall
./ztypes_windows.go:13: undefined: syscall
./ztypes_windows.go:14: undefined: syscall
./ztypes_windows.go:15: undefined: syscall
./ztypes_windows.go:16: undefined: syscall
./ztypes_windows.go:16: too many errors
You should have gone further and deleted errors_windows.go altogether.
None of consts still remaining in errors_windows.go (with exception of
APPLICATION_ERROR) are actually defined by Windows. We "invented" these
at the start of windows port to have minimal impact on existing Go
packages. I don't think we should keep them around.
Would you like me to try and do that?
Alex
https://codereview.appspot.com/122600043/