Closed MyraBaba closed 3 years ago
Hi,
I succesfully tested on the Mac os X but ubuntu gives below error:
/home/alp2080/Projects/CPPShift-MemoryPool/MemoryPool.cpp: In static member function ‘static void CPPShift::Memory::MemoryPoolManager::reallocate(void, size_t)’: /home/alp2080/Projects/CPPShift-MemoryPool/MemoryPool.cpp:133:7: error: ‘memcpy’ is not a member of ‘std’ std::memcpy(temp_point, unit_pointer_start, unit->length); ^~ /home/alp2080/Projects/CPPShift-MemoryPool/MemoryPool.cpp:133:7: note: suggested alternative: ‘empty’ std::memcpy(temp_point, unit_pointer_start, unit->length); ^~ empty make[2]: [CMakeFiles/MemoryPool.dir/build.make:76: CMakeFiles/MemoryPool.dir/MemoryPool.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:76: CMakeFiles/MemoryPool.dir/all] Error 2 make: *** [Makefile:84: all] Error 2
Hi,
I succesfully tested on the Mac os X but ubuntu gives below error: