xmake-io / xmake-repo

📦 An official xmake package repository
https://xrepo.xmake.io
Apache License 2.0
685 stars 396 forks source link

若干库的on_test中采用的c++版本过低导致无法通过测试 #4950

Closed jyshaobing closed 2 months ago

jyshaobing commented 2 months ago

Xmake 版本

2.8.3

操作系统版本和架构

5.15.0-43-generic #46~20.04.1-Ubuntu SMP Thu Jul 14 15:20:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

描述问题

re 依赖于abseil, abseil要求C++17 对于on_test相关的C++版本,是否有依赖的继承机制? 除此之外eigen的on_test中C++的版本也可能有问题

期待的结果

修复on_test中c++的版本配置

工程配置

clang-16环境无额外配置

附加信息和错误日志

飞书20240816-152517

Issues-translate-bot commented 2 months ago

Bot detected the issue body's language is not English, translate it automatically.


Title: The c++ version used in on_test of several libraries is too low and cannot pass the test.

star-hengxing commented 2 months ago

这种问题,说明理由直接提个 pr 过来就行

Issues-translate-bot commented 2 months ago

Bot detected the issue body's language is not English, translate it automatically.


For this kind of problem, just submit a PR to explain the reasons.