From: Alessandro Maraschini Date: Fri, 23 Jul 2004 09:20:47 +0000 (+0000) Subject: compiling problems solved X-Git-Tag: merge_gss2scm_dst~57 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=ba5da2da6f380f800476a0d8dec376d73680c198;p=jra1mw.git compiling problems solved --- diff --git a/org.glite.wms-utils.exception/src/Exception.cpp b/org.glite.wms-utils.exception/src/Exception.cpp index 0938e87..c0c416b 100644 --- a/org.glite.wms-utils.exception/src/Exception.cpp +++ b/org.glite.wms-utils.exception/src/Exception.cpp @@ -6,9 +6,11 @@ #include "glite/wmsutils/exception/Exception.h" #include "glite/wmsutils/exception/exception_codes.h" + namespace glite { namespace wmsutils{ namespace exception { +using namespace std ; pthread_mutex_t METHOD_MUTEX ; // This mutex is used in order to lock the file for writing log infornation /* ********************************* * Exception Class Implementation @@ -21,7 +23,9 @@ Exception::~Exception() throw(){ } /** * Exception chainig */ -Exception::Exception ( const string& source, const string& method, Exception *e){ +Exception::Exception ( const string& source, +const string& method, +Exception *e){ source_file = source ; method_name = method; error_message = ""; @@ -50,7 +54,7 @@ Exception::Exception (const string& source, int Exception::getCode(){ if (error_code != 0) return error_code ; - else return WL_COMMON_BASE; + else return WMS_COMMON_BASE; }; const char* Exception::what() const throw(){