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.

error: "Int8" has already been declared in the current scope

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

(don't know where the above "Normal 0 false false false" came from!!!!!!!!!!!!!)

 

CCSv4

csl_c6472_03_00_06_03

BIOS 6.21.03.21

XDAIS 6.25.01.08

 

The problem I’m having is that when we use csl_types.h and xdc\std.h, I get the error:

error: "Int8" has already been declared in the current scope

The conflict arises because csl_types.h includes tistdtypes.h. Both xdc\std.h and tistdtypes.h have an Int8 typedef.  Hence the error.

I would like to use csl_types.h because I have functions that return type CSL_Status.

So I’m stuck. Either I change the EDMA functions to not use CSL_Status or purge the code of all std.h references (and thats a scary thought since who knows how many problems that will create).

Any thoughts on how to fix this issue?