p****r 发帖数: 165 | 1 when in debug mode, it shows
CXX0017: Error: symbol "XXX" not found
is there a way to set compiler/linker option so the value will show?
I've already include /Od to disable the optimization.
thanks. |
a****l 发帖数: 8211 | 2 不懂你的意思.编译器不就是因为不知道这个#define的数值才问你的吗?你要编译器显
示什么数?
【在 p****r 的大作中提到】 : when in debug mode, it shows : CXX0017: Error: symbol "XXX" not found : is there a way to set compiler/linker option so the value will show? : I've already include /Od to disable the optimization. : thanks.
|
a****n 发帖数: 1887 | 3 宏定义会在预编译中处理(replace),运行时看不到 |
s********i 发帖数: 145 | 4 That's exactly why you should favor "static const" over #define macro. |