Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 20.04 compile Error #3

Closed
MyraBaba opened this issue Mar 21, 2021 · 0 comments · Fixed by #4
Closed

Ubuntu 20.04 compile Error #3

MyraBaba opened this issue Mar 21, 2021 · 0 comments · Fixed by #4
Assignees

Comments

@MyraBaba
Copy link

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

@LessComplexity LessComplexity self-assigned this Mar 21, 2021
@LessComplexity LessComplexity linked a pull request Mar 21, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants