[opensource-dev] build errors in template classes in svn with alternative set to gcc 4.3
Thickbrick Sleaford
thickbrick.sleaford at gmail.com
Sat Apr 24 04:50:58 PDT 2010
On Saturday 24 April 2010 04:03:24 Glen Canaday wrote:
> Still getting svn build errors in Ubuntu 9.10 with my gcc alternative
> set to g++4.3.
>
> Output:
>
> [ 4%] Building CXX object llcommon/CMakeFiles/llcommon.dir/llcoros.o
> In file included from
> /home/glen/Programs/SL_BUILD/snowglobe/trunk/indra/../libraries/include/boo
> st/coroutine/coroutine.hpp:44, from
> /home/glen/Programs/SL_BUILD/snowglobe/trunk/indra/llcommon/llcoros.h:39,
> from
> /home/glen/Programs/SL_BUILD/snowglobe/trunk/indra/llcommon/llcoros.cpp:39:
> /home/glen/Programs/SL_BUILD/snowglobe/trunk/indra/../libraries/include/boo
> st/coroutine/detail/coroutine_impl.hpp:59: error: declaration of ‘typedef
> class
> boost::coroutines::detail::context_base<ContextImpl>
> boost::coroutines::detail::coroutine_impl<CoroutineType,
> ContextImpl>::context_base’
> /home/glen/Programs/SL_BUILD/snowglobe/trunk/indra/../libraries/include/boo
> st/coroutine/detail/context_base.hpp:55: error: changes meaning of
> ‘context_base’ from ‘class
> boost::coroutines::detail::context_base<ContextImpl>’
> make[2]: *** [llcommon/CMakeFiles/llcommon.dir/llcoros.o] Error 1
> make[1]: *** [llcommon/CMakeFiles/llcommon.dir/all] Error 2
> make: *** [all] Error 2
> glen at glen-desktop:~/Programs/SL_BUILD/snowglobe/trunk/indra/viewer-linux-i6
> 86-relwithdebinfo$
>
This looks like SNOW-505. There is a small patch for this in JIRA that was
posted to this list a few weeks ago by Lynx Linden. I think this is only a
problem in gcc >=4.3, but not sure. We can't commit this to svn, since this is
in the prepackaged boost library.
http://jira.secondlife.com/browse/SNOW-505
--
Thickbrick
More information about the opensource-dev
mailing list