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.

RTOS/PROCESSOR-SDK-AM437X: Compilation error

Part Number: PROCESSOR-SDK-AM437X

Tool/software: TI-RTOS

Hi,
I´d like to code my application in C++. I´ve wrote a main.cpp file, which calls Board_init().

I´ve put Board_init() prototype within "extern "C" {}" as following:

extern "C" {
Board_STATUS Board_init(Board_initCfg cfg);
}

When I compile I get the following error:
"conflicting declaration of 'Board_STATUS Board_init(Board_initCfg)' with 'C' linkage"    

Does someone can help me?

Installed itens:
CCS 7.2
GCC ARM Compiler 4.9.3
processor_sdk_rtos_am437x  4.00.00.04
am437x PDK v1.0.7
bios 6.46.05.55
xdctools 3.32.02.25_core

Board: AM437x Starter Kit


regards,