对于makefile不支持c++11的处理
生活随笔
收集整理的這篇文章主要介紹了
对于makefile不支持c++11的处理
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
錯誤信息
error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
正確操作
修改makefile 正確示例 添加 -std=c++11
總結
以上是生活随笔為你收集整理的对于makefile不支持c++11的处理的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 基于JAVA彩票在线购买系统计算机毕业设
- 下一篇: Android 蓝牙 -- 还原网络设置