Why can't I show ACE_DEBUG debug?

ACE_DEBUG declare # include <ace / Task.h> in the source header file. Debug trace is defined

ACE_DEBUG ((LM_ERROR, "Reader pathSetOpen:% s", PathSetOpen);

The string variable name "pathSetOpen" to show the value is still executing programs. But I am unable to compile the code. About ACE_DEBUG, This is a macro for printing a debug message.

Compile error code.

EnvTest.cpp: 353: 1: error: unterminated argument calling the "ACE_DEBUG" macro

0


source to share


1 answer


You forgot the closing parenthesis:



ACE_DEBUG((LM_ERROR, "Reader pathSetOpen : %s ",pathSetOpen));

      

+2


source







All Articles