gcc/g++ 编译警告输出设置

 

-Wall
选项意思是编译后显示所有警告

-w
关闭编译时的警告,也就是编译后不显示任何警告

 

posted @ 2021-04-01 13:45  SolidMango  阅读(929)  评论(0编辑  收藏  举报