You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What does 'go version' print?
go version devel +a622a4ff09da Fri Jul 18 13:05:21 2014 +0400 linux/amd64
and
go version go1.3.1 linux/amd64
What steps reproduce the problem?
use go build -compiler=gccgo to compile below code
http://play.golang.org/p/77fSej3teX
What happened?
snyh:xx$go build -compiler=gccgo
# _/run/shm/xx
In file included from $WORK/_/run/shm/xx/_obj/_cgo_main.c:8:0:
./a.go:4:7: error: conflicting types for ‘success_cb’
//PFunc success_cb;
^
/tmp/go-build297076724/_/run/shm/xx/_obj/_cgo_main.c:5:13: note: previous declaration of
‘success_cb’ was here
extern char success_cb[];
^
Please provide any additional information below.