1
0
mirror of https://github.com/golang/go synced 2024-11-27 00:01:23 -07:00
go/src
Russ Cox 32a6097fde cmd/go: clean cgo compiler errors
Cut out temporary cgo file in error message.
Show C.foo instead of _Ctype_foo.

Before:
x.go:20[/var/folders/00/05_b8000h01000cxqpysvccm000n9d/T/go-build242036121/command-line-arguments/_obj/x.cgo1.go:19]: cannot use tv.Usec (type int32) as type _Ctype___darwin_suseconds_t in assignment

After:
x.go:20: cannot use tv.Usec (type int32) as type C.__darwin_suseconds_t in assignment

Fixes #4255.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/7231075
2013-02-01 08:34:21 -08:00
..
cmd cmd/go: clean cgo compiler errors 2013-02-01 08:34:21 -08:00
lib9 lib9: declare __fixargv0 before use in flag.c 2013-01-22 17:23:36 -05:00
libbio
libmach cmd/ld: use native-endian symbol values in symbol table 2013-01-04 17:03:57 -05:00
pkg exp/cookiejar: remove external storage 2013-02-01 10:56:08 +11:00
all.bash
all.bat
all.rc
clean.bash
clean.bat
clean.rc
make.bash cmd/dist: support building on debian/kFreeBSD 2012-12-04 08:27:30 +11:00
make.bat lib9, cmd/dist, cmd/5l: embed GOARM into cmd/5l and auto detect GOARM 2012-10-22 14:26:36 +08:00
Make.dist
make.rc
race.bash src: add race.bash 2013-01-28 21:05:25 +11:00
run.bash run.bash: fix linux/arm build 2012-11-15 13:59:46 +11:00
run.bat run.{bash,bat,rc}: unset GOMAXPROCS before ../test 2012-11-15 11:40:10 +11:00
run.rc run.{bash,bat,rc}: unset GOMAXPROCS before ../test 2012-11-15 11:40:10 +11:00
sudo.bash sudo.bash: diagnose when the go tool is not in $PATH 2012-11-15 10:42:39 -08:00