Pb was in clashing class names (chrono.hxx) in SMESH and YACS
#include "utilities.h"
using namespace std;
+using namespace SMDS;
cntStruct* counters::_ctrs = 0;
int counters::_nbChrono = 0;
#include <iostream>
#include <ctime>
+namespace SMDS
+{
typedef struct acnt
{
char* _ctrNames;
int _ctr;
clock_t _start, _end;
};
-
+}
#ifdef CHRONODEF
-#define CHRONO(i) counters::_ctrs[i]._ctrNames = (char *)__FILE__; \
+#define CHRONO(i)
+ using namespace SMDS; \
+ counters::_ctrs[i]._ctrNames = (char *)__FILE__; \
counters::_ctrs[i]._ctrLines = __LINE__; \
salome_chrono aChrono##i(i);
#else // CHRONODEF
-#define CHRONO(i)
+#define CHRONO(i) using namespace SMDS;
#define CHRONOSTOP(i)
#endif // CHRONODEF