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

命令行解析库问题 #176

Closed
FlyAndNotDown opened this issue Apr 5, 2022 · 0 comments · Fixed by #175
Closed

命令行解析库问题 #176

FlyAndNotDown opened this issue Apr 5, 2022 · 0 comments · Fixed by #175
Assignees

Comments

@FlyAndNotDown
Copy link
Member

目前用的命令行解析库是 clipp,支持 c++ 11/14/17,但是 clipp 模板里面用了 std::result_of,c++ 20 被移除了,编译不过:
image

这个库目前好像不再维护了,目前看来的解决方案

  1. 手动 fork 改一把,参考 Compiler error when compiling with MSVC & C++20 muellan/clipp#53
  2. 使用 GFlags,不过要使用 Override CMake 把 /MD 、/MT 问题给解决了
@FlyAndNotDown FlyAndNotDown linked a pull request Apr 5, 2022 that will close this issue
@FlyAndNotDown FlyAndNotDown changed the title 命令行解析库选型 命令行解析库问题 Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants