We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In gccgo builds, the {Raw,}Syscall{,6} and gettimeofday functions in go.sys/unix are redeclared.
While gccgo tolerates this, this is technically incorrect according to the spec (https://golang.org/ref/spec#Declarations_and_scope):
"No identifier may be declared twice in the same block..."
The text was updated successfully, but these errors were encountered:
CL https://golang.org/cl/34379 mentions this issue.
Sorry, something went wrong.
Is there a bug tracking why gccgo tolerates that?
/cc @ianlancetaylor
golang/sys@d75a526
@bradfitz There is an Google-internal bug report against gccgo for this behavior. I'm not aware of an external one.
No branches or pull requests
In gccgo builds, the {Raw,}Syscall{,6} and gettimeofday functions in go.sys/unix are redeclared.
While gccgo tolerates this, this is technically incorrect according to the spec (https://golang.org/ref/spec#Declarations_and_scope):
"No identifier may be declared twice in the same block..."
The text was updated successfully, but these errors were encountered: