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 compiler warnings from gcc-12 #1316

Merged
merged 3 commits into from
Nov 23, 2022

Conversation

cary-ilm
Copy link
Member

  • use size_t/int64_t where appropriate
  • explicit cast to size_t where necessary
  • initialize fields
  • remove unused variables

Signed-off-by: Cary Phillips cary@ilm.com

* use size_t/int64_t where appropriate
* explicit cast to size_t where necessary
* initialize fields
* remove unused variables

Signed-off-by: Cary Phillips <cary@ilm.com>
Copy link
Contributor

@meshula meshula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@cary-ilm cary-ilm merged commit 0dddd91 into AcademySoftwareFoundation:main Nov 23, 2022
@cary-ilm cary-ilm deleted the gcc-12-warnings branch January 4, 2023 01:52
cary-ilm added a commit to cary-ilm/openexr that referenced this pull request Mar 3, 2023
* Fix compiler warnings from gcc-12

* use size_t/int64_t where appropriate
* explicit cast to size_t where necessary
* initialize fields
* remove unused variables

Signed-off-by: Cary Phillips <cary@ilm.com>

* Revert size_t to int in both declaration and iterator in readWriteFiles

Signed-off-by: Cary Phillips <cary@ilm.com>

* Change char to uint8_t to match parameters in interleave()

Signed-off-by: Cary Phillips <cary@ilm.com>

Signed-off-by: Cary Phillips <cary@ilm.com>
cary-ilm added a commit that referenced this pull request Mar 5, 2023
* Fix compiler warnings from gcc-12

* use size_t/int64_t where appropriate
* explicit cast to size_t where necessary
* initialize fields
* remove unused variables

Signed-off-by: Cary Phillips <cary@ilm.com>

* Revert size_t to int in both declaration and iterator in readWriteFiles

Signed-off-by: Cary Phillips <cary@ilm.com>

* Change char to uint8_t to match parameters in interleave()

Signed-off-by: Cary Phillips <cary@ilm.com>

Signed-off-by: Cary Phillips <cary@ilm.com>
@cary-ilm cary-ilm added the v3.1.6 label Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants