TileDB
TileDB copied to clipboard
WIP: Enable Wswitch-enum on GCC and Clang to catch unhandled cases
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