diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-01-08 15:28:38 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-01-09 20:20:49 +0100 |
| commit | c5f38186d296b1e4ce59cb51889bce481cce266d (patch) | |
| tree | 35898518a1507f8acc4e5b3ee0529eb9a0c95d85 /ipc | |
| parent | 43d5c364a2cad2f4673499a74345088904b2c876 (diff) | |
csource: compile with -Werror
Check for compiler warnings during compilation.
Don't require -std=c99.
Fix existing compiler warnings.
Diffstat (limited to 'ipc')
| -rw-r--r-- | ipc/ipc_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_test.go b/ipc/ipc_test.go index 042ffb902..3d911d58a 100644 --- a/ipc/ipc_test.go +++ b/ipc/ipc_test.go @@ -30,7 +30,7 @@ func buildSource(t *testing.T, src []byte) string { } func buildProgram(t *testing.T, src string) string { - bin, err := csource.Build(src) + bin, err := csource.Build("c++", src) if err != nil { t.Fatalf("%v", err) } |
