Skip to content

Commit

Permalink
runtime/cgo: enable warnings and treat as errors
Browse files Browse the repository at this point in the history
Enable warnings as errors during the cgo portion of runtime/cgo. iant requested that the list of flags match cmd/dist/build.c, but I would like to avoid the set of disabled warnings if possible.

ref: https://groups.google.com/d/topic/golang-nuts/TrCoVzIIG4M/discussion

requires: 6843061

R=minux.ma, iant
CC=golang-dev
https://golang.org/cl/6852055
  • Loading branch information
davecheney committed Nov 17, 2012
1 parent 2ae61d5 commit 4758f89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pkg/runtime/cgo/cgo.go
Expand Up @@ -18,6 +18,8 @@ package cgo
#cgo openbsd LDFLAGS: -lpthread
#cgo windows LDFLAGS: -lm -mthreads
#cgo CFLAGS: -Wall -Werror
*/
import "C"

Expand Down

0 comments on commit 4758f89

Please sign in to comment.