]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: adjust comment about ignored pragma warnings
authorTobias Klauser <tklauser@distanz.ch>
Thu, 7 Mar 2019 07:33:01 +0000 (08:33 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Fri, 8 Mar 2019 07:58:16 +0000 (07:58 +0000)
commit9153a3ef059a37796dceea555785b695ecbd4189
treebb8c233f22f3bdfe798a415d246cab49ee8e01ae
parent055f16a9e9fb7ba7e1360b40e5924cc7ba95317c
cmd/cgo: adjust comment about ignored pragma warnings

The warnings are not strictly tied to FreeBSD but to the clang version.
People could still be building with an old version of clang even if not
on FreeBSD. The -Wpragmas and -Waddress-of-packed-member warnings were
introduced in clang 4.0, so also adjust the comment accordingly.

This was discussed as part of CL 160777 which introduced these comments.

Updates #27619

Change-Id: I4988ffd08797dcc72cdc264d4abd20a114f70473
Reviewed-on: https://go-review.googlesource.com/c/go/+/165800
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Yuval Pavel Zholkover <paulzhol@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/cgo/out.go