mirror of
https://github.com/golang/go
synced 2024-11-26 16:16:57 -07:00
df9c5d8f5d
Applying -Werror compiler option to request warnings is an usual
way to discover potential errors. Go user may put a cgo directive
in preamble: `// #cgo CFLAGS: -Werror=unused-parameter`.
However, the directive also takes effect on the cgo generated files.
I cleaned _cgo_main.c to help Go user only concentrate on warnings
of their own file.
Fixes #43639
Change-Id: I9112f02ae5226f2fc87a8650d19faee59cddd588
GitHub-Last-Rev:
|
||
---|---|---|
.. | ||
android | ||
arm | ||
cgo | ||
chrome/gophertool | ||
ios | ||
linkcheck | ||
reboot | ||
swig | ||
trace | ||
wasm | ||
editors | ||
go.mod |