От: | Marty | https://www.youtube.com/channel/UChp5PpQ6T4-93HbNF-8vSYg | |
Дата: | 26.04.11 15:22 | ||
Оценка: |
multiple definition of forbiddenExp
multiple definition of emptyExp
static // добавил, не помогло
inline
ilint_t interlockedExchangeAdd(ilint_t ILVOLATILE *dst, ilint_t addval)
{ // multiple definition of forbiddenExp показывает сюда
// ...
}
class CGenericRefCounter
{
ilint_t ILVOLATILE counter;
public:
CGenericRefCounter() : counter(0) {}
CGenericRefCounter(int i) : counter(i) {}
//CRefCounter(ilint_t c) : counter(c) {}
CGenericRefCounter(const CGenericRefCounter &rc) : counter(rc.counter) {}
operator ilint_t() const { return counter; } // multiple definition of emptyExp показывает сюда
/// ...
};