1
0
mirror of https://github.com/golang/go synced 2024-10-03 09:21:21 -06: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 lib9: enable on Plan 9 2014-02-13 20:06:41 +01:00
liblink liblink, runtime: make nacl/386 binaries valid. 2014-03-14 21:33:55 +01:00
libmach libmach: use different names for different Ureg types 2014-01-08 20:37:27 -05:00
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 cmd/go, cmd/cgo, make.bash: cross compiling with cgo enabled 2014-02-06 09:11:00 -08:00
make.bat
Make.dist
make.rc lib9: enable on Plan 9 2014-02-13 20:06:41 +01:00
race.bash
race.bat race.bat: set exit status 2013-12-17 15:09:42 +04:00
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