This is the code:Code:list.c:35: error: void value not ignored as it ought to be
As you can see I'm not passing anything into create(). Tried changing it to create(void)...no luck.Code:Table *create(void) { return NULL; } void init(Table **table) { clear(table) *table = create(); // line 35 }
I tried googling it, but most of the results don't pertain to what I'm attempting to do.
I'm using gcc compiler (there is a bug report on it @ http://gcc.gnu.org/ml/gcc-bugs/2003-08/msg01200.html... but the workaround doesn't do any good).