// //
///////////////////////////////////////////////////////////////////////////////
+#include <cstdlib>
#include <strings.h>
#include <Riostream.h>
#include <TError.h>
#include <TSystem.h>
#include <TEnv.h>
#include <TArrayC.h>
+#include <Varargs.h> // platform independent definition of va_copy
#include "AliLog.h"
char* p = const_cast<char*>(levels.Data());
while (const char* module = strtok(p, " ")) {
p = NULL;
- char* pos = index(module, ':');
+ char* pos = const_cast<char*>(index(module, ':'));
if (!pos) continue;
*(pos++) = '\0';
Int_t level = atoi(pos);
char* p = const_cast<char*>(levels.Data());
while (const char* className = strtok(p, " ")) {
p = NULL;
- char* pos = index(className, ':');
+ char* pos = const_cast<char*>(index(className, ':'));
if (!pos) continue;
*(pos++) = '\0';
Int_t level = atoi(pos);
#ifdef R__VA_COPY
va_list bap;
R__VA_COPY(bap, ap);
+#else
+#warning definition of R__VA_COPY has disappeared
#endif //R__VA_COPY
Int_t iResult=0;