compilation error: request for member in something not a structure or union
问题 Edit: The code below has been modified to work as the problem has been solved. Specifically, (*hardwareList.next_item)->next was originally written without brackets (e.g. as *hardwareList.next_item->next ) and the compiler didn't understand it. I'm trying to workout why the compiler is getting confused with my C code. I'm trying to create a linked list that stores all the items and also a pointer to the address-of the last "next" variable, for easy appending. typedef struct { int recordNum;