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

Commented-out lines of code cause a syntax error using cgo #443

Closed
rsaarelm opened this issue Dec 17, 2009 · 2 comments
Closed

Commented-out lines of code cause a syntax error using cgo #443

rsaarelm opened this issue Dec 17, 2009 · 2 comments

Comments

@rsaarelm
Copy link
Contributor

Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull -u" and retry what you did to
reproduce the problem.  Thanks.

What steps will reproduce the problem?
1. Using the default makefile script, try to build the attached program
(system is expected to have libSDL headers installed, http://www.libsdl.org/).

What is the expected output? What do you see instead?

The code compiles with the commented-out line cut out, it should compile
with it. Instead I get "comment.cgo1.go:14: syntax error near width"

What is your $GOOS?  $GOARCH?

linux 386

Which revision are you using?  (hg identify)

28cb094e4ff1 tip

Please provide any additional information below.

Attachments:

  1. Makefile (104 bytes)
  2. comment.go (159 bytes)
@rsc
Copy link
Contributor

rsc commented Dec 17, 2009

Comment 1:

http://golang.org/cl/179095

Owner changed to r...@golang.org.

Status changed to Started.

@rsc
Copy link
Contributor

rsc commented Dec 18, 2009

Comment 2:

This issue was closed by revision 044ebae.

Status changed to Fixed.

Merged into issue #-.

@rsaarelm rsaarelm added the fixed label Dec 18, 2009
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
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

3 participants