Skip to content

Spec references nonexistant unsafe.Maxalign #1285

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

Closed
gjemiller opened this issue Nov 17, 2010 · 4 comments
Closed

Spec references nonexistant unsafe.Maxalign #1285

gjemiller opened this issue Nov 17, 2010 · 4 comments

Comments

@gjemiller
Copy link

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. Look at the section "Size and alignment guarantees" in the golang spec
2. Notice that guarantee #2 assures "unsafe.Alignof(x) is the smaller of
unsafe.Sizeof(x) and unsafe.Maxalign"
3. Notice that the Go libraries contain no such "unsafe.Maxalign"

Which revision are you using?  (hg identify)
(online docs)

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

Comment 1:

Status changed to Accepted.

@rsc
Copy link
Contributor

rsc commented Dec 13, 2010

Comment 2:

I don't know what it is this language is trying to guarantee.

@rsc
Copy link
Contributor

rsc commented Dec 13, 2010

Comment 3:

Owner changed to g...@golang.org.

@griesemer
Copy link
Contributor

Comment 4:

This issue was closed by revision dd916be.

Status changed to Fixed.

@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

4 participants