it seems there is a problem with double linked list: SGLIB_DL_LIST_ADD can not inert the element one by one in order I gave them, the first element is at the tail, if I use SGLIB_DL_LIST_ADD_AFTER the first element I added is right, but the rest are in wrong order.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: NO
I know, however, I think it does not hurt, if it is included. It makes
examples working on old and standard non conforming installations.
With best regards,
Marian
Logged In: YES
user_id=752864
Originator: YES
Um, actually, it does.
Modern systems no longer have malloc.h (it has been deprecated since 1999?). Therefore, compilation bombs with a header not found error.
it seems there is a problem with double linked list: SGLIB_DL_LIST_ADD can not inert the element one by one in order I gave them, the first element is at the tail, if I use SGLIB_DL_LIST_ADD_AFTER the first element I added is right, but the rest are in wrong order.