我查看了SystemC的源代码,发现其中包含以下内容:
#define DEBUGF \
if (0) std::cout << "sc_cor_pthread.cpp(" << __LINE__ << ") "后来有这样的几行代码:
DEBUGF << this << ": sc_cor_pthread::sc_cor_pthread()" << std::endl;(这些内容来自sc_cor_pthread.cpp)
在使用../configure --enable-debug进行配置时,我已经启用了调试选项,但它似乎不会激活这些东西。我应该如何打开它们,而不是手动修改源代码?
发布于 2012-09-28 04:06:50
将以下代码添加到您的编译行:
-DDEBUGFhttps://stackoverflow.com/questions/12597564
复制相似问题