diff --git a/code/nel/tools/pipeline/plugin_library/tool_logger.h b/code/nel/tools/pipeline/plugin_library/tool_logger.h index 287d4b196..17f8d0de1 100644 --- a/code/nel/tools/pipeline/plugin_library/tool_logger.h +++ b/code/nel/tools/pipeline/plugin_library/tool_logger.h @@ -41,6 +41,8 @@ namespace PIPELINE { +namespace { + #ifdef ERROR #undef ERROR #endif @@ -51,8 +53,6 @@ enum EError MESSAGE, }; -namespace { - const std::string s_Error = "ERROR"; const std::string s_Warning = "WARNING"; const std::string s_Message = "MESSAGE"; @@ -60,8 +60,6 @@ const std::string s_Message = "MESSAGE"; const std::string s_ErrorHeader = "type\tpath\ttime\terror"; const std::string s_DependHeader = "output_file\tinput_file"; -} - /** * \brief CToolLogger * \date 2012-02-19 10:33GMT @@ -134,7 +132,7 @@ public: } } - /// inputFile can only be file. May be not-yet-existing file for expected input. Directories are handled on process level. You should call this before calling writeError on inputFile, so the error is also linked from the outputFile. + /// inputFile can only be file. May be not-yet-existing file for expected input for future build runs. Directories are handled on process level. You should call this before calling writeError on inputFile, so the error is also linked from the outputFile. void writeDepend(const std::string &outputFile, const std::string &inputFile) { if (m_DependLog) @@ -174,6 +172,8 @@ public: } }; /* class CToolLogger */ +} /* anonymous namespace */ + } /* namespace PIPELINE */ #endif /* #ifndef PIPELINE_TOOL_LOGGER_H */