[sugar] Librsvg build failure (was Re: gabble segfaults and how to reproduce them)

Bert Freudenberg bert
Thu Apr 12 13:11:14 EDT 2007


On Apr 12, 2007, at 18:49 , Marco Pesenti Gritti wrote:

> On Thu, 2007-04-12 at 17:05 +0100, Dafydd Harries wrote:
>> It seems that recent commits to cairo add the "warn if result is  
>> unused"
>> attribute to various functions returning cairo_status_t. It seems  
>> rsvg doesn't
>> check some of these, and since it's built with -Werror, the build  
>> fails. This
>> can be worked around as follows in source/librsvg:
>>
>> --- configure.in>.......(revision 1102)
>> +++ configure.in>.......(working copy)
>> @@ -196,7 +196,7 @@
>>  set_more_warnings="$enableval",[
>>  if test -f $srcdir/CVSVERSION; then
>>          is_cvs_version=true
>> -        set_more_warnings=yes
>> +        set_more_warnings=no
>>  else
>>          set_more_warnings=no
>>  fi
>>
>
> [ This went on the wrong thread it seem ]

The work-around worked around the problem for us :)

- Bert -





More information about the Sugar-devel mailing list