Filter löschen
Filter löschen

How to get rid of this error?

3 Ansichten (letzte 30 Tage)
Aditya
Aditya am 5 Aug. 2013
While compiling the following function prototype of my header file I am getting an error as "extraneous old-style parameter list".
extern FUNC(Std_ReturnType, RTE_PUBLIC_CODE) code_test(OUT P2VAR(PmpMngrCmd_T, AUTOMATIC, RTE_APPL_DATA)PmpMngrCmd);
where code_test is my function name and PmpMngrCmd in the function arguement while all other variables are very specific to a compiler, so for error free compilation in LCC I have defined them as empty macros like
#define FUNC(Std_ReturnType, RTE_PUBLIC_CODE)
#define P2VAR(PmpMngrCmd_T, AUTOMATIC, RTE_APPL_DATA)
#define OUT
Pls help

Antworten (0)

Kategorien

Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by