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 a bunch of compilation warnings from clang++. #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adam-azarchs
Copy link

Mostly these are inconsistent usage of int vs. unsigned int vs. long vs.
size_t, plus one abstract base class that needed a virtual destructor
and a few logical expressions for which clang considers parentheses to
be necessary for clarity.

Also fix a couple of issues found by clang-tidy, mostly related to
narrowing integer conversions. Avoided touching things that might
affect the API or floating point results.

@adam-azarchs adam-azarchs force-pushed the master branch 2 times, most recently from 9f027e4 to e80b780 Compare May 16, 2023 00:49
Mostly these are inconsistent usage of int vs. unsigned int vs. long vs.
size_t, plus one abstract base class that needed a virtual destructor
and a few logical expressions for which clang considers parentheses to
be necessary for clarity.

Also fix a couple of issues found by clang-tidy, mostly related to
narrowing integer conversions.  Avoided touching things that might
affect the API or floating point results.
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