필터 지우기
필터 지우기

How to get rid of this error?

조회 수: 3 (최근 30일)
Aditya
Aditya 2013년 8월 5일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by