What the does this error mean its so frustrating.
basically i have a struct created in main
then i haveCode:struct Ethfrm_t { struct FCfrm_t* ptr; struct FIPfrm_t* FIPptr; unsigned char DestEthAdr[6]; unsigned char SrcEthAdr[6]; UINT32 VLAN_HdrSave; UINT32 reserved; UINT32 pad; unsigned char Ethbuffer[BUF_SIZE]; } __attribute__ ((packed));
typedef struct Ethfrm_t Ethfrm_t; On a header file on the top of most header files
but when i made a functions file *.c When i use that Struct i get that warning all the time
Code:void printEthfrm(Ethfrm_t * Ethfrm){ unsigned char* etherhead = Ethfrm->Ethbuffer; ////right here printf("EtherType error "); }