Uncaught exception of type CLI::CallForHelp #1026
Unanswered
samuelpmish
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I've used CLI11 in a handful of projects and was recently surprised to see this error message when passing
--help
to a CLI app:After some investigating, it seems that the cause may be related to a previous issue I had when developing on my mac, where the linker would emit error messages to the tune of
ld: warning: could not create compact unwind for ...
. To suppress these messages, I absent-mindedly added a flag to my CMake targetNow, it seems that the uncaught exception error message appears when this
no_compact_unwind
flag is set. Here's a minimal reproducer for a CLI example project with and without that flag:CLI11_example_project.zip
The same results occur (i.e.
no_compact_unwind
->uncaught exception of type CLI::CallForHelp
) when compiling with clang 17.0, apple-clang 15.0, and gcc 13.2 on a mac running sonoma.Has anybody seen this before and know a potential workaround?
Beta Was this translation helpful? Give feedback.
All reactions