[Cppcms-users] Compilation errors using gcc 4.5 and c++0x
Brought to you by:
artyom-beilis
|
From: Stanimir M. <sta...@zo...> - 2010-06-25 11:53:24
|
Hello Artyom,
Congratulations for the beta release of CppCms 1.x.x!
I am using the new features of gcc 4.4 and --std=c++0x
Here are some compile errors from it.
[ 1%] Building CXX object
booster/CMakeFiles/booster.dir/lib/aio/src/socket.cpp.o
In file included from /usr/include/c++/4.4/bits/stl_algobase.h:66,
from /usr/include/c++/4.4/bits/char_traits.h:41,
from /usr/include/c++/4.4/string:42,
from /usr/include/c++/4.4/stdexcept:39,
from
/home/stanimir/work/web_common/third_parties/cppcms/framework/branches/refactoring/booster/./booster/function.h:11,
from
/home/stanimir/work/web_common/third_parties/cppcms/framework/branches/refactoring/booster/./booster/aio/socket.h:12,
from
/home/stanimir/work/web_common/third_parties/cppcms/framework/branches/refactoring/booster/lib/aio/src/socket.cpp:28:
/usr/include/c++/4.4/bits/stl_pair.h: In constructor ‘std::pair<_T1,
_T2>::pair(_U1&&, _U2&&) [with _U1 = int, _U2 = int, _T1 = const
booster::aio::buffer_impl<char*>::entry*, _T2 = unsigned int]’:
/home/stanimir/work/web_common/third_parties/cppcms/framework/branches/refactoring/booster/./booster/aio/buffer.h:34:
instantiated from ‘std::pair<const
booster::aio::buffer_impl<Pointer>::entry*, unsigned int>
booster::aio::buffer_impl<Pointer>::get() const [with Pointer =
char*]’
/home/stanimir/work/web_common/third_parties/cppcms/framework/branches/refactoring/booster/./booster/aio/buffer.h:77:
instantiated from here
/usr/include/c++/4.4/bits/stl_pair.h:90: error: invalid conversion
from ‘int’ to ‘const booster::aio::buffer_impl<char*>::entry*’
/usr/include/c++/4.4/bits/stl_pair.h: In constructor ‘std::pair<_T1,
_T2>::pair(_U1&&, _U2&&) [with _U1 = int, _U2 = int, _T1 = const
booster::aio::buffer_impl<const char*>::entry*, _T2 = unsigned int]’:
/home/stanimir/work/web_common/third_parties/cppcms/framework/branches/refactoring/booster/./booster/aio/buffer.h:34:
instantiated from ‘std::pair<const
booster::aio::buffer_impl<Pointer>::entry*, unsigned int>
booster::aio::buffer_impl<Pointer>::get() const [with Pointer = const
char*]’
/home/stanimir/work/web_common/third_parties/cppcms/framework/branches/refactoring/booster/lib/aio/src/socket.cpp:377:
instantiated from here
/usr/include/c++/4.4/bits/stl_pair.h:90: error: invalid conversion
from ‘int’ to ‘const booster::aio::buffer_impl<const char*>::entry*’
/home/stanimir/work/web_common/third_parties/cppcms/framework/branches/refactoring/booster/./booster/system_error.h:
At global scope:
/home/stanimir/work/web_common/third_parties/cppcms/framework/branches/refactoring/booster/./booster/system_error.h:56:
warning: ‘booster::system::posix_category’ defined but not used
make[2]: *** [booster/CMakeFiles/booster.dir/lib/aio/src/socket.cpp.o] Error 1
make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2
make: *** [all] Error 2
Greetings,
Stanimir
|