Skip to content

Fix compilation warnings seen with gcc14. - #4

Open
scott-snyder wants to merge 1 commit into
iLCSoft:masterfrom
scott-snyder:warn-20240517
Open

scott-snyder wants to merge 1 commit into
iLCSoft:masterfrom
scott-snyder:warn-20240517

Conversation

@scott-snyder

Copy link
Copy Markdown
  • Misleading indentation.
  • Unused variables.
  • Use numeric_limits rather than hardcoding limits for int64_t. Fixes in passing a warning that a constant is too large to be represented as a signed integer.
  • Member function parameter shadowing a data member, and variable shadowing variable in outer scope.
  • Extraneous trailing semicolon.

BEGINRELEASENOTES

  • Fix a number of compilation warnings seen with recent compiler versions.
    ENDRELEASENOTES

- Misleading indentation.
- Unused variables.
- Use numeric_limits rather than hardcoding limits for int64_t.  Fixes in
  passing a warning that a constant is too large to be represented as
  a signed integer.
- Member function parameter shadowing a data member, and variable
  shadowing variable in outer scope.
- Extraneous trailing semicolon.
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.

1 participant