-std=gnu++11 与 -std=c++11 两者有哪些区别?
程序员文章站
2022-12-10 22:15:10
-std=gnu++11 与 -std=c++11 两者有哪些区别?
This mode can be selected with the-std=c++11command-li...
-std=gnu++11 与 -std=c++11 两者有哪些区别?
This mode can be selected with the-std=c++11command-line flag, or-std=gnu++11to enable GNU extensions as well.
-std=c++11,支持C++11标准;
-std=gnu++11,支持C++11标准和GNU扩展特性;