Skip to content

Commit fb37821

Browse files
runtime/cgo: add -Wno-nullability-completeness on Darwin
Fixes #35247 Change-Id: I4f2e243c89e9f745b82bcd181add87fad1443171 Reviewed-on: https://go-review.googlesource.com/c/go/+/205457 Run-TryBot: Ian Lance Taylor <[email protected]> Reviewed-by: Tobias Klauser <[email protected]>
1 parent 552987f commit fb37821

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/runtime/cgo/cgo.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ package cgo
2323
#cgo aix LDFLAGS: -Wl,-berok
2424
#cgo solaris LDFLAGS: -lxnet
2525
26+
// Issue 35247.
27+
#cgo darwin CFLAGS: -Wno-nullability-completeness
28+
2629
#cgo CFLAGS: -Wall -Werror
2730
2831
#cgo solaris CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS

0 commit comments

Comments
 (0)