Created
April 1, 2010 08:50
-
-
Save auser/351569 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make | |
(echo 0.1 > VERSION) | |
(cd c_src;make) | |
compiling TestFsTest.cpp | |
In file included from utils/fs.h:11, | |
from ../test/tests/TestFsTest.cpp:2: | |
/usr/include/c++/4.2.1/cstdlib:116: error: ‘::calloc’ has not been declared | |
/usr/include/c++/4.2.1/cstdlib:119: error: ‘::free’ has not been declared | |
/usr/include/c++/4.2.1/cstdlib:123: error: ‘::malloc’ has not been declared | |
/usr/include/c++/4.2.1/cstdlib:131: error: ‘::realloc’ has not been declared | |
In file included from /usr/include/c++/4.2.1/ext/new_allocator.h:37, | |
from /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++allocator.h:39, | |
from /usr/include/c++/4.2.1/bits/allocator.h:53, | |
from /usr/include/c++/4.2.1/memory:54, | |
from /usr/include/c++/4.2.1/string:48, | |
from utils/fs.h:12, | |
from ../test/tests/TestFsTest.cpp:2: | |
/usr/include/c++/4.2.1/new:95: error: declaration of ‘operator new’ as non-function | |
/usr/include/c++/4.2.1/new:96: error: declaration of ‘operator new’ as non-function | |
/usr/include/c++/4.2.1/new:97: error: declaration of ‘void operator delete(void*) throw ()’ throws different exceptions | |
../build/cpputest/include/CppUTest/MemoryLeakWarningPlugin.h:60: error: from previous declaration ‘void operator delete(void*)’ | |
/usr/include/c++/4.2.1/new:98: error: declaration of ‘void operator delete [](void*) throw ()’ throws different exceptions | |
../build/cpputest/include/CppUTest/MemoryLeakWarningPlugin.h:61: error: from previous declaration ‘void operator delete [](void*)’ | |
/usr/include/c++/4.2.1/new:99: error: declaration of ‘operator new’ as non-function | |
/usr/include/c++/4.2.1/new:100: error: declaration of ‘operator new’ as non-function | |
/usr/include/c++/4.2.1/new:105: error: declaration of ‘operator new’ as non-function | |
/usr/include/c++/4.2.1/new:106: error: declaration of ‘operator new’ as non-function | |
In file included from /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++allocator.h:39, | |
from /usr/include/c++/4.2.1/bits/allocator.h:53, | |
from /usr/include/c++/4.2.1/memory:54, | |
from /usr/include/c++/4.2.1/string:48, | |
from utils/fs.h:12, | |
from ../test/tests/TestFsTest.cpp:2: | |
/usr/include/c++/4.2.1/ext/new_allocator.h: In member function ‘_Tp* __gnu_cxx::new_allocator<_Tp>::allocate(size_t, const void*)’: | |
/usr/include/c++/4.2.1/ext/new_allocator.h:91: error: no matching function for call to ‘operator new(const char [43], int)’ | |
../build/cpputest/include/CppUTest/MemoryLeakWarningPlugin.h:54: note: candidates are: void* operator new(size_t) | |
../build/cpputest/include/CppUTest/MemoryLeakWarningPlugin.h:56: note: void* operator new(size_t, const char*, int) | |
/usr/include/c++/4.2.1/ext/new_allocator.h: In member function ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Tp*, const _Tp&)’: | |
/usr/include/c++/4.2.1/ext/new_allocator.h:107: error: expected type-specifier before ‘__p’ | |
/usr/include/c++/4.2.1/ext/new_allocator.h:107: error: expected `)' before ‘__p’ | |
/usr/include/c++/4.2.1/ext/new_allocator.h:107: error: expected `;' before ‘__p’ | |
In file included from /usr/include/c++/4.2.1/memory:55, | |
from /usr/include/c++/4.2.1/string:48, | |
from utils/fs.h:12, | |
from ../test/tests/TestFsTest.cpp:2: | |
/usr/include/c++/4.2.1/bits/stl_construct.h: In function ‘void std::_Construct(_T1*, const _T2&)’: | |
/usr/include/c++/4.2.1/bits/stl_construct.h:81: error: expected type-specifier before ‘static_cast’ | |
/usr/include/c++/4.2.1/bits/stl_construct.h:81: error: expected `)' before ‘static_cast’ | |
/usr/include/c++/4.2.1/bits/stl_construct.h:81: error: expected `;' before ‘static_cast’ | |
/usr/include/c++/4.2.1/bits/stl_construct.h: In function ‘void std::_Construct(_T1*)’: | |
/usr/include/c++/4.2.1/bits/stl_construct.h:96: error: expected type-specifier before ‘static_cast’ | |
/usr/include/c++/4.2.1/bits/stl_construct.h:96: error: expected `)' before ‘static_cast’ | |
/usr/include/c++/4.2.1/bits/stl_construct.h:96: error: expected `;' before ‘static_cast’ | |
In file included from /usr/include/c++/4.2.1/string:48, | |
from utils/fs.h:12, | |
from ../test/tests/TestFsTest.cpp:2: | |
/usr/include/c++/4.2.1/memory: In function ‘std::pair<_Tp*, long int> std::__get_temporary_buffer(ptrdiff_t, _Tp*)’: | |
/usr/include/c++/4.2.1/memory:82: error: no matching function for call to ‘operator new(const char [30], int)’ | |
../build/cpputest/include/CppUTest/MemoryLeakWarningPlugin.h:54: note: candidates are: void* operator new(size_t) | |
../build/cpputest/include/CppUTest/MemoryLeakWarningPlugin.h:56: note: void* operator new(size_t, const char*, int) | |
In file included from /usr/include/c++/4.2.1/string:58, | |
from utils/fs.h:12, | |
from ../test/tests/TestFsTest.cpp:2: | |
/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&)’: | |
/usr/include/c++/4.2.1/bits/basic_string.tcc:590: error: expected type-specifier before ‘__place’ | |
/usr/include/c++/4.2.1/bits/basic_string.tcc:590: error: expected `)' before ‘__place’ | |
/usr/include/c++/4.2.1/bits/basic_string.tcc:590: error: expected ‘,’ or ‘;’ before ‘__place’ | |
../test/tests/TestFsTest.cpp: At global scope: | |
../test/tests/TestFsTest.cpp:10: error: two or more data types in declaration of ‘FS_TestMkdirP_Instance’ | |
../test/tests/TestFsTest.cpp:10: error: ‘FS_TestMkdirP_Instance’ was not declared in this scope | |
make[1]: *** [../test/tests/TestFsTest.o] Error 1 | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment