leopard icon indicating copy to clipboard operation
leopard copied to clipboard

Warnings from newer GCC versions

Open nemequ opened this issue 7 years ago • 2 comments

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 avatar Jun 23 '18 18:06 nemequ

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.

nemequ avatar Jun 23 '18 18:06 nemequ

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

catid avatar Jul 21 '18 22:07 catid