Guest User

Untitled

a guest
May 21st, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.80 KB | None | 0 0
  1. $ make
  2. (echo 0.1 > VERSION)
  3. (cd c_src;make)
  4. compiling TestFsTest.cpp
  5. In file included from utils/fs.h:11,
  6. from ../test/tests/TestFsTest.cpp:2:
  7. /usr/include/c++/4.2.1/cstdlib:116: error: ‘::calloc’ has not been declared
  8. /usr/include/c++/4.2.1/cstdlib:119: error: ‘::free’ has not been declared
  9. /usr/include/c++/4.2.1/cstdlib:123: error: ‘::malloc’ has not been declared
  10. /usr/include/c++/4.2.1/cstdlib:131: error: ‘::realloc’ has not been declared
  11. In file included from /usr/include/c++/4.2.1/ext/new_allocator.h:37,
  12. from /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++allocator.h:39,
  13. from /usr/include/c++/4.2.1/bits/allocator.h:53,
  14. from /usr/include/c++/4.2.1/memory:54,
  15. from /usr/include/c++/4.2.1/string:48,
  16. from utils/fs.h:12,
  17. from ../test/tests/TestFsTest.cpp:2:
  18. /usr/include/c++/4.2.1/new:95: error: declaration of ‘operator new’ as non-function
  19. /usr/include/c++/4.2.1/new:96: error: declaration of ‘operator new’ as non-function
  20. /usr/include/c++/4.2.1/new:97: error: declaration of ‘void operator delete(void*) throw ()’ throws different exceptions
  21. ../build/cpputest/include/CppUTest/MemoryLeakWarningPlugin.h:60: error: from previous declaration ‘void operator delete(void*)’
  22. /usr/include/c++/4.2.1/new:98: error: declaration of ‘void operator delete [](void*) throw ()’ throws different exceptions
  23. ../build/cpputest/include/CppUTest/MemoryLeakWarningPlugin.h:61: error: from previous declaration ‘void operator delete [](void*)’
  24. /usr/include/c++/4.2.1/new:99: error: declaration of ‘operator new’ as non-function
  25. /usr/include/c++/4.2.1/new:100: error: declaration of ‘operator new’ as non-function
  26. /usr/include/c++/4.2.1/new:105: error: declaration of ‘operator new’ as non-function
  27. /usr/include/c++/4.2.1/new:106: error: declaration of ‘operator new’ as non-function
  28. In file included from /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++allocator.h:39,
  29. from /usr/include/c++/4.2.1/bits/allocator.h:53,
  30. from /usr/include/c++/4.2.1/memory:54,
  31. from /usr/include/c++/4.2.1/string:48,
  32. from utils/fs.h:12,
  33. from ../test/tests/TestFsTest.cpp:2:
  34. /usr/include/c++/4.2.1/ext/new_allocator.h: In member function ‘_Tp* __gnu_cxx::new_allocator<_Tp>::allocate(size_t, const void*)’:
  35. /usr/include/c++/4.2.1/ext/new_allocator.h:91: error: no matching function for call to ‘operator new(const char [43], int)’
  36. ../build/cpputest/include/CppUTest/MemoryLeakWarningPlugin.h:54: note: candidates are: void* operator new(size_t)
  37. ../build/cpputest/include/CppUTest/MemoryLeakWarningPlugin.h:56: note: void* operator new(size_t, const char*, int)
  38. /usr/include/c++/4.2.1/ext/new_allocator.h: In member function ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Tp*, const _Tp&)’:
  39. /usr/include/c++/4.2.1/ext/new_allocator.h:107: error: expected type-specifier before ‘__p’
  40. /usr/include/c++/4.2.1/ext/new_allocator.h:107: error: expected `)' before ‘__p’
  41. /usr/include/c++/4.2.1/ext/new_allocator.h:107: error: expected `;' before ‘__p’
  42. In file included from /usr/include/c++/4.2.1/memory:55,
  43. from /usr/include/c++/4.2.1/string:48,
  44. from utils/fs.h:12,
  45. from ../test/tests/TestFsTest.cpp:2:
  46. /usr/include/c++/4.2.1/bits/stl_construct.h: In function ‘void std::_Construct(_T1*, const _T2&)’:
  47. /usr/include/c++/4.2.1/bits/stl_construct.h:81: error: expected type-specifier before ‘static_cast’
  48. /usr/include/c++/4.2.1/bits/stl_construct.h:81: error: expected `)' before ‘static_cast’
  49. /usr/include/c++/4.2.1/bits/stl_construct.h:81: error: expected `;' before ‘static_cast’
  50. /usr/include/c++/4.2.1/bits/stl_construct.h: In function ‘void std::_Construct(_T1*)’:
  51. /usr/include/c++/4.2.1/bits/stl_construct.h:96: error: expected type-specifier before ‘static_cast’
  52. /usr/include/c++/4.2.1/bits/stl_construct.h:96: error: expected `)' before ‘static_cast’
  53. /usr/include/c++/4.2.1/bits/stl_construct.h:96: error: expected `;' before ‘static_cast’
  54. In file included from /usr/include/c++/4.2.1/string:48,
  55. from utils/fs.h:12,
  56. from ../test/tests/TestFsTest.cpp:2:
  57. /usr/include/c++/4.2.1/memory: In function ‘std::pair<_Tp*, long int> std::__get_temporary_buffer(ptrdiff_t, _Tp*)’:
  58. /usr/include/c++/4.2.1/memory:82: error: no matching function for call to ‘operator new(const char [30], int)’
  59. ../build/cpputest/include/CppUTest/MemoryLeakWarningPlugin.h:54: note: candidates are: void* operator new(size_t)
  60. ../build/cpputest/include/CppUTest/MemoryLeakWarningPlugin.h:56: note: void* operator new(size_t, const char*, int)
  61. In file included from /usr/include/c++/4.2.1/string:58,
  62. from utils/fs.h:12,
  63. from ../test/tests/TestFsTest.cpp:2:
  64. /usr/include/c++/4.2.1/bits/basic_string.tcc: In static member function ‘static typename std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const _Alloc&)’:
  65. /usr/include/c++/4.2.1/bits/basic_string.tcc:590: error: expected type-specifier before ‘__place’
  66. /usr/include/c++/4.2.1/bits/basic_string.tcc:590: error: expected `)' before ‘__place’
  67. /usr/include/c++/4.2.1/bits/basic_string.tcc:590: error: expected ‘,’ or ‘;’ before ‘__place’
  68. ../test/tests/TestFsTest.cpp: At global scope:
  69. ../test/tests/TestFsTest.cpp:10: error: two or more data types in declaration of ‘FS_TestMkdirP_Instance’
  70. ../test/tests/TestFsTest.cpp:10: error: ‘FS_TestMkdirP_Instance’ was not declared in this scope
  71. make[1]: *** [../test/tests/TestFsTest.o] Error 1
  72. make: *** [all] Error 2
Add Comment
Please, Sign In to add comment