-
-
Notifications
You must be signed in to change notification settings - Fork 369
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
使用abseil在编译程序时在编译参数中出现两个-std #4543
Comments
Title: When using abseil to compile the program, two -std appear in the compilation parameters. |
执行一下,定位多余的 flags 哪里来的
|
Execute it and locate where the redundant flags come from.
|
应该是从grpc过来的。 |
It should come from grpc. |
Xmake 版本
2.9.3
操作系统版本和架构
ubuntu2004
描述问题
指定了c++20,但是编译时还是出现了c++11,导致编译失败
期待的结果
正常编译
工程配置
set_languages("c++20")
add_requires("cmake",{system=false})
add_requires("folly",{system=false})
add_requires("glog",{system=false})
add_requires("rocksdb",{system=false})
add_requires("protobuf-cpp",{system=false})
add_requires("grpc",{system=false})
add_rules("mode.release", "mode.debug")
add_includedirs("src")
includes("src")
附加信息和错误日志
The text was updated successfully, but these errors were encountered: