[sldev] Re: -Werror problem in trunk

Johnnie Carling johnniecarling at gmail.com
Thu Aug 21 02:54:15 PDT 2008


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? :)


More information about the SLDev mailing list