go/misc/cgo/test/testdata
Hans df9c5d8f5d cmd/cgo: fix unused parameter warnings in generated _cgo_main.c
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: f09d172f97
GitHub-Pull-Request: golang/go#46358
Reviewed-on: https://go-review.googlesource.com/c/go/+/322232
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Bryan C. Mills <bcmills@google.com>
2021-08-16 23:03:03 +00:00
..
gcc68255 misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue8756 misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue8828 misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue9026 misc/cgo/test: tweak to pass with GCC 10 2019-12-20 20:12:18 +00:00
issue9400 all: use more precise build tags 2021-02-23 19:55:03 +00:00
issue9510a misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue9510b misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue20266 misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue23555a misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue23555b misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue24161arg misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue24161e0 cmd/go: fix cgo test when min macOS version is set 2020-01-24 17:36:44 +00:00
issue24161e1 cmd/go: fix cgo test when min macOS version is set 2020-01-24 17:36:44 +00:00
issue24161e2 cmd/go: fix cgo test when min macOS version is set 2020-01-24 17:36:44 +00:00
issue24161res misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue26213 misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue26430 misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue26743 misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue27054 cmd/cgo,cmd/fix,misc/cgo: map the EGLConfig C type to uintptr in Go 2020-05-31 09:48:08 +00:00
issue27340 misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue29563 cmd/link: permit duplicate weak symbols 2019-03-29 17:46:01 +00:00
issue30527 cmd/cgo: simplify and fix handling of untyped constants 2019-03-06 21:16:20 +00:00
issue41761a cmd/compile: export notinheap annotation to object file 2020-10-05 18:52:43 +00:00
issue43639 cmd/cgo: fix unused parameter warnings in generated _cgo_main.c 2021-08-16 23:03:03 +00:00
cgo_linux_test.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
cgo_test.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
gcc68255.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue8756.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue8828.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue9026.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue9400_linux.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue9510.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue20266.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue23555.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue24161_darwin_test.go misc/cgo/test: re-enable darwin cgo tests in race mode 2020-01-10 10:04:49 +00:00
issue26430.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue26743.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue27340.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00
issue29563.go cmd/link: permit duplicate weak symbols 2019-03-29 17:46:01 +00:00
issue30527.go cmd/cgo: simplify and fix handling of untyped constants 2019-03-06 21:16:20 +00:00
issue41761.go cmd/compile: export notinheap annotation to object file 2020-10-05 18:52:43 +00:00
issue43639.go cmd/cgo: fix unused parameter warnings in generated _cgo_main.c 2021-08-16 23:03:03 +00:00
test26213.go misc/cgo/test: fix tests in module mode 2019-02-24 00:35:18 +00:00