cmd/cgo: cannot convert from signed char *_Ctype_schar to char *_Ctype_char #26655
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?go version go1.10.3 linux/arm
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?Linux raspberrypi 4.5.0-00185-g3bb556b #3 SMP Wed Aug 16 15:56:01 CST 2017 armv7l GNU/Linux
go env
What did you do?
Myfile.go
File cLogic.h
File cLogic.c
All files are in a directory called main. I build it by executing this command in the parent directory:
What did you expect to see?
I expected it to build. It builds fine on my desktop with ubuntu and "go version go1.10.3 linux/amd64"
What did you see instead?
I get an error in the line
cannot use cResult (type *_Ctype_schar) as type *_Ctype_char in argument to _Cfunc_GoString
The text was updated successfully, but these errors were encountered: