R.Chatsiri
R.Chatsiri

Reputation: 107

Why cannot show debug by ACE_DEBUG?

ACE_DEBUG declare #include< ace/Task.h > in source header file.I trace debug define by

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

The string variable name "pathSetOpen" for show value still execute programs.But I cannot compile code. About ACE_DEBUG,It's macro for printing debug message.

Compile error code.

EnvTest.cpp:353:1: error: unterminated argument list invoking macro "ACE_DEBUG"

Upvotes: 0

Views: 1728

Answers (1)

Johannes Schaub - litb
Johannes Schaub - litb

Reputation: 507005

You've forgot a closing parenthesis:

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

Upvotes: 2

Related Questions