Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ACE_DEBUG 在源头文件中声明#include<ace/Task.h>。我跟踪调试由
ACE_DEBUG((LM_ERROR, "Reader pathSetOpen : %s ",pathSetOpen);
显示值的字符串变量名称“pathSetOpen”仍然执行程序。但我无法编译代码。关于ACE_DEBUG,是打印调试信息的宏。
编译错误代码。
EnvTest.cpp:353:1:错误:未终止的参数列表调用宏“ACE_DEBUG”
你忘记了一个右括号:
ACE_DEBUG((LM_ERROR, "Reader pathSetOpen : %s ",pathSetOpen));