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

Fix warnings on some 32 bit platforms #1539

Merged
merged 1 commit into from Oct 19, 2016

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Oct 19, 2016

For some reason, certain 32 bit platforms have gcc errors about this spot leading to uninitialized variables (they don't! but gcc can't seem to figure that out). The 64 bit platforms figure it out just fine, so just eat the cost of a couple useless assigns on the platforms where it's a problem.

For some reason, certain 32 bit platforms have gcc errors about this
spot leading to uninitialized variables (they don't! but gcc can't seem
to figure that out). The 64 bit platforms figure it out just fine, so
just eat the cost of a couple useless assigns on the platforms where
it's a problem.
@hobbes1069
Copy link
Contributor

Applies cleanly to 1.7.7 and seems to work! LGTM.

@lgritz lgritz merged commit 49d860e into AcademySoftwareFoundation:master Oct 19, 2016
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Oct 19, 2016
For some reason, certain 32 bit platforms have gcc errors about this
spot leading to uninitialized variables (they don't! but gcc can't seem
to figure that out). The 64 bit platforms figure it out just fine, so
just eat the cost of a couple useless assigns on the platforms where
it's a problem.
@lgritz lgritz deleted the lg-686 branch October 19, 2016 21:20
@lgritz
Copy link
Collaborator Author

lgritz commented Oct 19, 2016

Merged into both master and RB-1.7.

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

Successfully merging this pull request may close these issues.

None yet

2 participants