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: atexit handlers not run #5948

Open
gopherbot opened this issue Jul 24, 2013 · 6 comments
Open

cmd/cgo: atexit handlers not run #5948

gopherbot opened this issue Jul 24, 2013 · 6 comments
Milestone

Comments

@gopherbot
Copy link

by davidgreymackay:

What steps will reproduce the problem?
Save the attached files into a directory and run make,
then run ./stmain

What is the expected output?
"This is a test." should display on the console.

What do you see instead?
Nothing.

Which compiler are you using (5g, 6g, 8g, gccgo)?
6c, 6g, 6l
swig 2.0.10

Which operating system are you using?
Fedora 19 linux

Which version are you using?  (run 'go version')
1.1.1-1

Please provide any additional information below.
Per Ian Taylor iant@golang.org, changing pinput to cout<<pstring<<std::endl;
does display.

Attachments:

  1. st.i (166 bytes)
  2. st.cxx (164 bytes)
  3. stmain.go (87 bytes)
  4. Makefile (615 bytes)
@rsc
Copy link
Contributor

rsc commented Jul 30, 2013

Comment 1:

This may be a feature.

Labels changed: added priority-later, go1.2maybe, removed priority-triage.

Status changed to Accepted.

@robpike
Copy link
Contributor

robpike commented Aug 20, 2013

Comment 2:

Deferring to 1.3.

Labels changed: added go1.3maybe, removed go1.2maybe.

@robpike
Copy link
Contributor

robpike commented Aug 20, 2013

Comment 3:

Labels changed: removed go1.3maybe.

@rsc
Copy link
Contributor

rsc commented Nov 27, 2013

Comment 4:

Labels changed: added go1.3maybe.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 5:

Labels changed: added release-none, removed go1.3maybe.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 6:

Labels changed: added repo-main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants