Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/cgo: wrong #line for /* */-style comments before import "C" #4019
test program: package main /* restricted int a; something; */ import "C" go build cgo6.go produces: # command-line-arguments cgo6.go:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’ cgo6.go:4: warning: data definition has no type or storage class the first error line should be at line 4.
This issue was closed.