aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-08-19 01:52:46 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-08-19 01:53:59 +0200
commit7067e78fd655232314eaa3d964004ed9600e02be (patch)
tree76aa3d3fe1ae7fe5172b40335c5b6055f4dc8881 /sys
parent48613af61c42e8a3b4925d7fc7b8ca8350e96f9b (diff)
executor: fix gcc warnings in fuchsia generated code
gcc complains about function declarations not being prototypes, signed/unsigned cast mismatch and casts between incompatible functions. Fix them.
Diffstat (limited to 'sys')
-rw-r--r--sys/targets/targets.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/targets/targets.go b/sys/targets/targets.go
index ea742f14e..b9a278aec 100644
--- a/sys/targets/targets.go
+++ b/sys/targets/targets.go
@@ -185,7 +185,6 @@ var List = map[string]map[string]*Target{
CCompiler: os.ExpandEnv("${SOURCEDIR}/buildtools/linux-x64/clang/bin/clang++"),
CrossCFlags: []string{
"-Wno-deprecated",
- "-Wno-error",
"--target=x86_64-fuchsia",
"-lfdio",
"-lzircon",
@@ -203,7 +202,6 @@ var List = map[string]map[string]*Target{
CCompiler: os.ExpandEnv("${SOURCEDIR}/buildtools/linux-x64/clang/bin/clang++"),
CrossCFlags: []string{
"-Wno-deprecated",
- "-Wno-error",
"--target=aarch64-fuchsia",
"-lfdio",
"-lzircon",