检测mingw的版本以及线程库 #4044
jingkaimori
started this conversation in
Ideas
检测mingw的版本以及线程库
#4044
Replies: 1 comment
-
可以自己检测内置宏, xmake/tests/apis/check_xxx/xmake.lua Line 49 in 0ffb589 也可以自己 dump 一些编译器信息。。 xmake/tests/apis/check_xxx/xmake.lua Line 27 in 0ffb589 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
目前无法在脚本中获取mingw的版本,也不知道当前的mingw工具链的
libstdc++
使用的是win32线程API还是posix线程API。使用win32线程API的mingw没有std::thread
相关的定义,在doctest中会引起编译错误。Beta Was this translation helpful? Give feedback.
All reactions