Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/cgo: missing line number for "unexpected type" message #1800

Closed
gopherbot opened this issue May 11, 2011 · 7 comments
Closed

cmd/cgo: missing line number for "unexpected type" message #1800

gopherbot opened this issue May 11, 2011 · 7 comments
Milestone

Comments

@gopherbot
Copy link
Contributor

by jcowgar:

What steps will reproduce the problem?
1. Call a variadic C function from a Go file

What is the expected output?
filexyz.go:12 unexpected type: ...

What do you see instead?

[jeremy@jlaptop iup.go]$ ./all.bash 
+ for d in iup demos
+ gomake -j 4 -C iup
make: Entering directory `/home/jeremy/Projects/go/iup.go/iup'
CGOPKGPATH=github.com/jcowgar cgo -- -I/usr/include/iup events.go callback.go
unexpected type: ...
make: *** [_obj/_cgo_run] Error 2
make: Leaving directory `/home/jeremy/Projects/go/iup.go/iup'

Which compiler are you using (5g, 6g, 8g, gccgo)?
8g

Which operating system are you using?
Linux (ArchLinux)

Which revision are you using?  (hg identify)
95d2ce135523 (release-branch.r57) release/release.r57.1

Please provide any additional information below.
@rsc
Copy link
Contributor

rsc commented May 11, 2011

Comment 1:

Owner changed to @rsc.

Status changed to Accepted.

@lvdlvd
Copy link

lvdlvd commented Nov 7, 2011

Comment 2:

Issue #2425 has been merged into this issue.

@lvdlvd
Copy link

lvdlvd commented Nov 7, 2011

Comment 3:

Labels changed: added cgo.

@rsc
Copy link
Contributor

rsc commented Dec 9, 2011

Comment 4:

Labels changed: added priority-later.

@rsc
Copy link
Contributor

rsc commented Dec 12, 2011

Comment 5:

Labels changed: added priority-go1.

@robpike
Copy link
Contributor

robpike commented Jan 13, 2012

Comment 6:

Owner changed to builder@golang.org.

@remyoudompheng
Copy link
Contributor

Comment 8:

This issue was closed by revision 0d07600.

Status changed to Fixed.

@rsc rsc added this to the Go1 milestone Apr 10, 2015
@rsc rsc removed the priority-go1 label Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants