-W 显示警告,但是只显示编译器认为会出现错误的警告。
-Wall 显示all警告
在编译时, -W和-Wall选项一起使用!
-D means #define something as in C++ main code
-D sometimes can be added with some other paths useful for the code (executable)
("-g" compile flag for use with the debugger) Inserting the `g’ flag tells the compiler to insert more information about the source code into the executable than it normally would.