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.

Compiler/DRA78XEVM: How to fixe compile warning when load ipc package.

Part Number: DRA78XEVM

Tool/software: TI C/C++ Compiler

Hello,

I import ipc package to my project,but there are some warnings as below.

cle66 package/cfg/c66_test_pe66.c ...
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 302: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 306: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 310: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 387: remark #2911-D: comparison between two different enum types ("enum ti_sdo_ipc_GateMP_RemoteProtect" and "enum GateMP_RemoteProtect")
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 411: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 415: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 419: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 531: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 536: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 541: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 546: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 547: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 662: remark #2142-D: comparison between signed and unsigned operands
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 693: remark #2142-D: comparison between signed and unsigned operands
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 728: remark #2142-D: comparison between signed and unsigned operands
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 1090: remark #2911-D: comparison between two different enum types ("enum ti_sdo_ipc_GateMP_RemoteProtect" and "enum GateMP_RemoteProtect")
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 1213: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 1248: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 1281: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 1419: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 1432: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 1445: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 1457: warning #190-D: enumerated type mixed with another type
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/GateMP.c", line 1572: remark #2142-D: comparison between signed and unsigned operands
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/Ipc.c", line 323: remark #2142-D: comparison between signed and unsigned operands
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/Ipc.c", line 502: remark #2142-D: comparison between signed and unsigned operands
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/notifyDrivers/NotifyDriverShm.c", line 239: remark #2142-D: comparison between signed and unsigned operands
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/notifyDrivers/NotifyDriverShm.c", line 327: remark #2142-D: comparison between signed and unsigned operands
"C:/ti/ipc_3_47_01_00/packages/ti/sdo/ipc/gates/GateHWSpinlock.c", line 77: remark #2142-D: comparison between signed and unsigned operands

Could you tell me how to fix these warnings?

Many thanks,

Raul