Skip to content

x/sys/unix: functions redeclared in gccgo builds #18312

@stjj89

Description

@stjj89

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..."

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions