[sldev] Re: -Werror problem in trunk
Jason Giglio
gigstaggart at gmail.com
Thu Aug 21 02:58:35 PDT 2008
Johnnie Carling 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.
> 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.
>
You really don't want to do that in the long run. Are you getting the
string const correctness warning?
-Wno-write-strings
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3266 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20080821/d0b1ec6b/smime.bin
More information about the SLDev
mailing list