网页学习体会

  • 首页
  • 个人博客
您的位置: 首页  >  IT文章  >  g++: error: unrecognized command line option ‘-std=C++11’

g++: error: unrecognized command line option ‘-std=C++11’

分类: IT文章 • 2022-08-15 00:34:59

一个小程序,在编译的时候出错,原来使用的编译命令是
g++ -std=C++11 array.cpp -o array.exe

g++: error: unrecognized command line option ‘-std=C++11’

修改为使用g++的绝对路径
/usr/bin/g++ -std=c++11 array.cpp -o array.exe

相关推荐

  • error: unrecognized command line option '-iquote
  • cc1.exe: error: unrecognized command line option '-iquote
  • 求大神指导makefile时error:unrecognized command line option "wno-error=pragmas"如何解决
  • gcc: error: unrecognized command line option 'rdynamic'怎么解决
  • 出现:cc1.exe: error: unrecognized command line option "iquote"的解决方法
  • g++: error: unrecognized command line option ‘-std=C++11’
  • TX2踩坑(一):交叉编译错误:cc1: error: unrecognized command line option "-mlittle-endian" cc1: error: unrecognized command line option "-mlittle-endian"
  • 进行编译时提示'error: unrecognized command line option "-std=gnu11"'如何处理?
  • Qt开发安卓程序报错unrecognized command line option "std=c解决办法
  • linux 升级g++ [错误:unrecognized command line option “-std=c++11”]
  • maven
  • redis
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 网页学习体会    备案号:   粤ICP备20002247号