c++ - 为什么我在使用#include 时会出错在 Clion IDE 中?
问题描述
在包含的文件中
C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/filesystem:37,
from C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:127,
from C:\Users\Naafiz\CLionProjects\cute-project\main.cpp:1:
C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/bits/fs_path.h: In member function 'std::filesystem::__cxx11::path& std::filesystem::__cxx11::path::operator/=(const std::filesystem::__cxx11::path&)':
C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/bits/fs_path.h:237:47: error: no match for 'operator!=' (operand types are 'std::filesystem::__cxx11::path' and 'std::filesystem::__cxx11::path')
解决方案
推荐阅读
- c++ - 井字游戏找到匹配符号和获胜者的更好方法?
- c - 条件跳转或移动取决于带问号的未初始化值
- python - Keras 模型多输入 - 类型错误:('关键字参数不理解:','输入')
- jenkins - 使用具有不同参数的定期构建选项构建 Jenkins 作业
- javascript - 在对象字面量中使用 __proto__
- ios - Swift:打印到任何类型的控制台可变参数
- amazon-web-services - 亚马逊EC2 | CodeDeploy [React] - 部署成功但未填充构建文件夹
- c# - 如何在 Visual Studio Cmdlet DLL 中支持不同的 Powershell 版本
- javascript - DomComplete 事件的事件侦听器未执行
- prolog - 如何在序言中加入规则并打印输出