撤销xlC_r优化的编译选项

取消xlC_r优化的编译选项在AIX上编译后的,GDB调试,打印变量显示: No symbol contrastsql in current con

取消xlC_r优化的编译选项
在AIX上编译后的,GDB调试,打印变量显示: No symbol "contrastsql" in current context.

contrastsql 是个string类型, 但是打印 p bContrast 是可以的,bContrast 是bool类型,可能是string类型编译的时候被优化到寄存器了,请问是哪个编译选项,怎么取消这个编译选项?



[解决办法]
-O0

不知道是不是