macOS 上使用vsCode编译C++代码报错generalized initializer lists are a C++11 extension [-Wc++11-extensions] 解决
1.在左侧扩展中搜索Code Runner2.点击齿轮状按钮,进入Code Runner的扩展设置3.找到Code-runner: Executor Map,点击“在settings.json中编辑”4.在code-runner.executorMap中app添加-std=c++17
原创
2023-11-06 11:09:56 ·
164 阅读 ·
0 评论