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/CC2652R: fatal error #10192: Failed linktime optimization

Part Number: CC2652R

Tool/software: TI C/C++ Compiler

Hi,

In my project i am getting the below ERROR during the linking

"fatal error #10192: Failed linktime optimization"

error: symbol "MAC_scheduleTxRx" redeclared with incompatible type:
"void(macSyncdTxRxEvent_t *)"
in
".......MAC/HighLevel/data_txrx_.h" at line 163 and:
"void(macSyncdTxRxEvent_t *)"
in "../154MAC/HighLevel/data_txrx_.c" at line 608)

- I am using the optimization level 4.
- When I changed the optimization level to 3 the compilation and linking happens properly without this error.

- I have only one file where this function is declared.

- I am using the Code Composer Studio Version: 9.0.1.00004
- Please help me to resolve this issue

Thanks

Anand