gdb -O2

it2022-05-09  18

gdb -O2 will cause, when debugging, some variable can not be print,

we will see "optimized out"

 

dont use the -O2 option, every thing will be fine, but add O2 in makefile, will make the process run faster

 

转载于:https://www.cnblogs.com/sunyongjie1984/p/4354459.html

相关资源:数据结构—成绩单生成器

最新回复(0)