[opensource-dev] build errors in template classes in svn with alternative set to gcc 4.3

Glen Canaday gcanaday at gmail.com
Sat Apr 24 09:28:15 PDT 2010


Thanks, Thickbrick. Patch applied and compilation gets past that now. 
Lynx's patch should get applied to svn.

--GC

On 04/24/2010 07:50 AM, Thickbrick Sleaford wrote:
> 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
>
>    



More information about the opensource-dev mailing list