-
-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Labels
Description
I get this warning using a GCC 12.2.0 cross compiler for AArch64 (in particular, the gcc built in to Xilinx Vitis 2023.1):
In file included from daniele77-cli/include/cli/detail/keyboard.h:44,
from daniele77-cli/include/cli/clilocalsession.h:36,
from main.cc:9:
daniele77-cli/include/cli/detail/linuxkeyboard.h: In member function 'std::pair<cli::detail::KeyType, char> cli::detail::LinuxKeyboard::Get()':
daniele77-cli/include/cli/detail/linuxkeyboard.h:153:13: warning: case label value is less than minimum value for type [-Wswitch-outside-range]
153 | case EOF:
| ^~~~