1
0
mirror of https://github.com/golang/go synced 2024-11-23 22:00:11 -07:00
go/src
Daniel Morsing 0f82cfd3f0 cmd/cgo: enforce typing of 0-sized types
cgo represents all 0-sized and unsized types internally as [0]byte. This means that pointers to incomplete types would be interchangable, even if given a name by typedef.

Fixes #7409.

LGTM=iant
R=golang-codereviews, bradfitz, iant
CC=golang-codereviews
https://golang.org/cl/76450043
2014-03-27 20:23:16 +00:00
..
cmd cmd/cgo: enforce typing of 0-sized types 2014-03-27 20:23:16 +00:00
lib9 lib9/utf: bring C environment up to Unicode 6.3.0 2014-02-25 17:49:32 -08:00
libbio
liblink liblink, runtime: make nacl/386 binaries valid. 2014-03-14 21:33:55 +01:00
libmach
pkg runtime: enable 'bad pointer' check during garbage collection of Go stack frames 2014-03-27 14:06:15 -04:00
all.bash
all.bat
all.rc
clean.bash
clean.bat
clean.rc
make.bash
make.bat
Make.dist
make.rc
race.bash
race.bat
run.bash run.bash: explain why we set GOMAXPROCS for runtime test 2014-03-06 13:16:14 +04:00
run.bat run.bash: explain why we set GOMAXPROCS for runtime test 2014-03-06 13:16:14 +04:00
run.rc run.bash: explain why we set GOMAXPROCS for runtime test 2014-03-06 13:16:14 +04:00
sudo.bash