gcc release编译常用参数
-g -O2 -Wall -DXXX -Wextra -Werror -Wno_unused-parameter -fno-strict-aliasing -fstack-protector-all -Wno-missing-filed-initializers -Wno-sign-compare -Wno--deprecated
debug
-g -Wall -DXXX -D_DEBUG_ -Wextra -Werror -Wno_unused-parameter -fno-strict-aliasing -fstack-protector-all -Wno-missing-filed-initializers -Wno-sign-compare -Wno--deprecated