1
0
mirror of https://github.com/golang/go synced 2024-11-15 06:10:35 -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
ar.h
bio.h
bootexec.h
fmt.h
libc.h
mach.h
README
u.h
ureg_amd64.h
ureg_arm.h
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.