Hello, I am sorry, but I forgot to mention what I am using.
log4cxx-0.9.7 Visual Studio 2005 Best regards, Jorrit -----Original Message----- From: jorrit de vries [mailto:[EMAIL PROTECTED] Sent: Wed 3/7/2007 17:14 To: [email protected] Subject: compile errors using LOG4CXX_DEBUG Hello, I get the following errors every time I use the LOG4CXX_DEBUG macro. I use the following syntax: LOG4CXX_DEBUG(logger, "Switching to tool " + (*m_currentTool)->name); where 'logger' is defined in the class as: static LoggerPtr logger; This is the part of the build log I get for the line above: error C2589: ',' : illegal token on right side of '::' error C2143: syntax error : missing ')' before '::' error C2661: 'log4cxx::Logger::forcedLog' : no overloaded function takes 0 arguments error C2059: syntax error : ')' Can anybody point me to what I am doing wrong and how I might prevent this error? Best regards, Jorrit
<<winmail.dat>>
