Closed AlexandrParkhomenko closed 4 years ago
that was me trying to make a lock free list insertion for a faster memory manager, but did not relly work. The function is not used, I see how it can be a problem with some compilers. I commented it out. if you sync it should be ok. thanks for the report.
Everything is good. Thanks.
https://aur.archlinux.org/packages/newton-dynamics-git/
newton-dynamics/sdk/dgCore/./dgList.h:432:42: error: no matching function for call to 'dgInterlockedExchange' dgListNode const first = (dgListNode) dgInterlockedExchange ((void*) &m_first, (void) node); ^
~~~~/p/newton-dynamics-git/src/newton-dynamics/sdk/dgCore/./dgTypes.h:541:19: note: candidate function not viable: no known conversion from 'void *' to 'dgInt32 const' (aka 'int const') for 1st argument DG_INLINE dgInt32 dgInterlockedExchange(dgInt32 const ptr, dgInt32 value)