That's really annoying... Looking at the 2.26 version of glib, it
returns void instead...  I'll figure out something semi-efficient to
do.. <grumble/>.


On 06/21/2013 05:23 PM, Alan Robertson wrote:
> On 06/21/2013 11:16 AM, Jamie Nguyen wrote:
>> Hi Alan,
>>
>> Latest revision:
>>
>> changeset:   691:a4584d5ba190
>> tag:         tip
>> user:        Alan Robertson <[email protected]>
>> date:        Mon Jun 10 16:26:42 2013 -0600
>>
>> Builds fine on Fedora 18 and 19, but building for CentOS 6 I get this error:
>>
>> [ 75%] Building C object
>> clientlib/CMakeFiles/assimilationclientlib.dir/resourcequeue.c.o
>> cd
>> /builddir/build/BUILD/assimilation-20130610hga4584d5ba190/build/clientlib &&
>> /usr/lib64/ccache/gcc  -Dassimilationclientlib_EXPORTS -O2 -g -pipe
>> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
>> --param=ssp-buffer-size=4 -m64 -mtune=generic  -g -fPIC
>> -I/builddir/build/BUILD/assimilation-20130610hga4584d5ba190/include
>> -I/builddir/build/BUILD/assimilation-20130610hga4584d5ba190/build/include 
>> -I/usr/include/glib-2.0
>> -I/usr/lib64/glib-2.0/include    -g -O2 -Werror -Wall -Wformat=2
>> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
>> -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings
>> -Wcast-align -Winline -Wmissing-format-attribute -Wno-strict-aliasing
>> -funsigned-char -Wextra -Wstack-protector -Wformat-security
>> -D_FORTIFY_SOURCE=2 -o
>> CMakeFiles/assimilationclientlib.dir/resourcequeue.c.o   -c
>> /builddir/build/BUILD/assimilation-20130610hga4584d5ba190/clientlib/resourcequeue.c
>> /builddir/build/BUILD/assimilation-20130610hga4584d5ba190/clientlib/resourcequeue.c:
>> In function '_resource_queue_cmd_remove':
>> /builddir/build/BUILD/assimilation-20130610hga4584d5ba190/clientlib/resourcequeue.c:245:
>> error: void value not ignored as it ought to be
> Hmmm...
> gboolean 
> <https://developer.gnome.org/glib/2.30/glib-Basic-Types.html#gboolean>        
>     g_queue_remove 
> <https://developer.gnome.org/glib/2.30/glib-Double-ended-Queues.html#g-queue-remove>
>                       (/|GQueue 
> <https://developer.gnome.org/glib/2.30/glib-Double-ended-Queues.html#GQueue> 
> *queue|/,
>                                                          /|gconstpointer 
> <https://developer.gnome.org/glib/2.30/glib-Basic-Types.html#gconstpointer> 
> data|/);
>
> Removes the first element in /|queue|/ that contains /|data|/.
>
> /|queue|/ :
>
>       a GQueue
> <https://developer.gnome.org/glib/2.30/glib-Double-ended-Queues.html#GQueue>
>
>
> /|data|/ :
>
>       data to remove.
>
> /Returns/ :
>
>       |TRUE|
> <https://developer.gnome.org/glib/2.30/glib-Standard-Macros.html#TRUE:CAPS>
> if /|data|/ was found and removed from /|queue|/
>
> Doesn't look void to me...
>
> Not quite sure what to say about that...
>
>
>
> -- 
>     Alan Robertson <[email protected]> - @OSSAlanR
>
> "Openness is the foundation and preservative of friendship...  Let me claim 
> from you at all times your undisguised opinions." - William Wilberforce
>
>
> _______________________________________________
> Assimilation mailing list - Discovery-Driven Monitoring
> [email protected]
> http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
> http://assimmon.org/


-- 
    Alan Robertson <[email protected]> - @OSSAlanR

"Openness is the foundation and preservative of friendship...  Let me claim 
from you at all times your undisguised opinions." - William Wilberforce

_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/

Reply via email to