This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

struct type error CCS v6

Hi.

I had encountered about struct type error.

when i had tried to debug, error had been occurred. "

Description Resource Path Location Type
#71 incomplete type is not allowed 

So. i tried to change "struct mmem mmem_ptr;" to "mmem *mmem_ptr; ".

That was worked. There was error another position.

 \

error was..

SCAN_ENTRY is..

How can i use SCAN_ENTRY and that structure.

And what is the problem ? what i need to do to fix this that would be most helpful!

Thanks.

  • First, change your header file so that "struct mmem" is defined before "struct _mem_ptr_t".
    Second, the macro SCAN_ENTRY is doing a scary cast-to-pointer. It's unclear whether this is a legal cast or not.
    In order to figure out the right thing to do, we're going to need to see the definition of macro MMEM_PTR