[so2] [SO2] Intrebare HashTable

Stoica Cosmin cosmin.stoica9 at gmail.com
Fri Mar 22 00:20:45 EET 2013


Salut!


      Incerc sa invat sa folosesc api-ul pentru hashtable (
http://lxr.linux.no/#linux+v3.8.4/include/linux/hashtable.h) si  m-am lovit
de o problema. La parcurgerea hashului cu hash_for_each_safe imi apare
niste warninguri de genu :
/home/student/Ixia/hash/list.c:51: warning: assignment from incompatible
pointer type
/home/student/Ixia/hash/list.c:51: warning: initialization from
incompatible pointer type

Structura folosita de mine ca sa o pun in hash este ceva de genu
struct str_m{
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so2/attachments/20130322/7ef0ce50/attachment.html>


More information about the so2 mailing list