Closed gopherbot closed 9 years ago
i still have a similar error: --- cd ../misc/cgo/stdio rm -rf *.[568vqo] *.a [568vq].out *.cgo[12].go *.cgo[34].c *.so _obj _test _testmain.go hello fib chain run.out cgo file.go could not determine kind of name for C.puts could not determine kind of name for C.CString could not determine kind of name for C.fflushstdout could not determine kind of name for C.free failed to interpret gcc output: cc1: warnings being treated as errors cgo-test: In function ‘f’: cgo-test:0: erreur: déclaration sans effet cgo-test:1: erreur: déclaration sans effet cgo-test:2: erreur: déclaration sans effet cgo-test:3: erreur: déclaration sans effet make: *** [file.cgo1.go] Erreur 2 using gcc 4.4.2
CL https://golang.org/cl/9696 mentions this issue.
CL https://golang.org/cl/13022 mentions this issue.
CL https://golang.org/cl/13380 mentions this issue.
CL https://golang.org/cl/14473 mentions this issue.
CL https://golang.org/cl/16475 mentions this issue.
CL https://golang.org/cl/24743 mentions this issue.
by rsc+personal@swtch.com: