[Cppcms-users] Clang compilation error
Brought to you by:
artyom-beilis
|
From: Abhishek K. <abh...@gm...> - 2014-08-06 13:17:45
|
Hi Artyom,
On Mac OSX 10.9.4, I am facing the following error
while building cppcms-1.0.4, any recommendations
on fixing this?
cc -v says: Apple LLVM version 5.1
(clang-503.0.40) (based on LLVM 3.4svn) Target:
x86_64-apple-darwin13.3.0 Thread model: posix
Errors follow:
[ 18%] Building CXX object
CMakeFiles/cppcms.dir/src/http_response.cpp.o In
file included from
/Users/Abhishek/Downloads/cppcms-1.0.4/src/http_response.cpp:31:
In file included from
/Users/Abhishek/Downloads/cppcms-
1.0.4/cppcms_boost/cppcms_boost/iostreams/stream.hpp:21:
In file included from
/Users/Abhishek/Downloads/cppcms-
1.0.4/cppcms_boost/cppcms_boost/iostreams/stream_buffer.hpp:21:
In file included from
/Users/Abhishek/Downloads/cppcms-
1.0.4/cppcms_boost/cppcms_boost/iostreams/detail/streambuf/direct_streambuf.hpp
:24:
In file included from
/Users/Abhishek/Downloads/cppcms-
1.0.4/cppcms_boost/cppcms_boost/iostreams/detail/functional.hpp:24:
In file included from
/Users/Abhishek/Downloads/cppcms-
1.0.4/cppcms_boost/cppcms_boost/iostreams/close.hpp:19:
In file included from
/Users/Abhishek/Downloads/cppcms-
1.0.4/cppcms_boost/cppcms_boost/iostreams/detail/adapter/non_blocking_adapter.h
pp:15:
/Users/Abhishek/Downloads/cppcms-
1.0.4/cppcms_boost/cppcms_boost/iostreams/write.hpp:82:58:
warning: unused parameter 'c'
[-Wunused-parameter] static bool put(T& t,
typename char_type_of<T>::type c)
^ 1
warning generated. [ 18%] Building CXX object
CMakeFiles/cppcms.dir/src/http_context.cpp.o [
19%] Building CXX object
CMakeFiles/cppcms.dir/src/cppcms_error.cpp.o [
19%] Building CXX object
CMakeFiles/cppcms.dir/src/cppcms_error_category.cpp.o
[ 19%] Building CXX object
CMakeFiles/cppcms.dir/src/thread_pool.cpp.o [ 20%]
Building CXX object
CMakeFiles/cppcms.dir/src/applications_pool.cpp.o
[ 20%] Building CXX object
CMakeFiles/cppcms.dir/src/application.cpp.o [ 20%]
Building CXX object
CMakeFiles/cppcms.dir/src/url_dispatcher.cpp.o [
21%] Building CXX object
CMakeFiles/cppcms.dir/src/url_mapper.cpp.o [ 21%]
Building CXX object
CMakeFiles/cppcms.dir/src/http_cookie.cpp.o In
file included from
/Users/Abhishek/Downloads/cppcms-1.0.4/src/http_cookie.cpp:9:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms/http_cookie.h:145:11:
warning: private field 'reserved_' is not
used [-Wunused-private-field] uint32_t
reserved_ : 29; ^ 1 warning
generated. [ 21%] Building CXX object
CMakeFiles/cppcms.dir/src/http_file.cpp.o [ 21%]
Building CXX object
CMakeFiles/cppcms.dir/src/http_content_type.cpp.o
[ 22%] Building CXX object
CMakeFiles/cppcms.dir/src/util.cpp.o
/Users/Abhishek/Downloads/cppcms-1.0.4/src/util.cpp:43:21:
error: invalid operands to binary expression
('std::ostream' (aka 'basic_ostream<char>')
and 'const char *') case
'<': output << "<"; break;
~~~~~~ ^ ~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/memory:5263:1: note: candidate
template ignored: could not match
'shared_ptr<type-parameter-0-2>' against 'char
const[5]' operator<<(basic_ostream<_CharT,
_Traits>& __os, shared_ptr<_Yp> const& __p); ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/string:4088:1: note: candidate
template ignored: could not match
'basic_string<type-parameter-0-0,
type-parameter-0-1, type-parameter-0-2>'
against 'char const[5]'
operator<<(basic_ostream<_CharT, _Traits>& __os, ^
/Users/Abhishek/Downloads/cppcms-1.0.4/src/util.cpp:44:21:
error: invalid operands to binary expression
('std::ostream' (aka 'basic_ostream<char>')
and 'const char *') case
'>': output << ">"; break;
~~~~~~ ^ ~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/memory:5263:1: note: candidate
template ignored: could not match
'shared_ptr<type-parameter-0-2>' against 'char
const[5]' operator<<(basic_ostream<_CharT,
_Traits>& __os, shared_ptr<_Yp> const& __p); ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/string:4088:1: note: candidate
template ignored: could not match
'basic_string<type-parameter-0-0,
type-parameter-0-1, type-parameter-0-2>'
against 'char const[5]'
operator<<(basic_ostream<_CharT, _Traits>& __os, ^
/Users/Abhishek/Downloads/cppcms-1.0.4/src/util.cpp:45:21:
error: invalid operands to binary expression
('std::ostream' (aka 'basic_ostream<char>')
and 'const char *') case
'&': output << "&"; break;
~~~~~~ ^ ~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/memory:5263:1: note: candidate
template ignored: could not match
'shared_ptr<type-parameter-0-2>' against 'char
const[6]' operator<<(basic_ostream<_CharT,
_Traits>& __os, shared_ptr<_Yp> const& __p); ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/string:4088:1: note: candidate
template ignored: could not match
'basic_string<type-parameter-0-0,
type-parameter-0-1, type-parameter-0-2>'
against 'char const[6]'
operator<<(basic_ostream<_CharT, _Traits>& __os, ^
/Users/Abhishek/Downloads/cppcms-1.0.4/src/util.cpp:46:21:
error: invalid operands to binary expression
('std::ostream' (aka 'basic_ostream<char>')
and 'const char *') case
'\"': output<<"""; break;
~~~~~~^ ~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/memory:5263:1: note: candidate
template ignored: could not match
'shared_ptr<type-parameter-0-2>' against 'char
const[7]' operator<<(basic_ostream<_CharT,
_Traits>& __os, shared_ptr<_Yp> const& __p); ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/string:4088:1: note: candidate
template ignored: could not match
'basic_string<type-parameter-0-0,
type-parameter-0-1, type-parameter-0-2>'
against 'char const[7]'
operator<<(basic_ostream<_CharT, _Traits>& __os, ^
/Users/Abhishek/Downloads/cppcms-1.0.4/src/util.cpp:47:20:
error: invalid operands to binary expression
('std::ostream' (aka 'basic_ostream<char>')
and 'int') default: output
<< c; ~~~~~~ ^ ~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/memory:5263:1: note: candidate
template ignored: could not match
'shared_ptr<type-parameter-0-2>' against 'char'
operator<<(basic_ostream<_CharT, _Traits>& __os,
shared_ptr<_Yp> const& __p); ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/string:4088:1: note: candidate
template ignored: could not match
'basic_string<type-parameter-0-0,
type-parameter-0-1, type-parameter-0-2>'
against 'char' operator<<(basic_ostream<_CharT,
_Traits>& __os, ^
In file included from
/Users/Abhishek/Downloads/cppcms-1.0.4/src/util.cpp:9:
In file included from
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms/util.h:12:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/string:439: In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/algorithm:627: In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/memory:600:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/iterator:794:28: error: invalid
operands to binary expression ('ostream_type' (aka
'basic_ostream<char,
std::__1::char_traits<char> >') and 'int')
*__out_stream_ << __value_;
~~~~~~~~~~~~~~ ^ ~~~~~~~~
/Users/Abhishek/Downloads/cppcms-1.0.4/src/util.cpp:61:11:
note: in instantiation of member function
'std::__1::ostream_iterator<char, char,
std::__1::char_traits<char> >::operator='
requested here *out++ = c;
^
/Users/Abhishek/Downloads/cppcms-1.0.4/src/util.cpp:88:2:
note: in instantiation of function template
specialization
'cppcms::util::urlencode_impl<std::__1::ostream_iterator<char,
char, std::__1::char_traits<char> > >'
requested here urlencode_impl(b,e,it);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/memory:5263:1: note: candidate
template ignored: could not match
'shared_ptr<type-parameter-0-2>' against 'const
char' operator<<(basic_ostream<_CharT, _Traits>&
__os, shared_ptr<_Yp> const& __p); ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/string:4088:1: note: candidate
template ignored: could not match
'basic_string<type-parameter-0-0,
type-parameter-0-1, type-parameter-0-2>'
against 'const char'
operator<<(basic_ostream<_CharT, _Traits>& __os, ^
In file included from
/Users/Abhishek/Downloads/cppcms-1.0.4/src/util.cpp:9:
In file included from
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms/util.h:12:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/string:439: In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/algorithm:627: In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/memory:600:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/iterator:796:32: error: invalid
operands to binary expression ('ostream_type' (aka
'basic_ostream<char,
std::__1::char_traits<char> >') and 'const
char_type *' (aka 'const char *'))
*__out_stream_ << __delim_;
~~~~~~~~~~~~~~ ^ ~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/memory:5263:1: note: candidate
template ignored: could not match
'shared_ptr<type-parameter-0-2>' against 'const
char *' operator<<(basic_ostream<_CharT, _Traits>&
__os, shared_ptr<_Yp> const& __p); ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/../lib/c
++/v1/string:4088:1: note: candidate
template ignored: could not match
'basic_string<type-parameter-0-0,
type-parameter-0-1, type-parameter-0-2>'
against 'const char *'
operator<<(basic_ostream<_CharT, _Traits>& __os, ^
7 errors generated. make[2]: ***
[CMakeFiles/cppcms.dir/src/util.cpp.o] Error 1
make[1]: *** [CMakeFiles/cppcms.dir/all] Error 2
make: *** [all] Error 2
After including <iostream> at the problematic files, the compile proceeds ahead
, but gives this error, which I am not able to solve further, might give up now
.
[ 17%] Built target booster
[ 18%] Building CXX object CMakeFiles/cppcms.dir/src/cache_storage.cpp.o
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/mem_algo/rbtree_best_fit.hpp:24:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/m
em_algo/detail/mem_algo_common.hpp:456:34: error: implicit instantiation of und
efined template 'std::pair<void *, bool>'
std::pair<void *, bool> ret = memory_algo->priv_allocate
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/mem_algo/rbtree_best_fit.hpp:28:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/sync/interprocess_mutex.hpp:38:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/posix_time_types_wrk.hpp:25:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/date_time/posix_time/posix_time_types.hpp:10:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/date_time/time_clock.hpp:17:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/shared_ptr.hpp:17:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/smart_ptr/shared_ptr.hpp:32:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/smart_ptr/deta
il/shared_count.hpp:289:16: error: implicit instantiation of undefined template
'std::less<cppcms_boost::detail::sp_counted_base *>'
return std::less<sp_counted_base *>()( a.pi_, b.pi_ );
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/c
ontainers/container/container_fwd.hpp:41:8: note: template is declared here
struct less;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/mem_algo/rbtree_best_fit.hpp:28:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/sync/interprocess_mutex.hpp:38:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/posix_time_types_wrk.hpp:25:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/date_time/posix_time/posix_time_types.hpp:10:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/date_time/time_clock.hpp:17:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/shared_ptr.hpp:17:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/smart_ptr/shared_ptr.hpp:32:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/smart_ptr/deta
il/shared_count.hpp:410:16: error: implicit instantiation of undefined template
'std::less<cppcms_boost::detail::sp_counted_base *>'
return std::less<sp_counted_base *>()(a.pi_, b.pi_);
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/c
ontainers/container/container_fwd.hpp:41:8: note: template is declared here
struct less;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/m
em_algo/rbtree_best_fit.hpp:645:27: error: implicit instantiation of undefined
template 'std::pair<void *, bool>'
std::pair<void*, bool> ret = priv_allocation_command
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/m
em_algo/rbtree_best_fit.hpp:654:4: error: implicit instantiation of undefined t
emplate 'std::pair<void *, bool>'
raw_allocation_command (cppcms_boost::interprocess::allocation_type command
, std::size_t limit_objects,
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/m
em_algo/rbtree_best_fit.hpp:659:14: error: implicit instantiation of undefined
template 'std::pair<void *, bool>'
return std::pair<void *, bool>(static_cast<void*>(0), 0);
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/m
em_algo/rbtree_best_fit.hpp:665:14: error: implicit instantiation of undefined
template 'std::pair<void *, bool>'
return std::pair<void *, bool> ((success ? reuse_ptr : 0), true);
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/m
em_algo/rbtree_best_fit.hpp:674:4: error: implicit instantiation of undefined t
emplate 'std::pair<void *, bool>'
priv_allocation_command (cppcms_boost::interprocess::allocation_type command
, std::size_t limit_size,
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/m
em_algo/rbtree_best_fit.hpp:678:27: error: implicit instantiation of undefined
template 'std::pair<void *, bool>'
std::pair<void*, bool> ret;
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/m
em_algo/rbtree_best_fit.hpp:878:4: error: implicit instantiation of undefined t
emplate 'std::pair<void *, bool>'
priv_allocate(cppcms_boost::interprocess::allocation_type command
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/m
em_algo/rbtree_best_fit.hpp:891:14: error: implicit instantiation of undefined
template 'std::pair<void *, bool>'
return std::pair<void *, bool> ((success ? reuse_ptr : 0), true);
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/m
em_algo/rbtree_best_fit.hpp:898:14: error: implicit instantiation of undefined
template 'std::pair<void *, bool>'
return return_type(static_cast<void*>(0), false);
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/m
em_algo/rbtree_best_fit.hpp:911:17: error: implicit instantiation of undefined
template 'std::pair<void *, bool>'
return return_type(ret, true);
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/m
em_algo/rbtree_best_fit.hpp:919:17: error: implicit instantiation of undefined
template 'std::pair<void *, bool>'
return return_type(this->priv_check_and_allocate
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/m
em_algo/rbtree_best_fit.hpp:925:17: error: implicit instantiation of undefined
template 'std::pair<void *, bool>'
return return_type(this->priv_check_and_allocate
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/m
em_algo/rbtree_best_fit.hpp:933:14: error: implicit instantiation of undefined
template 'std::pair<void *, bool>'
return return_type(priv_expand_both_sides
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:22:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/m
em_algo/rbtree_best_fit.hpp:937:11: error: implicit instantiation of undefined
template 'std::pair<void *, bool>'
return return_type(static_cast<void*>(0), false);
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:30:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/s
egment_manager.hpp:202:7: error: implicit instantiation of undefined template '
std::pair<void *, bool>'
raw_allocation_command (cppcms_boost::interprocess::allocation_type comm
and, std::size_t limit_objects,
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/src/cache_storage.
cpp:24:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/shmem_allo
cator.h:12:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/private/boost_inte
rprocess.h:15:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/managed_external_buffer.hpp:21:
In file included from /Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcm
s_boost/interprocess/detail/managed_memory_impl.hpp:30:
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/s
egment_manager.hpp:206:31: error: implicit instantiation of undefined template
'std::pair<void *, bool>'
std::pair<void *, bool> ret = MemoryAlgorithm::raw_allocation_command
^
/Users/Abhishek/Downloads/cppcms-1.0.4/cppcms_boost/cppcms_boost/interprocess/i
nterprocess_fwd.hpp:47:8: note: template is declared here
struct pair;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [CMakeFiles/cppcms.dir/src/cache_storage.cpp.o] Error 1
make[1]: *** [CMakeFiles/cppcms.dir/all] Error 2
make: *** [all] Error 2
|