From: Hiroshi Ioka Date: Fri, 21 Apr 2017 11:18:28 +0000 (+0900) Subject: cmd/cgo: avoid C++ style comments X-Git-Tag: go1.9beta1~533 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c202d4d303d797146a58ef00dd6951af005166e5;p=gostls13.git cmd/cgo: avoid C++ style comments Change-Id: I9d399db8ac26ad44adeace3bf1e5b11cbfe3e0d3 Reviewed-on: https://go-review.googlesource.com/41313 Reviewed-by: Ian Lance Taylor Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot --- diff --git a/src/cmd/cgo/out.go b/src/cmd/cgo/out.go index c2ab880172..274bb1fb1a 100644 --- a/src/cmd/cgo/out.go +++ b/src/cmd/cgo/out.go @@ -1298,7 +1298,7 @@ const gccProlog = ` */ #define __cgo_compile_assert_eq(x, y, name) typedef char name[(x-y)*(x-y)*-2+1]; -// Check at compile time that the sizes we use match our expectations. +/* Check at compile time that the sizes we use match our expectations. */ #define __cgo_size_assert(t, n) __cgo_compile_assert_eq(sizeof(t), n, _cgo_sizeof_##t##_is_not_##n) __cgo_size_assert(char, 1)