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
