Azzera filtri
Azzera filtri

How to get rid of this error?

3 visualizzazioni (ultimi 30 giorni)
Aditya
Aditya il 5 Ago 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

Risposte (0)

Categorie

Scopri di più su Workspace Variables and MAT-Files in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by