/** Advance Declaration **/ struct enreg; typedef enreg Ts_Enreg; /** Prototypes **/ extern unsigned char MyFunc_1( Ts_Enreg * objects ); extern unsigned char MyFunc_2( Ts_Enreg objects[]);
MyFunc_1 and MyFunc_2 prototypes are equivalent, but C251 raises an error C52: Use of undefined type 'enreg'.
Why ?
C251 version : v5.58.17.0
PS : There is a complete description of the structure 'enreg' in the program source.
Arnaud
View all questions in Keil forum