TileDB icon indicating copy to clipboard operation
TileDB copied to clipboard

WIP: Enable Wswitch-enum on GCC and Clang to catch unhandled cases

Open ihnorton opened this issue 3 years ago • 0 comments

This PR adds -Wswitch-enum to the compile options for TileDB core objects. With this option the compiler will warn on unhandled enum cases in a switch statement even when a default case is present`. This highlighted a few small issues which are fixed in this PR.


TYPE: IMPROVEMENT DESC: Enable switch-enum on GCC and Clang to catch unhandled cases

ihnorton avatar Jun 09 '22 18:06 ihnorton