1
0
mirror of https://github.com/golang/go synced 2024-10-07 01:21:21 -06:00
go/misc/cgo/testcshared
Dave Cheney ccaaf1f134 misc/cgo/testcshared, misc/cgo/testshared: fix clang warnings and errors
Fix several warnings generated on the linux-amd64-clang builder
and make it clear to clang that -znow is a linker only flag.

Tested with

    env CC=clang-3.5 ./all.bash
    env CC=gcc-4.8 ./all.bash

Change-Id: I5ca7366ba8bf6221a36d25a2157dda4b4f3e16fa
Reviewed-on: https://go-review.googlesource.com/9523
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-04-30 17:08:15 +00:00
..
src misc/cgo/testcshared: add a c-shared test for android/arm. 2015-04-24 16:32:31 +00:00
main0.c misc/cgo/testcshared, misc/cgo/testshared: fix clang warnings and errors 2015-04-30 17:08:15 +00:00
main1.c misc/cgo/testcshared: test -buildmode=c-shared 2015-04-17 16:16:44 +00:00
main2.c misc/cgo/testcshared: add a c-shared test for android/arm. 2015-04-24 16:32:31 +00:00
main3.c misc/cgo/testcshared: add a c-shared test for android/arm. 2015-04-24 16:32:31 +00:00
test.bash misc/cgo/testcshared: make test.bash resilient against noise. 2015-04-24 18:32:24 +00:00