首页 > 解决方案 > g++ 没有这样的文件或目录?

问题描述

我写:

g++ -std=c++11 –DNDEBUG –Wall *.cpp

但我收到以下错误:

-bash-4.2$ g++ -std=c++11 –DNDEBUG –Wall *.cpp
g++: error: –DNDEBUG: No such file or directory
g++: error: –Wall: No such file or directory

这是为什么?

标签: cdebuggingcompiler-errorsg++

解决方案



推荐阅读