« Return to Thread: Re: [Opensync-commits] r3307 - in /trunk: ChangeLog opensync/helper/opensync_hashtable.c

Re: [Opensync-commits] r3307 - in /trunk: ChangeLog opensync/helper/opensync_hashtable.c

by Daniel Gollub :: Rate this Message:

Reply to Author | View in Thread

On Saturday 03 May 2008 14:30:04 armin.bauer@... wrote:

> Author: gcobb
> Date: Sat May  3 14:30:03 2008
> New Revision: 3307
>
> URL: http://www.opensync.org/browser/?sc=3D1&rev=3D3307
> Log:
> Avoid use of g_hash_table_get_keys
>
> Modified:
>     trunk/ChangeLog
>     trunk/opensync/helper/opensync_hashtable.c


http://opensync.org/testing/viewBuildError.php?type=0&buildid=270


This seems to break with suncc. To be honest, didn't know that this works at
all -> never seen this before ;)

I'm new to C anyway...

Maybe we could solve this with running the callback outside the function and
use user_data pointer with a list to collect the deleted entries. Or the
OSyncHashTable obejct and add another OSyncList ...

Irene, Halton, can you comment on this? Does this kind of function declaration
works at all with suncc?

best regards,
Daniel

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

 « Return to Thread: Re: [Opensync-commits] r3307 - in /trunk: ChangeLog opensync/helper/opensync_hashtable.c

LightInTheBox - Buy quality products at wholesale price