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.

Which header file define Void,Ptr,and Bool data type

Other Parts Discussed in Thread: CCSTUDIO

Hi,

I want  to include "bcache.h" file to my project. The CCS displays  some error messages about undefine Void, Ptr ,and Bool datatype.

What is the file define these data type?

 

Thanks.

  • Could you please paste the error messag here?

    The only bcache.h file I am able to find seems to be under Linux, please comment.

    BTW, which device is this for?

  • The CCS show following error message .

    ====================================================================================
    "C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include/bcache.h", line 82: error: identifier "Void" is undefined
    "C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include/bcache.h", line 83: error: identifier "Void" is undefined
    "C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include/bcache.h", line 86: error: identifier "Void" is undefined
    "C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include/bcache.h", line 86: error: identifier "Ptr" is undefined
    "C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include/bcache.h", line 87: error: identifier "Ptr" is undefined
    "C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include/bcache.h", line 89: error: identifier "Void" is undefined
    "C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include/bcache.h", line 90: error: identifier "Void" is undefined
    "C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include/bcache.h", line 90: error: identifier "Ptr" is undefined
    "C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include/bcache.h", line 90: error: identifier "Bool" is undefined
    .......................
    =====================================================================================

    I am using dm6446 DSP-side now.

    I want to call following function.

    -------------------------------------------------------------------------------------
    extern Void BCACHE_inv(Ptr blockPtr, size_t byteCnt, Bool wait);
    extern Void BCACHE_wb(Ptr blockPtr, size_t byteCnt, Bool wait);
    -------------------------------------------------------------------------------------

  • Thanks. I am moving this to the Bios forum. In the future, please do keep device and OS info in the title.

  • I had solve the problem.

    The header file order causes the error message,  I just exchange the order with other header file to solve the problem.