I keep getting the "field has incomplete type error," but I can't find any forward declarations for that type in my code, or for any of the types in it's struct--aside from pointer fields. I tried recursive grep the folder, and still couldn't find any forward declarations.
How do I make GCC tell me where it thinks the forward declaration is? or why it's incomplete?
trying to compile this file:
https://github.com/pdJeeves/CreaturesLib/blob/master/src/biochemistry/emitter.c
gets the error on this include:
https://github.com/pdJeeves/CreaturesLib/blob/master/src/creature/creature.h
with the member
"struct Brain brain"