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

gcc warning: EOF is less than minimum for type #243

Open
domWalters opened this issue Jul 1, 2024 · 1 comment
Open

gcc warning: EOF is less than minimum for type #243

domWalters opened this issue Jul 1, 2024 · 1 comment

Comments

@domWalters
Copy link

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:
      |             ^~~~
@daniele77
Copy link
Owner

Hi @domWalters ,
I think that this issue has already been solved.
Please, try with the latest repository commit and let me know.
Thanks,.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants