[sldev] Re: -Werror problem in trunk

Gareth Nelson gareth at litesim.com
Thu Aug 21 03:11:04 PDT 2008


Looks like you've got 2 seperate issues here:
1 - the gcc version (which you know the fix for)
2 - "something" generating a warning and thus triggering -Werror to
kill the build

Find out what that "something" is

On Thu, Aug 21, 2008 at 10:54 AM, Johnnie Carling
<johnniecarling at gmail.com> wrote:
> On 8/21/08, Johnnie Carling <johnniecarling at gmail.com> wrote:
>
>> indra/cmake/00-Common.cmake on line 108
>>
>>   if (${CXX_VERSION} MATCHES "4.3")
>>     add_definitions(-Wno-deprecated -Wno-parentheses)
>>   endif (${CXX_VERSION} MATCHES "4.3")
>>
>> is failing because Debin sid currently has gcc version 4.3.1 and it doesn't
>> match "4.3"
>>
>> I changed it to 4.3.1 and it worked, but I don't have a clue how to make it
>> match 4.3 and any later version as it should probably be.
>
>
> oops a quick correction
>
> Changing to 4.3.1 did not help...
>
> I commented out
>
>  if (NOT GCC_DISABLE_FATAL_WARNINGS)
>    set(GCC_WARNINGS "${GCC_WARNINGS} -Werror")
>  endif (NOT GCC_DISABLE_FATAL_WARNINGS)
>
> on line 177 of indra/cmake/00-Common.cmake to get it to work.
>
> I mentioned I don't know what I'm doing didn't I? :)
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/SLDev
> Please read the policies before posting to keep unmoderated posting privileges
>


More information about the SLDev mailing list