HarmonyOS SDK Developer Beta1 algorithm报错?

In file included from D:/xxxxxxxx/math/include/math.h:9:

In file included from D:/Program/Huawei/SDK_Next/HarmonyOS-NEXT-DB1/base/native/llvm/bin/../include/libcxx-ohos/include/c++/v1/algorithm:1774:

In file included from D:/Program/Huawei/SDK_Next/HarmonyOS-NEXT-DB1/base/native/llvm/bin/../include/libcxx-ohos/include/c++/v1/__algorithm/nth_element.h:15:

D:/Program/Huawei/SDK_Next/HarmonyOS-NEXT-DB1/base/native/llvm/bin/../include/libcxx-ohos/include/c++/v1/__algorithm/sort.h:396:5: error: unknown type name '__destruct_n'

__destruct_n __d(0);

^

D:/Program/Huawei/SDK_Next/HarmonyOS-NEXT-DB1/base/native/llvm/bin/../include/libcxx-ohos/include/c++/v1/__algorithm/sort.h:397:28: error: use of undeclared identifier '__destruct_n'

unique_ptr<value_type, __destruct_n&> __h(__first2, __d);

^

D:/Program/Huawei/SDK_Next/HarmonyOS-NEXT-DB1/base/native/llvm/bin/../include/libcxx-ohos/include/c++/v1/__algorithm/sort.h:397:41: error: expected expression

unique_ptr<value_type, __destruct_n&> __h(__first2, __d);

^

D:/Program/Huawei/SDK_Next/HarmonyOS-NEXT-DB1/base/native/llvm/bin/../include/libcxx-ohos/include/c++/v1/__algorithm/sort.h:415:5: error: use of undeclared identifier '__h'; did you mean '__d'?

__h.release();

^

D:/Program/Huawei/SDK_Next/HarmonyOS-NEXT-DB1/base/native/llvm/bin/../include/libcxx-ohos/include/c++/v1/__algorithm/sort.h:396:18: note: '__d' declared here

__destruct_n __d(0);


\_\_algorithm文件夹下stable\_partition.h sort.h inplace\_merge.h多个文件下有undeclared identifier

harmonyos
harmonyos-next
3天前
浏览
收藏 0
回答 0
待解决
相关问题
HarmonyOS NEXT Developer Beta1模拟器闪退
1379浏览 • 1回复 待解决
安装HUAWEI DevEco Device Tool 1.0 Beta1失败
14127浏览 • 3回复 已解决
DevEcoStudio2.2 Beta1中模拟器
7603浏览 • 2回复 已解决
OpenHarmony-v4.0-Beta1 编译报错,求助
4811浏览 • 3回复 待解决
neptune 烧写报错[upload] Error -1
6268浏览 • 2回复 待解决
下载编译Full-SDK报错
2289浏览 • 1回复 待解决
编译构建报错,提示CONFIGURE_SDK_ERROR
687浏览 • 1回复 待解决
RN SDK升级报错,求解决方法?
70浏览 • 1回复 待解决
OpenHarmony L1 Ipc samgr_lite通信报错异常
7903浏览 • 2回复 待解决
HarmonyOS SDK和openHarmony SDK怎么选择?
8049浏览 • 1回复 待解决
怎么集成HarmonyOS SDK
4764浏览 • 1回复 待解决