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

os/user: recently introduced -Wpointer-sign warning #14697

Closed
josharian opened this issue Mar 7, 2016 · 2 comments
Closed

os/user: recently introduced -Wpointer-sign warning #14697

josharian opened this issue Mar 7, 2016 · 2 comments

Comments

@josharian
Copy link
Contributor

After CL 19235, building on my OS X laptop, I get a warning during make.bash:

# os/user
os/user/lookup_unix.go:43:35: warning: passing 'gid_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/unistd.h:653:43: note: passing argument to parameter here

cc @bradfitz @ianlancetaylor @zombiezen

@cespare
Copy link
Contributor

cespare commented Mar 7, 2016

Dup of #14696, opened a couple of minutes earlier?

@josharian
Copy link
Contributor Author

Yes, a dup. Thanks, @cespare .

@golang golang locked and limited conversation to collaborators Mar 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants