Getting warnings using Go bindings on Mac "cgo-gcc-export-header-prolog:45:1: warning: '/*' within block comment [-Wcomment]"

Using go 1.12 with modules, I do the following.

	go get github.com/apple/foundationdb/bindings/go@release-6.0
	wget https://www.foundationdb.org/downloads/6.0.18/macOS/installers/FoundationDB-6.0.18.pkg
	sudo installer -pkg FoundationDB-6.0.18.pkg -target /

And then go build ouput is this

go build
# github.com/apple/foundationdb/bindings/go/src/fdb
In file included from _cgo_export.c:4:
cgo-gcc-export-header-prolog:45:1: warning: '/*' within block comment [-Wcomment]
cgo-gcc-export-header-prolog:46:1: warning: '/*' within block comment [-Wcomment]

Are warnings a known issue?

macOS Mojave 10.14.3

Hi were you able to resolve this issue I’m having the same issue?

Are these warnings causing problems for you, or is it just that you’re worried about the warnings themselves?

I think they come from the fact that we use multi-line comments in our CGO headers (see: https://github.com/apple/foundationdb/blob/d660ffb6543048b1814adb13b42edbb47be4fd81/bindings/go/src/fdb/cluster.go#L25). I’m not entirely sure why we do this (instead of multiple single-line comments). This warning appears to be asymptomatic, but maybe we should switch to using single-line comments any way.

I filed an issue about this: https://github.com/apple/foundationdb/issues/1612