Skip to content

Instantly share code, notes, and snippets.

Created August 22, 2014 06:40
Show Gist options
  • Save anonymous/7f0d6c1774e60960919b to your computer and use it in GitHub Desktop.
Save anonymous/7f0d6c1774e60960919b to your computer and use it in GitHub Desktop.
/usr/bin/make all-recursive
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in src
Making all in core
g++-4.2 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -DNDEBUG -D_THREAD_SAFE -I/usr/local/Cellar/libtorrent/0.13.4/include -c -o curl_get.o curl_get.cc
In file included from ../../rak/priority_queue_default.h:41,
from ./../globals.h:41,
from curl_get.cc:44:
../../rak/allocators.h: In static member function ‘static T* rak::cacheline_allocator<T>::alloc_size(size_t)’:
../../rak/allocators.h:80: error: there are no arguments to ‘posix_memalign’ that depend on a template parameter, so a declaration of ‘posix_memalign’ must be available
../../rak/allocators.h:80: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../rak/allocators.h: In static member function ‘static T* rak::cacheline_allocator<T>::alloc_size(size_t) [with T = rak::priority_item*]’:
../../rak/allocators.h:76: instantiated from ‘T* rak::cacheline_allocator<T>::allocate(size_t, const void*) [with T = rak::priority_item*]’
/usr/include/c++/4.0.0/bits/stl_vector.h:117: instantiated from ‘_Tp* std::_Vector_base<_Tp, _Alloc>::_M_allocate(size_t) [with _Tp = rak::priority_item*, _Alloc = rak::cacheline_allocator<rak::priority_item*>]’
/usr/include/c++/4.0.0/bits/vector.tcc:275: instantiated from ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = rak::priority_item*, _Alloc = rak::cacheline_allocator<rak::priority_item*>]’
/usr/include/c++/4.0.0/bits/stl_vector.h:610: instantiated from ‘void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = rak::priority_item*, _Alloc = rak::cacheline_allocator<rak::priority_item*>]’
../../rak/priority_queue.h:77: instantiated from ‘void rak::priority_queue<Value, Compare, Equal, Alloc>::push(const typename std::vector<Value, Alloc>::value_type&) [with Value = rak::priority_item*, Compare = rak::priority_compare, Equal = std::equal_to<rak::priority_item*>, Alloc = rak::cacheline_allocator<rak::priority_item*>]’
../../rak/priority_queue_default.h:117: instantiated from here
../../rak/allocators.h:80: error: ‘posix_memalign’ was not declared in this scope
make[3]: *** [curl_get.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
HOMEBREW_VERSION: 0.9.5
HEAD: 31d5649a171f62a3f05aaaf89369a8f3d05d61c8
CPU: single-core 64-bit g5
OS X: 10.5.8-Power Macintosh
Xcode: 3.1.4
X11: 2.1.6 => /usr/X11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment