1
0
mirror of https://github.com/golang/go synced 2024-11-23 19:20:03 -07:00
go/include
Russ Cox 7d734d9252 build: remove various uses of C undefined behavior
If you thought gcc -ansi -pedantic was pedantic, just wait
until you meet clang -fsanitize=undefined.

I think this addresses all the reported "errors", but we'll
need another run to be sure.

all.bash still passes.

Update #5764

Dave, can you please try again?

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/13334049
2013-09-09 15:07:23 -04:00
..
plan9 include/plan9: define size_t to fix build breakage 2013-06-28 12:16:33 -07:00
ar.h gopack: change archive file name length back to 16 2011-11-01 00:29:16 -04:00
bio.h build: remove various uses of C undefined behavior 2013-09-09 15:07:23 -04:00
bootexec.h
fmt.h
libc.h cmd/dist, cmd/ld: GO_EXTLINK_ENABLED=0 defaults to -linkmode=internal 2013-03-29 16:33:35 -07:00
mach.h libmach: support reading symbols from Windows .exe for nm 2011-08-29 14:25:43 -04:00
README include: add a README file 2013-05-22 18:51:15 +08:00
u.h build: define getcallerpc in u.h (fix for Plan 9 build) 2011-07-25 13:45:44 -04:00
ureg_amd64.h
ureg_arm.h support for 5.out files 2009-10-19 22:33:56 -07:00
ureg_x86.h
utf.h

The header files under this directory are strictly internal to the gc
toolchain, so please don't copy them to the system include file
directory (/usr/include, /usr/local/include, etc.)

Also note that they must be kept as is in $GOROOT/include, or cmd/dist
will malfunction.