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

Warnings from newer GCC versions #8

Open
nemequ opened this issue Jun 23, 2018 · 2 comments
Open

Warnings from newer GCC versions #8

nemequ opened this issue Jun 23, 2018 · 2 comments

Comments

@nemequ
Copy link
Contributor

nemequ commented Jun 23, 2018

See https://travis-ci.org/nemequ/leopard/jobs/395897224

  • tests/experiments.cpp warns about argc and argv and the encodeL function being unused. Trivial fixes.
  • tests/benchmark.cpp warns about an implicit fallthrough. Fixes are available, but compiler-specific until C++17… see HEDLEY_FALL_THROUGH.
@nemequ
Copy link
Contributor Author

nemequ commented Jun 23, 2018

FWIW, it's not just GCC; newer clang emits the same warnings. IIRC Coverity (and other analysis tools) will complain about the implicit fallthroughs too.

@catid
Copy link
Owner

catid commented Jul 21, 2018

Thanks for reporting these and sorry I'm slow to respond. Trying to stay focused on another long term project and get it out the door

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

No branches or pull requests

2 participants